lintel 0.2.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
lintel::BootstrapSequence Class Reference

#include <BootstrapSequence.h>

Public Types

enum  Value {
  Undefined = 0 , SingleInstance = 1 , Database = 2 , MessageQueue = 3 ,
  VirtualGroups = 4 , SharedMemory = 5 , AdminUser = 6
}
 

Public Member Functions

 BootstrapSequence ()=default
 
constexpr BootstrapSequence (Value value)
 
constexpr BootstrapSequence (std::string_view enumName)
 
constexpr operator Value () const
 
 operator bool ()=delete
 
std::string toString () const
 

Static Public Member Functions

static std::set< Value > values ()
 

Friends

std::ostream & operator<< (std::ostream &os, const BootstrapSequence &bootstrap)
 

Detailed Description

Defines the bootstrap sequence priority for property repository types.

Member Enumeration Documentation

◆ Value

Enumerator
Undefined 
SingleInstance 
Database 
MessageQueue 
VirtualGroups 
SharedMemory 
AdminUser 

Constructor & Destructor Documentation

◆ BootstrapSequence() [1/3]

lintel::BootstrapSequence::BootstrapSequence ( )
default

Default constructor, initializes to Undefined.

◆ BootstrapSequence() [2/3]

constexpr lintel::BootstrapSequence::BootstrapSequence ( Value  value)
inlineconstexpr

Constructs from a Value enum.

Parameters
valuethe bootstrap priority value

◆ BootstrapSequence() [3/3]

constexpr lintel::BootstrapSequence::BootstrapSequence ( std::string_view  enumName)
inlineexplicitconstexpr

Constructs from a string representation of a Value.

Parameters
enumNamestring matching a Value name, defaults to Undefined if not found

Member Function Documentation

◆ operator bool()

lintel::BootstrapSequence::operator bool ( )
explicitdelete

◆ operator Value()

constexpr lintel::BootstrapSequence::operator Value ( ) const
inlineconstexpr

Implicit conversion to Value.

◆ toString()

std::string lintel::BootstrapSequence::toString ( ) const
inline
Returns
string representation of the current value

◆ values()

static std::set< Value > lintel::BootstrapSequence::values ( )
inlinestatic
Returns
set of all defined Value entries

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const BootstrapSequence &  bootstrap 
)
friend

Streams the string representation of the bootstrap sequence value.


The documentation for this class was generated from the following file: