CppCtor Class Reference

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

Public Member Functions

void addInitListEntries (const std::vector< std::pair< std::string, std::string >> &)
 
void addInitListEntry (const std::string &target, const std::string &expr)
 
void addLine (const boost::basic_format< char > &line)
 
void addLine (const std::string &line)
 
 CppCtor (const std::string &header)
 
 CppCtor (const std::string &header, const CppBlockPtr &b)
 
CppBlockPtr getBlock () const
 
void setBlock (const CppBlockPtr &)
 
void setEnforceBlockGeneration (bool enforceBlockGeneration)
 
void writeCpp (const CppWriterPtr &writer)
 

Detailed Description

Definition at line 33 of file CppCtor.h.

Constructor & Destructor Documentation

◆ CppCtor() [1/2]

CppCtor ( const std::string &  header)

Definition at line 33 of file CppCtor.cpp.

◆ CppCtor() [2/2]

CppCtor ( const std::string &  header,
const CppBlockPtr b 
)

Definition at line 38 of file CppCtor.cpp.

Member Function Documentation

◆ addInitListEntries()

void addInitListEntries ( const std::vector< std::pair< std::string, std::string >> &  list)

Definition at line 44 of file CppCtor.cpp.

+ Here is the call graph for this function:

◆ addInitListEntry()

void addInitListEntry ( const std::string &  target,
const std::string &  expr 
)

Definition at line 52 of file CppCtor.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addLine() [1/2]

void addLine ( const boost::basic_format< char > &  line)

Definition at line 66 of file CppCtor.cpp.

◆ addLine() [2/2]

void addLine ( const std::string &  line)

Definition at line 57 of file CppCtor.cpp.

◆ getBlock()

CppBlockPtr getBlock ( ) const

Definition at line 80 of file CppCtor.cpp.

◆ setBlock()

void setBlock ( const CppBlockPtr b)

Definition at line 75 of file CppCtor.cpp.

◆ setEnforceBlockGeneration()

void setEnforceBlockGeneration ( bool  enforceBlockGeneration)

Definition at line 124 of file CppCtor.cpp.

◆ writeCpp()

void writeCpp ( const CppWriterPtr writer)

Definition at line 85 of file CppCtor.cpp.

+ Here is the call graph for this function:

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