|
|
#include <ArmarXCore/libraries/cppgen/CppBlock.h>
Public Member Functions | |
| void | addBlock (const CppBlockPtr &block) |
| void | addCommentLine (const boost::basic_format< char > &line) |
| void | addCommentLine (const std::string &line) |
| void | addCommentLines (const std::vector< boost::basic_format< char >> &lines) |
| void | addCommentLines (const std::vector< std::string > &lines) |
| void | addLine (const boost::basic_format< char > &line) |
| void | addLine (const std::string &line) |
| void | addLineAsBlock (const std::string &line) |
| void | appendBlock (const CppBlockPtr &block) |
| CppBlock () | |
| std::string | getAsSingleLine () |
| size_t | size () const |
| void | writeCpp (const CppWriterPtr &writer) |
Static Public Member Functions | |
| static CppBlockPtr | MergeBlocks (const CppBlockPtr &block1, const CppBlockPtr &block2) |
Protected Member Functions | |
| void | addEntry (const CppBlockEntryPtr &entry) |
Protected Attributes | |
| std::vector< CppBlockEntryPtr > | entries |
Definition at line 72 of file CppBlock.h.
| CppBlock | ( | ) |
| void addBlock | ( | const CppBlockPtr & | block | ) |
| void addCommentLine | ( | const boost::basic_format< char > & | line | ) |
| void addCommentLine | ( | const std::string & | line | ) |
| void addCommentLines | ( | const std::vector< boost::basic_format< char >> & | lines | ) |
| void addCommentLines | ( | const std::vector< std::string > & | lines | ) |
|
protected |
| void addLine | ( | const boost::basic_format< char > & | line | ) |
| void addLine | ( | const std::string & | line | ) |
| void addLineAsBlock | ( | const std::string & | line | ) |
| void appendBlock | ( | const CppBlockPtr & | block | ) |
| std::string getAsSingleLine | ( | ) |
Definition at line 78 of file CppBlock.cpp.
|
static |
| size_t size | ( | ) | const |
Definition at line 106 of file CppBlock.cpp.
| void writeCpp | ( | const CppWriterPtr & | writer | ) |
Definition at line 55 of file CppBlock.cpp.
|
protected |
Definition at line 99 of file CppBlock.h.