torc-master
|
An object that has a parent. More...
#include <ParentedObject.hpp>
Public Member Functions | |
virtual | ~ParentedObject () throw () |
const boost::shared_ptr < _ParentType > | getParent () const |
virtual void | setParent (const boost::shared_ptr< _ParentType > &inSource) |
Protected Member Functions | |
ParentedObject () | |
Private Member Functions | |
ParentedObject (const ParentedObject< _ParentType > &source) | |
ParentedObject< _ParentType > & | operator= (const ParentedObject< _ParentType > &source) |
Private Attributes | |
boost::weak_ptr< _ParentType > | mParent |
An object that has a parent.
EDIF 2 0 0 defines a nested hierarchy of objects in a design. As such most of the non-root elements have a corresponding parent object. However, the type of parent depends on the type of object. The ParentedObject template therefore provides a mechanism for storing a pointer to the parent object.
Definition at line 40 of file ParentedObject.hpp.
|
protected |
Definition at line 80 of file ParentedObject.hpp.
|
virtual |
Definition at line 82 of file ParentedObject.hpp.
|
private |
|
inline |
Get a pointer to the parent object
Definition at line 90 of file ParentedObject.hpp.
|
private |
|
virtual |
Set a pointer to the parent
[in] | inSource | Set a pointer to the parent |
Definition at line 99 of file ParentedObject.hpp.
|
private |
Definition at line 77 of file ParentedObject.hpp.