|
#include <ArmarXCore/libraries/cppgen/CppEnum.h>
Public Member Functions | |
void | addField (const CppEnumFieldPtr &) |
CppEnum (const std::vector< std::string > namespaces, const std::string &name) | |
CppEnum (const std::vector< std::string > namespaces, const std::string &name, const std::vector< CppEnumFieldPtr > &fields) | |
std::vector< std::string > | getNamespaces () const |
void | write (const MetaWriterPtr &writer) override |
void | writeCpp (const CppWriterPtr &writer) |
Public Member Functions inherited from MetaEnum | |
void | addEnumDoc (const std::string &doc) |
std::string | getName () const |
MetaEnum (const std::string &name) | |
Additional Inherited Members | |
Static Public Member Functions inherited from MetaEnum | |
static void | Write (const std::vector< MetaEnumPtr > &classes, const MetaWriterPtr &writer) |
Protected Attributes inherited from MetaEnum | |
std::string | docString |
std::string | name |
CppEnum | ( | const std::vector< std::string > | namespaces, |
const std::string & | name | ||
) |
Definition at line 53 of file CppEnum.cpp.
CppEnum | ( | const std::vector< std::string > | namespaces, |
const std::string & | name, | ||
const std::vector< CppEnumFieldPtr > & | fields | ||
) |
Definition at line 59 of file CppEnum.cpp.
void addField | ( | const CppEnumFieldPtr & | f | ) |
Definition at line 72 of file CppEnum.cpp.
std::vector< std::string > getNamespaces | ( | ) | const |
Definition at line 77 of file CppEnum.cpp.
|
overridevirtual |
Implements MetaEnum.
Definition at line 66 of file CppEnum.cpp.
void writeCpp | ( | const CppWriterPtr & | writer | ) |
Definition at line 82 of file CppEnum.cpp.