LLMetaProperty Class Reference

#include <metaproperty.h>

Inheritance diagram for LLMetaProperty:

Inheritance graph
[legend]
Collaboration diagram for LLMetaProperty:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLMetaProperty (const std::string &name, const LLMetaClass &object_class)
virtual ~LLMetaProperty ()
const std::string & getName () const
virtual const LLReflectiveget (const LLReflective *object) const =0
virtual LLSD getLLSD (const LLReflective *object) const =0
const LLMetaClassgetObjectMetaClass () const

Protected Member Functions

void checkObjectClass (const LLReflective *object) const

Private Attributes

std::string mName
const LLMetaClassmObjectClass

Detailed Description

Definition at line 43 of file metaproperty.h.


Constructor & Destructor Documentation

LLMetaProperty::LLMetaProperty ( const std::string &  name,
const LLMetaClass object_class 
)

Definition at line 40 of file metaproperty.cpp.

LLMetaProperty::~LLMetaProperty (  )  [virtual]

Definition at line 46 of file metaproperty.cpp.


Member Function Documentation

void LLMetaProperty::checkObjectClass ( const LLReflective object  )  const [protected]

Definition at line 55 of file metaproperty.cpp.

References LLMetaClass::isInstance(), and mObjectClass.

Referenced by LLMetaPropertyT< TProperty >::get().

virtual const LLReflective* LLMetaProperty::get ( const LLReflective object  )  const [pure virtual]

Implemented in LLMetaPropertyT< TProperty >, LLMetaPropertyT< TProperty >, LLMetaPropertyT< TProperty >, LLMetaPropertyT< TProperty >, and LLMetaPropertyT< TProperty >.

virtual LLSD LLMetaProperty::getLLSD ( const LLReflective object  )  const [pure virtual]

Implemented in LLMetaPropertyT< TProperty >, LLMetaPropertyT< TProperty >, LLMetaPropertyT< TProperty >, LLMetaPropertyT< TProperty >, and LLMetaPropertyT< TProperty >.

const std::string& LLMetaProperty::getName (  )  const [inline]

Definition at line 50 of file metaproperty.h.

References mName.

Referenced by LLMetaClass::addProperty().

const LLMetaClass & LLMetaProperty::getObjectMetaClass (  )  const

Definition at line 50 of file metaproperty.cpp.

References mObjectClass.


Member Data Documentation

std::string LLMetaProperty::mName [private]

Definition at line 74 of file metaproperty.h.

Referenced by getName().

const LLMetaClass& LLMetaProperty::mObjectClass [private]

Definition at line 75 of file metaproperty.h.

Referenced by checkObjectClass(), and getObjectMetaClass().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:31 2010 for Second Life Viewer by  doxygen 1.4.7