32 const std::vector<LogicValueSharedPtr>& inLogicValues,
const LibrarySharedPtr& inLibraryPtr)
36 create(newSimulationInfo);
37 newSimulationInfo->setLogicValues(inLogicValues);
38 inLibraryPtr->setSimulationInfo(newSimulationInfo);
39 return newSimulationInfo;
62 std::vector<LogicValueSharedPtr>::const_iterator it = inLogicValues.begin();
63 for(; it != inLogicValues.end(); it++) {
91 if(
false == mLogicValueSymTab.set(name, inLogicValue)) {
96 inLogicValue->setParent(getSharedThis());
131 if(
false == mLogicValueSymTab.remove(inName)) {
boost::shared_ptr< LogicValue > LogicValueSharedPtr
virtual ~SimulationInfo()
An object that has a parent.
void removeLogicValue(const std::string &inName)
This class is used to hold all information about the logic values used within a library.
Represents class that can hold userData.
void runVisitor(_Tp &inoutVisited, BaseVisitor &inoutVisitor)
The Error object thrown by different methods of EdifOM.
void addLogicValue(const LogicValueSharedPtr &inLogicValue)
boost::shared_ptr< Library > LibrarySharedPtr
A base class for Visitor.
boost::shared_ptr< SimulationInfo > SimulationInfoSharedPtr
bool get(const KeyType &inKey, ValueType &outValue) const
void saveContextData(const std::string &inName, const boost::any &inSource)
virtual void accept(BaseVisitor &inoutVisitor)
void setLogicValues(const std::vector< LogicValueSharedPtr > &inLogicValues)
virtual SimulationInfoSharedPtr newSimulationInfoPtr(const std::vector< LogicValueSharedPtr > &inLogicValues, const LibrarySharedPtr &inLibraryPtr)
LogicValueSharedPtr findLogicValue(const std::string &inName)
SymTab< std::string, LogicValueSharedPtr > mLogicValueSymTab
An object that receives an inoutVisitor.
void setCurrentLocation(const std::string &inFunction, const std::string &inFile, uint32_t inLine)