Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

IDEA::PslObjectClass Class Reference
[PlanServer handle classes]

Abstraction that represents a family of objects in the domain model. More...

#include <PslObjectClass.hh>

List of all members.

Public Methods

 ~PslObjectClass ()
 Destructor.

PslObjectClassImplgetImpl () const
 Returns the implementation.

const std::string & getName () const
 Returns the name of the object class.

const PslAttributeSetgetAttributes () const
 Returns a vector of the attributes for the object class.

const PslAttributecreateAttribute (const std::string &name) const
 Creates an instance of a PslAttribute by the name name and returns the instance. If such an attribute by the name name already exists it will be returned and no new one will be created.

const PslAttributegetAttribute (const std::string &name) const
 Returns the PslAttribute instance by the name name associated with the invoking instance if such exists otherwise returns 0.

bool isClosed () const
 Returns true if the invoking instance is closed, otherwise returns false.


Private Methods

 PslObjectClass (PslObjectClassImpl *impl)
 Constructor.


Private Attributes

PslObjectClassImplm_Impl

Friends

class PslModelManagerImpl


Detailed Description

Abstraction that represents a family of objects in the domain model.

class PslObjectClass


Constructor & Destructor Documentation

IDEA::PslObjectClass::~PslObjectClass  
 

Destructor.

IDEA::PslObjectClass::PslObjectClass PslObjectClassImpl   impl [private]
 

Constructor.


Member Function Documentation

const PslAttribute * IDEA::PslObjectClass::createAttribute const std::string &    name const
 

Creates an instance of a PslAttribute by the name name and returns the instance. If such an attribute by the name name already exists it will be returned and no new one will be created.

const PslAttribute * IDEA::PslObjectClass::getAttribute const std::string &    name const
 

Returns the PslAttribute instance by the name name associated with the invoking instance if such exists otherwise returns 0.

const PslAttributeSet & IDEA::PslObjectClass::getAttributes  
 

Returns a vector of the attributes for the object class.

PslObjectClassImpl * IDEA::PslObjectClass::getImpl  
 

Returns the implementation.

const std::string & IDEA::PslObjectClass::getName  
 

Returns the name of the object class.

bool IDEA::PslObjectClass::isClosed  
 

Returns true if the invoking instance is closed, otherwise returns false.

If an object-class is closed it is no longer possible to add attributes. An object-class is not closed at construction and will be closed once one creates timelines for an object instance of the invoking instance.


Friends And Related Function Documentation

friend class PslModelManagerImpl [friend]
 


Member Data Documentation

PslObjectClassImpl* IDEA::PslObjectClass::m_Impl [private]
 


Contact information
© IDEA
Generated on Fri Feb 3 17:09:47 2006 for IDEA.