CppField Class Reference

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

Public Member Functions

 CppField (const std::string &type, const std::string &name, const std::string &default_value="", const std::string &doc="")
 
std::string getName () const
 
std::string getType () const
 
void setDoc (const std::string &documentation)
 
void writeCpp (const CppWriterPtr &writer)
 

Detailed Description

Definition at line 36 of file CppField.h.

Constructor & Destructor Documentation

◆ CppField()

CppField ( const std::string &  type,
const std::string &  name,
const std::string &  default_value = "",
const std::string &  doc = "" 
)

Definition at line 32 of file CppField.cpp.

Member Function Documentation

◆ getName()

std::string getName ( ) const

Definition at line 44 of file CppField.cpp.

◆ getType()

std::string getType ( ) const

Definition at line 49 of file CppField.cpp.

◆ setDoc()

void setDoc ( const std::string &  documentation)

Definition at line 54 of file CppField.cpp.

◆ writeCpp()

void writeCpp ( const CppWriterPtr writer)

Definition at line 59 of file CppField.cpp.

+ Here is the call graph for this function:

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