16 #ifndef TORC_GENERIC_EDIF_LINKER_HPP
17 #define TORC_GENERIC_EDIF_LINKER_HPP
24 #include <boost/shared_ptr.hpp>
31 namespace torc {
namespace generic {
class View; } }
32 namespace torc {
namespace generic {
class Instance; } }
33 namespace torc {
namespace generic {
class Root; } }
101 inline const std::vector<InstanceSharedPtr>&
getInstances()
const;
103 void setInstances(
const std::vector<InstanceSharedPtr>& value);
106 std::vector<InstanceSharedPtr>::iterator first =
mInstances.begin();
107 std::vector<InstanceSharedPtr>::iterator last =
mInstances.end();
108 for(; first != last; ++first) {
151 void setExternView(const NameSpec& inNameSpec, const
ViewSharedPtr& inExternView);
211 inline
bool Linker::NameSpec::operator <(const
Linker::NameSpec& inRhs)
const {
212 return mLibraryName < inRhs.mLibraryName
213 || (mLibraryName == inRhs.mLibraryName && mCellName < inRhs.mCellName)
214 || (mLibraryName == inRhs.mLibraryName && mCellName == inRhs.mCellName
215 && mViewName < inRhs.mViewName);
241 #endif // TORC_GENERIC_EDIF_LINKER_HPP
std::string getLibraryName() const
boost::shared_ptr< Instance > InstanceSharedPtr
bool findUnresolvedInstances(const NameSpec &inNameSpec, UnresolvedInstancesPtr &outInstances)
NameSpec & operator=(const NameSpec &inSource)
std::string getViewName() const
void linkUnresolved(const NameSpec &inNameSpec, ViewSharedPtr &inView)
void applyActionOnInstances(const _Tp &action)
The Error object thrown by different methods of EdifOM.
void setExternView(const ViewSharedPtr &inValue)
void addInstance(const InstanceSharedPtr &inInstance)
const ViewSharedPtr getExternView() const
Represents a repository of unresolved usage references.
bool operator<(const NameSpec &inRhs) const
void setCellName(const std::string &inValue)
ViewSharedPtr mExternView
boost::shared_ptr< View > ViewSharedPtr
ViewSharedPtr findExternView(const NameSpec &inNameSpec)
void setLibraryName(const std::string &inValue)
void removeUnresolvedInstances(const NameSpec &inNameSpec)
std::vector< InstanceSharedPtr > mInstances
void setViewName(const std::string &inValue)
boost::shared_ptr< UnresolvedInstances > UnresolvedInstancesPtr
void registerUnresolvedInstance(const NameSpec &inNameSpec, const InstanceSharedPtr &inInstance)
const std::vector< InstanceSharedPtr > & getInstances() const
std::string getCellName() const
void setInstances(const std::vector< InstanceSharedPtr > &value)
boost::shared_ptr< Root > RootSharedPtr
void setCurrentLocation(const std::string &inFunction, const std::string &inFile, uint32_t inLine)