20 #ifdef GENOM_SERIALIZATION
21 #include <boost/archive/binary_iarchive.hpp>
22 #include <boost/archive/binary_oarchive.hpp>
23 #include <boost/serialization/base_object.hpp>
24 #include <boost/serialization/export.hpp>
25 #endif //GENOM_SERIALIZATION
28 #ifdef GENOM_SERIALIZATION
30 #endif //GENOM_SERIALIZATION
48 create(newSingleInstance);
49 newSingleInstance->setName(inName);
50 newSingleInstance->setMaster(inMasterPtr);
51 newSingleInstance->setOriginalName(inOriginalName);
52 inViewPtr->addInstance(newSingleInstance);
53 return newSingleInstance;
73 #ifdef GENOM_SERIALIZATION
74 template <
class Archive>
void SingleInstance::serialize(Archive& ar,
unsigned int) {
75 ar & boost::serialization::base_object<Instance>(*this);
76 ar & boost::serialization::base_object<
81 template void SingleInstance::serialize<boost::archive::binary_iarchive>(
82 boost::archive::binary_iarchive& ar,
const unsigned int);
84 template void SingleInstance::serialize<boost::archive::binary_oarchive>(
85 boost::archive::binary_oarchive& ar,
const unsigned int);
87 #endif //GENOM_SERIALIZATION
A single object with no child objects.
Represents an instantiation of a cell view in the view of another cell.
virtual ~SingleInstance()
virtual void accept(BaseVisitor &inoutVisitor)
Represents a single instance of the view of a cell.
void runVisitor(_Tp &inoutVisited, BaseVisitor &inoutVisitor)
The Error object thrown by different methods of EdifOM.
A base class for Visitor.
virtual SingleInstanceSharedPtr newSingleInstancePtr(const std::string &inName, const ViewSharedPtr &inViewPtr, const ViewSharedPtr &inMasterPtr, const std::string &inOriginalName=std::string())
boost::shared_ptr< View > ViewSharedPtr
boost::shared_ptr< SingleInstance > SingleInstanceSharedPtr
void setCurrentLocation(const std::string &inFunction, const std::string &inFile, uint32_t inLine)