|
#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 73 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 76 of file CppBlock.cpp.
|
static |
size_t size | ( | ) | const |
Definition at line 101 of file CppBlock.cpp.
void writeCpp | ( | const CppWriterPtr & | writer | ) |
Definition at line 56 of file CppBlock.cpp.
|
protected |
Definition at line 100 of file CppBlock.h.