Xrtti::Member Class Reference

#include <Xrtti.h>

Inheritance diagram for Xrtti::Member:

Xrtti::Constructor Xrtti::Destructor Xrtti::Field Xrtti::Method

List of all members.

Public Member Functions

virtual ~Member ()
bool operator== (const Member &other) const
bool operator!= (const Member &other) const
virtual AccessType GetAccessType () const =0
virtual const ContextGetContext () const =0
virtual const char * GetName () const =0
virtual bool IsStatic () const =0


Detailed Description

************************************************************************** Member is the base class of all members of a Structure, including Constructor, Method, and Field.

Constructor & Destructor Documentation

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


Member Function Documentation

bool Xrtti::Member::operator== ( const Member 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::Member::operator!= ( const Member 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 AccessType Xrtti::Member::GetAccessType (  )  const [pure virtual]

Returns the access type of the member.

Returns:
the access type of the member.

virtual const Context& Xrtti::Member::GetContext (  )  const [pure virtual]

Returns the Context in which the Member is declared; it is the Context which "owns" the Member and in which the Member lives.

Returns:
the Context in which the Member is declared

virtual const char* Xrtti::Member::GetName (  )  const [pure virtual]

Returns the name of this member.

Returns:
the name of this member.

virtual bool Xrtti::Member::IsStatic (  )  const [pure virtual]

Returns true if the Member is static in scope, false if it is not.

Returns:
true if the Member is static in scope, false if it is not.


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