LLSDTraits< T > Class Template Reference

#include <llsdtraits.h>

Inheritance diagram for LLSDTraits< T >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 LLSDTraits ()
get (const LLSD &actual)
bool checkType (const LLSD &actual)
template<>
 LLSDTraits ()
template<>
 LLSDTraits ()
template<>
 LLSDTraits ()
template<>
 LLSDTraits ()
template<>
 LLSDTraits ()
template<>
 LLSDTraits ()
template<>
 LLSDTraits ()
template<>
 LLSDTraits ()

Protected Types

typedef T(LLSD::*) Getter () const

Protected Attributes

LLSD::Type type
Getter getter

Detailed Description

template<class T>
class LLSDTraits< T >

Definition at line 39 of file llsdtraits.h.


Member Typedef Documentation

template<class T>
typedef T(LLSD::*) LLSDTraits< T >::Getter() const [protected]

Definition at line 42 of file llsdtraits.h.


Constructor & Destructor Documentation

template<class T>
LLSDTraits< T >::LLSDTraits (  ) 

template<>
LLSDTraits< LLSD::Boolean >::LLSDTraits (  )  [inline]

Definition at line 62 of file llsdtraits.h.

template<>
LLSDTraits< LLSD::Integer >::LLSDTraits (  )  [inline]

Definition at line 67 of file llsdtraits.h.

template<>
LLSDTraits< LLSD::Real >::LLSDTraits (  )  [inline]

Definition at line 72 of file llsdtraits.h.

template<>
LLSDTraits< LLSD::UUID >::LLSDTraits (  )  [inline]

Definition at line 77 of file llsdtraits.h.

template<>
LLSDTraits< LLSD::String >::LLSDTraits (  )  [inline]

Definition at line 82 of file llsdtraits.h.

template<>
LLSDTraits< LLSD::Date >::LLSDTraits (  )  [inline]

Definition at line 95 of file llsdtraits.h.

template<>
LLSDTraits< LLSD::URI >::LLSDTraits (  )  [inline]

Definition at line 100 of file llsdtraits.h.

template<>
LLSDTraits< LLSD::Binary >::LLSDTraits (  )  [inline]

Definition at line 105 of file llsdtraits.h.


Member Function Documentation

template<class T>
bool LLSDTraits< T >::checkType ( const LLSD actual  )  [inline]

Definition at line 55 of file llsdtraits.h.

Referenced by tut::SDTestData::ensureTypeAndValue().

template<class T>
T LLSDTraits< T >::get ( const LLSD actual  )  [inline]

Definition at line 50 of file llsdtraits.h.

Referenced by tut::checkRoundTrip(), and tut::SDTestData::ensureTypeAndValue().


Member Data Documentation

template<class T>
Getter LLSDTraits< T >::getter [protected]

Definition at line 45 of file llsdtraits.h.

Referenced by LLSDTraits< std::string >::get().

template<class T>
LLSD::Type LLSDTraits< T >::type [protected]

Definition at line 44 of file llsdtraits.h.

Referenced by LLSDTraits< std::string >::checkType().


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