gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
Structs Class Reference

#include <Parser.h>

Inheritance diagram for Structs:
Collaboration diagram for Structs:

Public Member Functions

 Structs ()
 
 ~Structs ()
 
int defStruct (std::string &struct_name, std::map< std::string, std::vector< double > > &fopt, std::map< std::string, std::vector< std::string > > &copt, int member_ValMax, bool append=false)
 
int get_key_struct_from_tag (int tag, const std::string *&key_struct) const
 
void sprint (std::vector< std::string > &strs_out, const std::string &struct_namespace) const
 
- Public Member Functions inherited from Map< std::string, Struct >
 Map ()
 
 ~Map ()
 
StructFind (std::string key)
 
const StructFind (std::string key) const
 
Structoperator[] (std::string key)
 
std::map< std::string, Struct > & get ()
 
const std::map< std::string, Struct > & get () const
 
int count (const std::string key) const
 
int size () const
 
void clear ()
 

Private Attributes

int _max_tag
 

Additional Inherited Members

- Public Attributes inherited from Map< std::string, Struct >
std::map< std::string, Struct_map
 

Detailed Description

Definition at line 219 of file Parser.h.

Constructor & Destructor Documentation

◆ Structs()

Structs::Structs ( )
inline

Definition at line 221 of file Parser.h.

◆ ~Structs()

Structs::~Structs ( )
inline

Definition at line 222 of file Parser.h.

Member Function Documentation

◆ defStruct()

int Structs::defStruct ( std::string &  struct_name,
std::map< std::string, std::vector< double > > &  fopt,
std::map< std::string, std::vector< std::string > > &  copt,
int  member_ValMax,
bool  append = false 
)
inline

Definition at line 224 of file Parser.h.

Referenced by NameSpaces::defStruct().

Here is the caller graph for this function:

◆ get_key_struct_from_tag()

int Structs::get_key_struct_from_tag ( int  tag,
const std::string *&  key_struct 
) const
inline

Definition at line 246 of file Parser.h.

Referenced by NameSpaces::get_key_struct_from_tag().

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

◆ sprint()

void Structs::sprint ( std::vector< std::string > &  strs_out,
const std::string &  struct_namespace 
) const
inline

Definition at line 256 of file Parser.h.

Here is the call graph for this function:

Member Data Documentation

◆ _max_tag

int Structs::_max_tag
private

Definition at line 267 of file Parser.h.

Referenced by defStruct(), and Structs().


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