|
#include <ArmarXCore/libraries/cppgen/CppMethod.h>
Public Member Functions | |
void | addBlock (const CppBlockPtr &block) |
void | addLine (const boost::basic_format< char > &line) |
void | addLine (const std::string &line) |
CppMethod (const std::string &header, const std::string &doc="", const bool enforceBlockGeneration=false) | |
void | setBlock (const CppBlockPtr &block) |
void | setCompact (bool compact) |
void | setEnforceBlockGeneration (bool enforceBlockGeneration) |
void | writeCpp (const CppWriterPtr &writer) |
Definition at line 34 of file CppMethod.h.
CppMethod | ( | const std::string & | header, |
const std::string & | doc = "" , |
||
const bool | enforceBlockGeneration = false |
||
) |
Definition at line 33 of file CppMethod.cpp.
void addBlock | ( | const CppBlockPtr & | block | ) |
Definition at line 105 of file CppMethod.cpp.
void addLine | ( | const boost::basic_format< char > & | line | ) |
Definition at line 96 of file CppMethod.cpp.
void addLine | ( | const std::string & | line | ) |
Definition at line 87 of file CppMethod.cpp.
void setBlock | ( | const CppBlockPtr & | block | ) |
Definition at line 114 of file CppMethod.cpp.
void setCompact | ( | bool | compact | ) |
Definition at line 119 of file CppMethod.cpp.
void setEnforceBlockGeneration | ( | bool | enforceBlockGeneration | ) |
Definition at line 124 of file CppMethod.cpp.
void writeCpp | ( | const CppWriterPtr & | writer | ) |