16 #ifndef TORC_GENERIC_CELL_HPP
17 #define TORC_GENERIC_CELL_HPP
20 #ifdef GENOM_SERIALIZATION
21 #include <boost/serialization/access.hpp>
22 #endif //GENOM_SERIALIZATION
39 namespace torc {
namespace generic {
class BaseVisitor; } }
40 namespace torc {
namespace generic {
class Library; } }
41 namespace torc {
namespace generic {
class View; } }
58 #ifdef GENOM_SERIALIZATION
59 friend class boost::serialization::access;
60 friend class RestoredCellUpdater;
177 inline void getViews(std::vector<ViewSharedPtr>& outViews)
const;
186 virtual ~Cell() throw ();
192 #ifdef GENOM_SERIALIZATION
193 template <
class Archive>
void serialize(Archive& ar,
unsigned int);
195 void restoreActions() throw (
Error);
196 #endif //GENOM_SERIALIZATION
197 Cell(
const Cell& rhs);
226 mViewSymTab.applyOnAll(action);
236 #endif // TORC_GENERIC_CELL_HPP
void getValues(std::vector< ValueType > &outValues) const
An acyclic inoutVisitor implementation.
An object that has a parent.
void addView(const ViewSharedPtr &inView)
const Type getType() const
SymTab< std::string, ViewSharedPtr > mViewSymTab
void removeView(const std::string &inName)
Represents objects that have properties.
void applyOnAllViews(const _Action &action)
Represents class that can hold userData.
The Error object thrown by different methods of EdifOM.
Cell & operator=(const Cell &rhs)
ParameterMapSharedPtr mParameters
boost::shared_ptr< Library > LibrarySharedPtr
A base class for Visitor.
virtual CellSharedPtr newCellPtr(const std::string &inName, const LibrarySharedPtr &inLibraryPtr, const Cell::Type &inCellType=Cell::eTypeGeneric, const std::string &inOriginalName=std::string())
ViewSharedPtr findView(const std::string &inName)
void setType(const Type &inSource)
VisitorType< Cell > Visitor
void getViews(std::vector< ViewSharedPtr > &outViews) const
boost::shared_ptr< View > ViewSharedPtr
boost::shared_ptr< Cell > CellSharedPtr
An object that has a name.
Represents objects that can be renamed.
Represents objects that have status.
A placeholder for a factory method.
boost::shared_ptr< ParameterMap > ParameterMapSharedPtr
virtual void accept(BaseVisitor &inoutVisitor)
An object that receives an inoutVisitor.
Used to implement external object referencing.
void setCurrentLocation(const std::string &inFunction, const std::string &inFile, uint32_t inLine)