Struct FlagDefinition¶
Defined in File FlagHandler.h
Struct Documentation¶
-
struct
FlagDefinition
Simple class used to define and document flags The name and doc constitute the identity of the FlagDefinition The number is used for indexing, but is assigned arbitrarily.
Public Functions
-
FlagDefinition
()¶
-
FlagDefinition
(std::string const &name, std::string const &doc, std::size_t number = number_undefined)¶
-
bool
operator==
(FlagDefinition const &other) const¶
-
bool
operator!=
(FlagDefinition const &other) const¶
Public Static Attributes
-
constexpr std::size_t
number_undefined
= SIZE_MAX¶
-