Libpf::Utility::EnumeratorInterface Class Referenceabstract
Abstract interface for static and dynamics enumerators. More...
#include <EnumeratorInterface.h>
Inheritance diagram for Libpf::Utility::EnumeratorInterface:
Public Member Functions | |
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
Abstract interface for static and dynamics enumerators.
Constructor & Destructor Documentation
◆ ~EnumeratorInterface()
|
virtualdefault |
Member Function Documentation
◆ description()
|
pure virtual |
- Returns
- the description of the enumerator
Implemented in Libpf::Core::Enumerator, and Libpf::Utility::SmartEnumerator< T >.
◆ json()
std::string Libpf::Utility::EnumeratorInterface::json | ( | void | ) | const |
- Returns
- UTF-8 encoded string with the JSON-serialized object
◆ name()
|
pure virtual |
- Returns
- the name of the enumerator
Implemented in Libpf::Core::Enumerator, and Libpf::Utility::SmartEnumerator< T >.
◆ options_cbegin()
|
pure virtual |
Implemented in Libpf::Core::Enumerator, and Libpf::Utility::SmartEnumerator< T >.
◆ options_cend()
|
pure virtual |
Implemented in Libpf::Core::Enumerator, and Libpf::Utility::SmartEnumerator< T >.
◆ options_size()
|
pure virtual |
Implemented in Libpf::Core::Enumerator, and Libpf::Utility::SmartEnumerator< T >.
The documentation for this class was generated from the following file: