Basic Interface to Alias Character Network Space.
#include <AlCharacterSpace.h>
class AlCharacterSpace : public AlObject
AlCharacterSpace();
virtual ~AlCharacterSpace();
statusCode create();
virtual statusCode deleteObject();
virtual AlObject* copyWrapper() const;
virtual AlObjectType type() const;
// Character network methods.
AlCharacter* createCharacter(const char *);
statusCode deleteCharacter(AlCharacter *);
AlCharacter* findCharacterByName(const char *);
AlCharacter* firstCharacter(void);
AlCharacter* nextCharacter(void);
This class encapsulates the basic functionality for creating, iterating through, locating by name, and deleting Character Networks.
See the AlCharacter class for a description of a Character Network.
The Character Network Space is the set of all Character Networks.
statusCode AlCharacterSpace::deleteObject()
Delete all the Alias Character Network objects in the Alias Character Network space. For each Character Network in the Character Network space, the deleteObject() method will be invoked for that Character Network. See the AlCharacter class for more information on Character Networks. This method deletes all the Character Network object data. Upon return there will be no Character Networks.
AlCharacter* AlCharacterSpace::createCharacter(const char *characterName)
Creates a new Character Network in the Character Network Space and returns a pointer to the AlCharacter wrapper. If a Character Network object with the requested name already exists then a new unique name is used for the new Character Network. Uses the AlCharacter::name() method to determine the actual name of a Character Network. See the AlCharacter class for more information on Character Networks.
statusCode AlCharacterSpace::deleteCharacter(AlCharacter *character)
Deletes the specified Character Network object from the Character Network Space. See the AlCharacter class for more information on Character Networks.
AlCharacter* AlCharacterSpace::findCharacterByName(const char *characterName)