Version: 1.0
Public Member Functions | List of all members
GenerateCodeClass Class Reference

Public Member Functions

 GenerateCodeClass (bool with_gotos, std::string prefix, map< BinaryDrag< conact >::node *, size_t > printed_nodes)
 
void Clear ()
 
void ClearPrintedNodes ()
 
void ClearNodesRequiringLabels ()
 
void ClearId ()
 
void SetId (size_t id)
 
size_t NextId ()
 
size_t GetId ()
 
void SetPrefix (std::string prefix)
 
void SetWithGotos (bool with_gotos)
 
bool WithGotos ()
 
auto & GetNodeRequiringLabelsMap ()
 
auto & GetPrintedNodeMap ()
 
std::string & GetPrefix ()
 
void GenerateCodeRec (std::ostream &os, BinaryDrag< conact >::node *n, int tab)
 
void CheckNodesTraversalRec (BinaryDrag< conact >::node *n)
 

Detailed Description

Definition at line 66 of file graph_code_generator.cpp.

Constructor & Destructor Documentation

◆ GenerateCodeClass()

GenerateCodeClass::GenerateCodeClass ( bool  with_gotos,
std::string  prefix,
map< BinaryDrag< conact >::node *, size_t >  printed_nodes 
)
inline

Definition at line 86 of file graph_code_generator.cpp.

Member Function Documentation

◆ CheckNodesTraversalRec()

void GenerateCodeClass::CheckNodesTraversalRec ( BinaryDrag< conact >::node *  n)
inline

Definition at line 193 of file graph_code_generator.cpp.

◆ Clear()

void GenerateCodeClass::Clear ( )
inline

Definition at line 92 of file graph_code_generator.cpp.

◆ ClearId()

void GenerateCodeClass::ClearId ( )
inline

Definition at line 106 of file graph_code_generator.cpp.

◆ ClearNodesRequiringLabels()

void GenerateCodeClass::ClearNodesRequiringLabels ( )
inline

Definition at line 102 of file graph_code_generator.cpp.

◆ ClearPrintedNodes()

void GenerateCodeClass::ClearPrintedNodes ( )
inline

Definition at line 98 of file graph_code_generator.cpp.

◆ GenerateCodeRec()

void GenerateCodeClass::GenerateCodeRec ( std::ostream &  os,
BinaryDrag< conact >::node *  n,
int  tab 
)
inline

Definition at line 152 of file graph_code_generator.cpp.

◆ GetId()

size_t GenerateCodeClass::GetId ( )
inline

Definition at line 118 of file graph_code_generator.cpp.

◆ GetNodeRequiringLabelsMap()

auto& GenerateCodeClass::GetNodeRequiringLabelsMap ( )
inline

Definition at line 137 of file graph_code_generator.cpp.

◆ GetPrefix()

std::string& GenerateCodeClass::GetPrefix ( )
inline

Definition at line 145 of file graph_code_generator.cpp.

◆ GetPrintedNodeMap()

auto& GenerateCodeClass::GetPrintedNodeMap ( )
inline

Definition at line 141 of file graph_code_generator.cpp.

◆ NextId()

size_t GenerateCodeClass::NextId ( )
inline

Definition at line 114 of file graph_code_generator.cpp.

◆ SetId()

void GenerateCodeClass::SetId ( size_t  id)
inline

Definition at line 110 of file graph_code_generator.cpp.

◆ SetPrefix()

void GenerateCodeClass::SetPrefix ( std::string  prefix)
inline

Definition at line 122 of file graph_code_generator.cpp.

◆ SetWithGotos()

void GenerateCodeClass::SetWithGotos ( bool  with_gotos)
inline

Definition at line 129 of file graph_code_generator.cpp.

◆ WithGotos()

bool GenerateCodeClass::WithGotos ( )
inline

Definition at line 133 of file graph_code_generator.cpp.


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