Xrtti::Struct Class Reference

#include <Xrtti.h>

Inheritance diagram for Xrtti::Struct:

Xrtti::Structure Xrtti::Context Xrtti::Class

List of all members.

Public Member Functions

virtual ~Struct ()
bool operator== (const Context &other) const
bool operator!= (const Context &other) const
bool operator== (const Struct &other) const
bool operator!= (const Struct &other) const
virtual Type GetType () const
virtual bool IsAbstract () const =0
virtual u32 GetMethodCount () const =0
virtual const MethodGetMethod (u32 index) const =0


Detailed Description

************************************************************************** A Struct represents a C++ struct. It is a Structure with Methods.

Constructor & Destructor Documentation

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


Member Function Documentation

bool Xrtti::Struct::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::Context.

Reimplemented in Xrtti::Class.

References Xrtti::Context::GetType().

bool Xrtti::Struct::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::Context.

Reimplemented in Xrtti::Class.

bool Xrtti::Struct::operator== ( const Struct other  )  const

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::Struct::operator!= ( const Struct 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::Struct::GetType (  )  const [inline, virtual]

Returns the type of this Context, which is Type_Struct.

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

Implements Xrtti::Context.

Reimplemented in Xrtti::Class.

virtual bool Xrtti::Struct::IsAbstract (  )  const [pure virtual]

Returns true if this Structure is abstract (defines at least one pure virtual method), false if not.

Returns:
true if this Structure is abstract (defines at least one pure virtual method), false if not.

virtual u32 Xrtti::Struct::GetMethodCount (  )  const [pure virtual]

Returns the number of Methods of this Struct.

Returns:
the number of Methods of this Struct.

virtual const Method& Xrtti::Struct::GetMethod ( u32  index  )  const [pure virtual]

Returns a Method of this Struct.

Parameters:
index is the number of the Method to return
Returns:
a Method of this 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