16 #ifndef TORC_GENERIC_FLATTENING_HPP
17 #define TORC_GENERIC_FLATTENING_HPP
19 #include <boost/function.hpp>
73 const _Pointer& inNameable,
const std::vector<size_t>& inIndicesVector = std::vector<size_t>());
83 const _Pointer& inRenamable,
const std::vector<size_t>& inIndicesVector =
84 std::vector<size_t>());
108 bool inRecursive =
false,
const std::string& inSeparator =
"/",
141 bool inRecursive = false, const std::
string& inSeparator = "/",
174 bool inRecursive = false, const std::
string& inSeparator = "/",
186 #endif // TORC_GENERIC_FLATTENING_HPP
boost::shared_ptr< Instance > InstanceSharedPtr
std::string getModifiedName(const std::string &inInstName, const _Pointer &inNameable, const std::vector< size_t > &inIndicesVector=std::vector< size_t >())
boost::shared_ptr< ObjectFactory > ObjectFactorySharedPtr
boost::shared_ptr< Design > DesignSharedPtr
The Error object thrown by different methods of EdifOM.
boost::shared_ptr< Net > NetSharedPtr
boost::function< std::string(const InstanceSharedPtr &inParentInstance, const NetSharedPtr &inNet, const std::vector< size_t > &inIndicesVector)> NetRenamingFunction
Function to create names of nets that are set in rename constructs.
boost::function< std::string(const InstanceSharedPtr &inParentInstance, const InstanceSharedPtr &inInstance, const std::vector< size_t > &inIndicesVector)> InstanceRenamingFunction
Function to create names of nets that are set in rename constructs.
std::string getRenamedName(const InstanceSharedPtr &inParentInstance, const _Pointer &inRenamable, const std::vector< size_t > &inIndicesVector=std::vector< size_t >())
boost::shared_ptr< View > ViewSharedPtr
boost::function< std::string(const std::string &inParentInstanceName, const NetSharedPtr &inNet, const std::vector< size_t > &inIndicesVector)> NetNamingFunction
Function to create net names during flattening.
void flatten(const InstanceSharedPtr &inInstance, const ObjectFactorySharedPtr &inFactory, bool inRecursive, const std::string &inSeparator, const InstanceRenamingFunction &inInstanceRenameFunc, const NetRenamingFunction &inNetRenameFunc, const InstanceNamingFunction &inInstanceNameFunc, const NetNamingFunction &inNetNameFunc)
boost::function< std::string(const std::string &inParentInstanceName, const InstanceSharedPtr &inInstance, const std::vector< size_t > &inIndicesVector)> InstanceNamingFunction
Function to create instance names during flattening.