LLSDTraits< T > Class Template Reference

#include <llsdtraits.h>

Inheritance diagram for LLSDTraits< T >:

Inheritance graph
[legend]
Collaboration diagram for LLSDTraits< T >:

Collaboration 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]


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>
T LLSDTraits< T >::get ( const LLSD actual  )  [inline]

Definition at line 50 of file llsdtraits.h.

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

Here is the caller graph for this function:

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

Definition at line 55 of file llsdtraits.h.

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

Here is the caller graph for this function:


Member Data Documentation

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

Definition at line 44 of file llsdtraits.h.

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

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

Definition at line 45 of file llsdtraits.h.

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


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

Generated on Fri May 16 09:03:44 2008 for SecondLife by  doxygen 1.5.5