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

IManagedObject Class Reference
[Managed Objects]

IManagedObject Class Definition. More...

#include <IManagedObject.h>

Inheritance diagram for IManagedObject:

Inheritance graph
[legend]
Collaboration diagram for IManagedObject:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual void * getChild (int inIndex)=0
virtual void getChildType (int inIndex, char *outType, int inMaxLength)=0
virtual void getType (char *outType, int inMaxLength)=0
virtual void * getNode ()=0
virtual void * getParentNode ()=0
virtual IObjectManagergetManager ()=0
virtual IObjectEventHandlergetEventHandler ()=0
virtual WDError setAttribute (const char *inAttribute, const char *inValue)=0
virtual WDError getAttribute (const char *inAttribute, char *outValue, int inMaxLength)=0
virtual int getChildCount ()=0
virtual WDError setName (const char *inName)=0
virtual WDError getName (char *outName, int inMaxLength)=0
virtual int getIndex ()=0

Detailed Description

IManagedObject Class Definition.

Interface for the ManagedObject family. A ManagedObject provides an interface for an observer so that many observers can safely access the same data node.


Member Function Documentation

virtual WDError IManagedObject::getAttribute const char *    inAttribute,
char *    outValue,
int    inMaxLength
[pure virtual]
 

Returns an attribute of the object

Parameters:
inAttribute  Attribute to be set
outValue  Value of the attribute.
inMaxLength  Size of the character buffer
Returns:
kWDXMLTagNotFoundErr if the attribute was not set.

Implemented in ManagedObject.

virtual void* IManagedObject::getChild int    inIndex [pure virtual]
 

Returns the child data node at the specified index

Parameters:
inIndex  index of the requested child
Returns:
NULL if the specified child does not exist

Implemented in ManagedObject.

virtual int IManagedObject::getChildCount   [pure virtual]
 

Returns the number of children associated with the object

Implemented in ManagedObject.

virtual void IManagedObject::getChildType int    inIndex,
char *    outType,
int    inMaxLength
[pure virtual]
 

Implemented in ManagedObject.

virtual IObjectEventHandler* IManagedObject::getEventHandler   [pure virtual]
 

Implemented in ManagedObject.

virtual int IManagedObject::getIndex   [pure virtual]
 

Returns the index of the object with regard to its parent

Implemented in ManagedObject.

virtual IObjectManager* IManagedObject::getManager   [pure virtual]
 

Implemented in ManagedObject.

virtual WDError IManagedObject::getName char *    outName,
int    inMaxLength
[pure virtual]
 

Returns the name (ID) of the object

Parameters:
outName  Name of the object
inMaxLength  The size of the character buffer

Implemented in ManagedObject.

virtual void* IManagedObject::getNode   [pure virtual]
 

Implemented in ManagedObject.

virtual void* IManagedObject::getParentNode   [pure virtual]
 

Implemented in ManagedObject.

virtual void IManagedObject::getType char *    outType,
int    inMaxLength
[pure virtual]
 

Implemented in ManagedObject.

virtual WDError IManagedObject::setAttribute const char *    inAttribute,
const char *    inValue
[pure virtual]
 

Sets an attribute of the object

Parameters:
inAttribute  Attribute to be set
inValue  Value of the attribute. Set this to NULL to remove the attribute.

Implemented in ManagedObject.

virtual WDError IManagedObject::setName const char *    inName [pure virtual]
 

Sets the name (ID) of the object

Parameters:
inName  Name of the object

Implemented in ManagedObject.


The documentation for this class was generated from the following file:
Generated on Mon Apr 15 15:23:16 2002 for WhiteDwarf by doxygen1.2.15