#include <flag.h>
|
| template<typename T > |
| Flag< T > * | RegisterFlag (const std::string &name, const T &default_value, const std::string &help_text) |
| |
| IFlag * | GetFlag (const std::string &name) const |
| |
| std::vector< IFlag * > | AllFlags () const |
| |
|
| std::unordered_map< std::string, std::unique_ptr< IFlag > > | flags_ |
| |
Definition at line 78 of file flag.h.
◆ RegisterFlag()
template<typename T >
| Flag< T > * yaze::util::FlagRegistry::RegisterFlag |
( |
const std::string & |
name, |
|
|
const T & |
default_value, |
|
|
const std::string & |
help_text |
|
) |
| |
|
inline |
◆ GetFlag()
| IFlag * yaze::util::FlagRegistry::GetFlag |
( |
const std::string & |
name | ) |
const |
|
inline |
◆ AllFlags()
| std::vector< IFlag * > yaze::util::FlagRegistry::AllFlags |
( |
| ) |
const |
|
inline |
◆ flags_
| std::unordered_map<std::string, std::unique_ptr<IFlag> > yaze::util::FlagRegistry::flags_ |
|
private |
The documentation for this class was generated from the following file: