Struct FlagDefinition

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 Members

std::string name
std::string doc
std::size_t number

Public Static Attributes

constexpr std::size_t number_undefined = SIZE_MAX