CMS 3D CMS Logo

Public Member Functions | Public Attributes

ora::AnyData Union Reference

#include <AnyData.h>

List of all members.

Public Member Functions

void * address ()
void const * address () const
template<typename T >
data () const
template<typename T >
T & data ()
template<>
int data () const

Public Attributes

bool b
char c
double d
float f
int i
long long l
void * p
short s
char * ss
unsigned char uc
unsigned int ui
unsigned long long ul
unsigned short us
char v [8]

Detailed Description

Definition at line 6 of file AnyData.h.


Member Function Documentation

void* ora::AnyData::address ( ) [inline]

Definition at line 24 of file AnyData.h.

References v.

Referenced by ora::AnyTypeHandler< bool * >::create(), data(), and ora::AnyTypeHandler< bool * >::destroy().

{ return v;}
void const* ora::AnyData::address ( ) const [inline]

Definition at line 25 of file AnyData.h.

References v.

{ return v;}
template<typename T >
T ora::AnyData::data ( ) const [inline]

Definition at line 32 of file AnyData.h.

References address(), and compareJSON::const.

{ return *reinterpret_cast<T const*>(address());}   
int & ora::AnyData::data< int > ( ) [inline]

Definition at line 29 of file AnyData.h.

References address().

{ return *reinterpret_cast<T*>(address());}   
template<>
int ora::AnyData::data ( void  ) const [inline]

Definition at line 41 of file AnyData.h.

References i.

{ return i;}   

Member Data Documentation

Definition at line 10 of file AnyData.h.

Definition at line 11 of file AnyData.h.

Definition at line 20 of file AnyData.h.

Definition at line 19 of file AnyData.h.

Definition at line 15 of file AnyData.h.

long long ora::AnyData::l

Definition at line 17 of file AnyData.h.

Definition at line 13 of file AnyData.h.

Definition at line 22 of file AnyData.h.

unsigned char ora::AnyData::uc

Definition at line 12 of file AnyData.h.

unsigned int ora::AnyData::ui

Definition at line 16 of file AnyData.h.

unsigned long long ora::AnyData::ul

Definition at line 18 of file AnyData.h.

unsigned short ora::AnyData::us

Definition at line 14 of file AnyData.h.

char ora::AnyData::v[8]

Definition at line 9 of file AnyData.h.

Referenced by address().