CMakeWriter Class Reference

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

Public Types

enum  LineType { StartBlock, EndBlock, Normal, Empty }
 

Public Member Functions

 CMakeWriter ()
 
void endBlock (const std::string &line)
 
void endBlockComment (std::string comment)
 
LineType getLastLineType ()
 
std::string getString ()
 
void line ()
 
void line (const std::string &line)
 
void line (const std::string &line, int indentDelta)
 
void startBlock (const std::string &line)
 

Detailed Description

Definition at line 12 of file CMakeWriter.h.

Member Enumeration Documentation

◆ LineType

enum LineType
Enumerator
StartBlock 
EndBlock 
Normal 
Empty 

Definition at line 15 of file CMakeWriter.h.

Constructor & Destructor Documentation

◆ CMakeWriter()

Definition at line 5 of file CMakeWriter.cpp.

Member Function Documentation

◆ endBlock()

void endBlock ( const std::string &  line)

Definition at line 23 of file CMakeWriter.cpp.

+ Here is the call graph for this function:

◆ endBlockComment()

void endBlockComment ( std::string  comment)

Definition at line 30 of file CMakeWriter.cpp.

+ Here is the call graph for this function:

◆ getLastLineType()

CMakeWriter::LineType getLastLineType ( )

Definition at line 57 of file CMakeWriter.cpp.

◆ getString()

std::string getString ( )

Definition at line 52 of file CMakeWriter.cpp.

+ Here is the caller graph for this function:

◆ line() [1/3]

void line ( )

Definition at line 37 of file CMakeWriter.cpp.

+ Here is the caller graph for this function:

◆ line() [2/3]

void line ( const std::string &  line)

Definition at line 42 of file CMakeWriter.cpp.

+ Here is the call graph for this function:

◆ line() [3/3]

void line ( const std::string &  line,
int  indentDelta 
)

Definition at line 47 of file CMakeWriter.cpp.

+ Here is the call graph for this function:

◆ startBlock()

void startBlock ( const std::string &  line)

Definition at line 14 of file CMakeWriter.cpp.

+ Here is the call graph for this function:

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