MetaEnum Class Referenceabstract

#include <ArmarXCore/libraries/cppgen/MetaEnum.h>

+ Inheritance diagram for MetaEnum:

Public Member Functions

void addEnumDoc (const std::string &doc)
std::string getName () const
 MetaEnum (const std::string &name)
virtual void write (const MetaWriterPtr &writer)=0

Static Public Member Functions

static void Write (const std::vector< MetaEnumPtr > &classes, const MetaWriterPtr &writer)

Protected Attributes

std::string docString
std::string name

Detailed Description

Definition at line 35 of file MetaEnum.h.

Constructor & Destructor Documentation

◆ MetaEnum()

MetaEnum ( const std::string &  name)

Definition at line 31 of file MetaEnum.cpp.

Member Function Documentation

◆ addEnumDoc()

void addEnumDoc ( const std::string &  doc)

Definition at line 48 of file MetaEnum.cpp.

◆ getName()

std::string getName ( ) const

Definition at line 35 of file MetaEnum.cpp.

◆ write()

virtual void write ( const MetaWriterPtr writer)
pure virtual

Implemented in CppEnum.

◆ Write()

void Write ( const std::vector< MetaEnumPtr > &  classes,
const MetaWriterPtr writer 

Definition at line 40 of file MetaEnum.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ docString

std::string docString

Definition at line 49 of file MetaEnum.h.

◆ name

std::string name

Definition at line 48 of file MetaEnum.h.

The documentation for this class was generated from the following files: