CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
ora::AnyData Union Reference

#include <AnyData.h>

Public Member Functions

void * address ()
 
void const * address () const
 
template<typename T >
Tdata ()
 
template<typename T >
T data () const
 
template<>
int & 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(), ora::AnyTypeHandler< bool * >::destroy(), and ora::AnyTypeHandler< bool * >::set().

24 { return v;}
char v[8]
Definition: AnyData.h:9
void const* ora::AnyData::address ( ) const
inline

Definition at line 25 of file AnyData.h.

References v.

25 { return v;}
char v[8]
Definition: AnyData.h:9
template<typename T >
T& ora::AnyData::data ( )
inline
template<typename T >
T ora::AnyData::data ( ) const
inline

Definition at line 32 of file AnyData.h.

References address(), and compareJSON::const.

Referenced by cuy.FindIssue::__init__(), data_sources.node::__str__(), data_sources.json_list::as_dicts(), data_sources.json_list::as_table(), and data_sources.json_list::last().

32 { return *reinterpret_cast<T const*>(address());}
string const
Definition: compareJSON.py:14
long double T
void * address()
Definition: AnyData.h:24
template<>
int& ora::AnyData::data ( void  )
inline

Definition at line 38 of file AnyData.h.

References i.

Referenced by cuy.FindIssue::__init__().

38 { return i;}
template<>
int ora::AnyData::data ( void  ) const
inline

Definition at line 41 of file AnyData.h.

References i.

Referenced by cuy.FindIssue::__init__().

41 { return i;}

Member Data Documentation

bool ora::AnyData::b

Definition at line 10 of file AnyData.h.

char ora::AnyData::c

Definition at line 11 of file AnyData.h.

double ora::AnyData::d

Definition at line 20 of file AnyData.h.

float ora::AnyData::f
int ora::AnyData::i

Definition at line 15 of file AnyData.h.

long long ora::AnyData::l
void* ora::AnyData::p
short ora::AnyData::s

Definition at line 13 of file AnyData.h.

char* ora::AnyData::ss

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().