ObjectType.h

Classes

ObjectType -- Base Class for Objects in Tasking interface (full description)

class ObjectType

Interface

Public Members
ObjectType()
ObjectType(const String &typeName)
ObjectType(const ObjectType &other)
ObjectType(const Vector<String> &typeNames)
ObjectType &operator=(const ObjectType &other)
~ObjectType()
void addAncestor(const String &typeName)
void addChild(const String &typeName)
Bool isExactTypeOf(const ObjectType &other) const
Bool operator==(const ObjectType &other) const
Bool operator!=(const ObjectType &other) const
Bool isA(const ObjectType &other) const
const Vector<String> &typeNames() const

Description

or

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Example

Motivation

Template Type Argument Requirements (T)

Thrown Exceptions

To Do

Member Description

ObjectType()

ObjectType(const String &typeName)

ObjectType(const ObjectType &other)

ObjectType(const Vector<String> &typeNames)

ObjectType &operator=(const ObjectType &other)

~ObjectType()

void addAncestor(const String &typeName)

We should check that the type doesn't already exist

void addChild(const String &typeName)

Bool isExactTypeOf(const ObjectType &other) const

Bool operator==(const ObjectType &other) const

Bool operator!=(const ObjectType &other) const

!!!! Move out of class declaration

Bool isA(const ObjectType &other) const

const Vector<String> &typeNames() const