RAIN.Ontology.Aspect Class Reference

An Aspect defines an observable characterstic of an object. Aspects are identified by their name and by the sensation that would be used to detect the Aspect. Aspects do not themselves have definitions, but instead are defined entirely by their relationship (coexistence with) other Aspects and the interpretation of the sensing entity. More...

Inheritance diagram for RAIN.Ontology.Aspect:
RAIN.Ontology.Observable

List of all members.

Public Member Functions

 Aspect ()
 default constructor
 Aspect (string aName, Sensation s)
 Constructor for initializing an Aspect with a name and Sensation.
Aspect Clone ()
 Clone makes a shallow copy of an Aspect, copying only the Aspect name and cloning the Sensation.
Aspect[] GetAspects ()
 GetAspects returns Aspects directly associated with an Observable. Aspects themselves are observable, meaning that Aspects can have Aspects.
Aspect[] GetAllAspects ()
 GetAllAspects returns all Aspects associated with an Observable, either directly or nested in its hierarchy.

Public Attributes

string aspectName
 The name of the Aspect.
Sensation sensation
 The Sensation associated with the Aspect.

Detailed Description

An Aspect defines an observable characterstic of an object. Aspects are identified by their name and by the sensation that would be used to detect the Aspect. Aspects do not themselves have definitions, but instead are defined entirely by their relationship (coexistence with) other Aspects and the interpretation of the sensing entity.


Constructor & Destructor Documentation

RAIN.Ontology.Aspect.Aspect ( )

default constructor

RAIN.Ontology.Aspect.Aspect ( string  aName,
Sensation  s 
)

Constructor for initializing an Aspect with a name and Sensation.

Parameters:
aNameThe name of the Aspect
sThe Sensation associated with the Aspect

Member Function Documentation

Aspect RAIN.Ontology.Aspect.Clone ( )

Clone makes a shallow copy of an Aspect, copying only the Aspect name and cloning the Sensation.

Returns:
Returns a new Aspect with the same name and Sensation as the original
Aspect [] RAIN.Ontology.Aspect.GetAllAspects ( )

GetAllAspects returns all Aspects associated with an Observable, either directly or nested in its hierarchy.

Returns:
Returns an array of Aspects

Implements RAIN.Ontology.Observable.

Aspect [] RAIN.Ontology.Aspect.GetAspects ( )

GetAspects returns Aspects directly associated with an Observable. Aspects themselves are observable, meaning that Aspects can have Aspects.

Returns:
Returns an array of Aspects

Implements RAIN.Ontology.Observable.


Member Data Documentation

The name of the Aspect.