Inheritance diagram for srObjectState:
Public Methods | |
srObjectState (const sd::sdObject *def, const AttributeMap &attributes, const RelationshipMap &relationships) | |
virtual | ~srObjectState () |
virtual void | accept (srVisitorMgr &visitor) |
const sd::sdObject * | getDef () const |
AttributeConstIter | beginAttribute () const |
AttributeConstIter | endAttribute () const |
RelationshipConstIter | beginRelationship () const |
RelationshipConstIter | endRelationship () const |
void | addAttribute (srAttributeBase::SPtr attribute, bool overwrite=false) |
void | addRelationship (srRelationshipBase::SPtr relationship, bool overwrite=false) |
void | setAttributes (const AttributeMap &attributes) |
void | setRelationships (const RelationshipMap &relationships) |
Public Types | |
typedef srObjectState * | SPtr |
typedef std::map< const sd::sdAttribute *, srAttributeBase::SPtr, srSDEnumLess< sd::sdAttribute > > | AttributeMap |
typedef std::map< const sd::sdRelationshipBase *, srRelationshipBase::SPtr, srSDEnumLess< sd::sdRelationshipBase > > | RelationshipMap |
typedef std::pair< const sd::sdAttribute *, srAttributeBase::SPtr > | AttributePair |
typedef std::pair< const sd::sdRelationshipBase *, srRelationshipBase::SPtr > | RelationshipPair |
typedef AttributeMap::const_iterator | AttributeConstIter |
typedef RelationshipMap::const_iterator | RelationshipConstIter |
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from srBase. |
|
This is the srObjectState constructor.
|
|
This is the srObjectState destructor. |
|
This function is responsible for calling the correct visitor.
Implements srBase. |
|
This function adds an attribute to the object state.
|
|
This function adds a relationship to the object state.
|
|
This function returns a constant iterator pointing to the first attribute in the collection. |
|
This function returns a constant iterator pointing to the first relationship in the collection. |
|
This function returns a constant iterator pointing to the last attribute in the collection. |
|
This function returns a constant iterator pointing to the last relationship in the collection. |
|
This function is the accessor to get the schema definition object. |
|
This function sets the attributes of the object state.
|
|
This function sets the relationships of the object state.
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.