|
Electroneum
|
Static class that contains helper functions for el::ConfigurationType. More...
#include <easylogging++.h>


Static Public Member Functions | |
| static base::type::EnumType | castToInt (ConfigurationType configurationType) |
| Casts configuration type to int, useful for iterating through enum. | |
| static ConfigurationType | castFromInt (base::type::EnumType c) |
| Casts int(ushort) to configurationt type, useful for iterating through enum. | |
| static const char * | convertToString (ConfigurationType configurationType) |
| Converts configuration type to associated const char*. | |
| static ConfigurationType | convertFromString (const char *configStr) |
| Converts from configStr to ConfigurationType. | |
| static void | forEachConfigType (base::type::EnumType *startIndex, const std::function< bool(void)> &fn) |
| Applies specified function to each configuration type starting from startIndex. | |
Static Public Attributes | |
| static const base::type::EnumType | kMinValid = static_cast<base::type::EnumType>(ConfigurationType::Enabled) |
| Represents minimum valid configuration type. Useful when iterating through enum. | |
| static const base::type::EnumType | kMaxValid = static_cast<base::type::EnumType>(ConfigurationType::MaxLogFileSize) |
| Represents maximum valid configuration type. This is used internally and you should not need it. | |
Static class that contains helper functions for el::ConfigurationType.
Definition at line 681 of file easylogging++.h.
|
inlinestatic |
Casts int(ushort) to configurationt type, useful for iterating through enum.
Definition at line 692 of file easylogging++.h.
|
inlinestatic |
Casts configuration type to int, useful for iterating through enum.
Definition at line 688 of file easylogging++.h.
|
static |
Converts from configStr to ConfigurationType.
| configStr | Upper case string based configuration type. Lower case is also valid but providing upper case is recommended. |
|
static |
Converts configuration type to associated const char*.
|
inlinestatic |
Applies specified function to each configuration type starting from startIndex.
| startIndex | initial value to start the iteration from. This is passed by pointer and is left-shifted so this can be used inside function (fn) to represent current configuration type. |
| fn | function to apply with each configuration type. This bool represent whether or not to stop iterating through configurations. |
|
static |
Represents maximum valid configuration type. This is used internally and you should not need it.
Definition at line 686 of file easylogging++.h.
|
static |
Represents minimum valid configuration type. Useful when iterating through enum.
Definition at line 684 of file easylogging++.h.