CppMethod Class Reference

#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)
 

Detailed Description

Definition at line 34 of file CppMethod.h.

Constructor & Destructor Documentation

◆ CppMethod()

CppMethod ( const std::string &  header,
const std::string &  doc = "",
const bool  enforceBlockGeneration = false 
)

Definition at line 33 of file CppMethod.cpp.

Member Function Documentation

◆ addBlock()

void addBlock ( const CppBlockPtr block)

Definition at line 105 of file CppMethod.cpp.

◆ addLine() [1/2]

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

Definition at line 96 of file CppMethod.cpp.

◆ addLine() [2/2]

void addLine ( const std::string &  line)

Definition at line 87 of file CppMethod.cpp.

◆ setBlock()

void setBlock ( const CppBlockPtr block)

Definition at line 114 of file CppMethod.cpp.

◆ setCompact()

void setCompact ( bool  compact)

Definition at line 119 of file CppMethod.cpp.

◆ setEnforceBlockGeneration()

void setEnforceBlockGeneration ( bool  enforceBlockGeneration)

Definition at line 124 of file CppMethod.cpp.

◆ writeCpp()

void writeCpp ( const CppWriterPtr writer)

Definition at line 40 of file CppMethod.cpp.

+ Here is the call graph for this function:

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