Libpf::Utility::SmartEnumerator< T > Class Template Reference
Trait type to define the a static set of valid values for a StringOption. More...
#include <SmartEnumerators.h>
Inheritance diagram for Libpf::Utility::SmartEnumerator< T >:
Public Member Functions | |
const std::string & | name (void) const |
const std::string & | description (void) const |
std::vector< Option >::const_iterator | options_cbegin () const |
std::vector< Option >::const_iterator | options_cend () const |
std::size_t | options_size (void) const |
Public Member Functions inherited from Libpf::Utility::EnumeratorInterface | |
virtual | ~EnumeratorInterface ()=default |
virtual const std::string & | name (void) const =0 |
virtual const std::string & | description (void) const =0 |
virtual std::vector< Option >::const_iterator | options_cbegin () const =0 |
virtual std::vector< Option >::const_iterator | options_cend () const =0 |
virtual std::size_t | options_size (void) const =0 |
std::string | json (void) const |
Detailed Description
template<typename T>
class Libpf::Utility::SmartEnumerator< T >
class Libpf::Utility::SmartEnumerator< T >
Trait type to define the a static set of valid values for a StringOption.
- See also
- StringOption, Option
Member Function Documentation
◆ description()
template<typename T >
|
virtual |
- Returns
- the description of the enumerator
Implements Libpf::Utility::EnumeratorInterface.
◆ name()
template<typename T >
|
virtual |
- Returns
- the name of the enumerator
Implements Libpf::Utility::EnumeratorInterface.
◆ options_cbegin()
template<typename T >
|
virtual |
Implements Libpf::Utility::EnumeratorInterface.
◆ options_cend()
template<typename T >
|
virtual |
Implements Libpf::Utility::EnumeratorInterface.
◆ options_size()
template<typename T >
|
virtual |
Implements Libpf::Utility::EnumeratorInterface.
The documentation for this class was generated from the following file: