PandA-2024.02
Macros | Functions
structural_objects.cpp File Reference

This class represents a base circuit object. More...

#include "structural_objects.hpp"
#include "config_HAVE_ASSERTS.hpp"
#include "config_HAVE_TECHNOLOGY_BUILT.hpp"
#include "config_RELEASE.hpp"
#include "HDL_manager.hpp"
#include "NP_functionality.hpp"
#include "behavioral_helper.hpp"
#include "custom_set.hpp"
#include "dbgPrintHelper.hpp"
#include "exceptions.hpp"
#include "library_manager.hpp"
#include "simple_indent.hpp"
#include "string_manipulation.hpp"
#include "structural_manager.hpp"
#include "technology_manager.hpp"
#include "technology_node.hpp"
#include "utility.hpp"
#include "xml_attribute.hpp"
#include "xml_element.hpp"
#include "xml_helper.hpp"
#include "xml_node.hpp"
#include "xml_text_node.hpp"
#include <algorithm>
#include <boost/algorithm/string/replace.hpp>
#include <boost/iterator/iterator_facade.hpp>
#include <boost/iterator/iterator_traits.hpp>
#include <climits>
#include <iostream>
#include <list>
#include <memory>
#include <regex>
#include <utility>
Include dependency graph for structural_objects.cpp:

Go to the source code of this file.

Macros

#define __TO_STRING_HELPER(r, data, elem)   {data::elem, BOOST_PP_STRINGIZE(elem)},
 
#define TO_STRING(enum_type, elem_list)
 

Functions

std::string legalize (const std::string &id)
 
std::vector< std::string > get_connections (const xml_element *node)
 

Detailed Description

This class represents a base circuit object.

Author
Matteo Barbati mbarb.nosp@m.ati@.nosp@m.gmail.nosp@m..com
Christian Pilato pilat.nosp@m.o@el.nosp@m.et.po.nosp@m.limi.nosp@m..it
Fabrizio Ferrandi fabri.nosp@m.zio..nosp@m.ferra.nosp@m.ndi@.nosp@m.polim.nosp@m.i.it

Definition in file structural_objects.cpp.

Macro Definition Documentation

◆ __TO_STRING_HELPER

#define __TO_STRING_HELPER (   r,
  data,
  elem 
)    {data::elem, BOOST_PP_STRINGIZE(elem)},

Definition at line 5249 of file structural_objects.cpp.

◆ TO_STRING

#define TO_STRING (   enum_type,
  elem_list 
)
Value:
static const std::unordered_map<enum enum_type, std::string> to_string = { \
BOOST_PP_SEQ_FOR_EACH(__TO_STRING_HELPER, enum_type, elem_list)}
#define __TO_STRING_HELPER(r, data, elem)

Definition at line 5250 of file structural_objects.cpp.

Function Documentation

◆ get_connections()

std::vector<std::string> get_connections ( const xml_element node)

Definition at line 3977 of file structural_objects.cpp.

References xml_child::get_children().

Referenced by module::xload().

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

◆ legalize()

std::string legalize ( const std::string &  id)
inline

Definition at line 78 of file structural_objects.cpp.

References structural_type_descriptor::s_typeNames.

Referenced by signal_o::xload().

Here is the caller graph for this function:

Generated on Mon Feb 12 2024 13:03:14 for PandA-2024.02 by doxygen 1.8.13