Xrtti::Class Class Reference

#include <Xrtti.h>

Inheritance diagram for Xrtti::Class:

Xrtti::Struct Xrtti::Structure Xrtti::Context

List of all members.

Public Member Functions

virtual ~Class ()
bool operator== (const Context &other) const
bool operator!= (const Context &other) const
bool operator== (const Class &other) const
bool operator!= (const Class &other) const
virtual Type GetType () const


Detailed Description

************************************************************************** A Class represents a C++ class. It is no different from a Struct.

Constructor & Destructor Documentation

virtual Xrtti::Class::~Class (  )  [inline, virtual]


Member Function Documentation

bool Xrtti::Class::operator== ( const Context other  )  const [inline]

Equality operator - returns true if this object is "functionally equivalent" to [other]. The two objects don't have to be exactly identical, but do have to be identical in every meaningful way. Note also that this doesn't test for equality of any base class members; it is a test only at this level of the inheritence hierarcy. To test if an object is completely equals, including for all of its subclasses defined in the Xrtti hierarchy, you must cast this class to its most derived class and call that method.

Parameters:
other is the other object to compare against
Returns:
true if this object is functionally equal to the other, false if not

Reimplemented from Xrtti::Struct.

References Xrtti::Context::GetType().

bool Xrtti::Class::operator!= ( const Context other  )  const [inline]

Inequality operator - returns false when the == operator would return true, and vice versa.

Parameters:
other is the other object to compare against
Returns:
false when the == operator would return true, and vice versa.

Reimplemented from Xrtti::Struct.

bool Xrtti::Class::operator== ( const Class other  )  const [inline]

Equality operator - returns true if this object is "functionally equivalent" to [other]. The two objects don't have to be exactly identical, but do have to be identical in every meaningful way. Note also that this doesn't test for equality of any base class members; it is a test only at this level of the inheritence hierarcy. To test if an object is completely equals, including for all of its subclasses defined in the Xrtti hierarchy, you must cast this class to its most derived class and call that method.

Parameters:
other is the other object to compare against
Returns:
true if this object is functionally equal to the other, false if not

bool Xrtti::Class::operator!= ( const Class other  )  const [inline]

Inequality operator - returns false when the == operator would return true, and vice versa.

Parameters:
other is the other object to compare against
Returns:
false when the == operator would return true, and vice versa.

virtual Type Xrtti::Class::GetType (  )  const [inline, virtual]

Returns the type of this Context, which is Type_Class.

Returns:
the type of this Context, which is Type_Class.

Reimplemented from Xrtti::Struct.


The documentation for this class was generated from the following file:

Generated on Sat Feb 14 22:48:49 2009 by  doxygen 1.5.7.1