CppEnumField Class Reference

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

Public Member Functions

 CppEnumField (const std::string &name)
 
 CppEnumField (const std::string &name, int value)
 
void writeCpp (const CppWriterPtr &writer, bool addComma=false)
 

Detailed Description

Definition at line 40 of file CppEnum.h.

Constructor & Destructor Documentation

◆ CppEnumField() [1/2]

CppEnumField ( const std::string &  name)

Definition at line 32 of file CppEnum.cpp.

◆ CppEnumField() [2/2]

CppEnumField ( const std::string &  name,
int  value 
)

Definition at line 38 of file CppEnum.cpp.

Member Function Documentation

◆ writeCpp()

void writeCpp ( const CppWriterPtr writer,
bool  addComma = false 
)

Definition at line 44 of file CppEnum.cpp.

+ Here is the call graph for this function:

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