CFx SDK Documentation  2023 SP0
Public Member Functions | Static Public Attributes | List of all members
OdAny Class Reference

#include <daiAny.h>

Public Member Functions

 OdAny ()
 
 OdAny (const OdAny &other)
 
 OdAny (const OdTypeCodePtr typeCode, void *val, unsigned int size=1)
 
 ~OdAny ()
 
const voidvalue () const
 
unsigned int size () const
 
const OdTypeCodePtr type () const
 
OdTCKind kind () const
 
void kind (OdTCKind kind)
 
void reset ()
 
bool getTypePath (OdArray< OdAnsiString > &path)
 
bool setTypePath (OdTypeCodePtr typeCode)
 
void operator<< (const short val)
 
bool operator>> (short &val) const
 
void operator<< (const unsigned short val)
 
bool operator>> (unsigned short &val) const
 
void operator<< (const int val)
 
bool operator>> (int &val) const
 
void operator<< (const unsigned long val)
 
bool operator>> (unsigned long &val) const
 
void operator<< (const float val)
 
bool operator>> (float &val) const
 
void operator<< (const OdDAI::OdLogical &val)
 
bool operator>> (OdDAI::OdLogical &val) const
 
void operator<< (const bool val)
 
bool operator>> (bool &val) const
 
void operator<< (const double val)
 
bool operator>> (double &val) const
 
void operator<< (const OdString &val)
 
bool operator>> (OdString &val) const
 
void operator<< (const char *val)
 
void operator<< (const OdAnsiString &val)
 
bool operator>> (OdAnsiString &val) const
 
void operator<< (const OdDAIObjectId &val)
 
bool operator>> (OdDAIObjectId &val) const
 
void operator<< (const OdTypeCodePtr val)
 
bool operator>> (OdTypeCodePtr &val) const
 
bool operator>> (OdAny &val) const
 
bool operator>> (OdDAI::OdSelect *&val)
 
void operator<< (const OdArray< short > &val)
 
bool operator>> (OdArray< short > &val) const
 
void operator<< (const OdArray< unsigned short > &val)
 
bool operator>> (OdArray< unsigned short > &val) const
 
void operator<< (const OdArray< int > &val)
 
bool operator>> (OdArray< int > &val) const
 
void operator<< (const OdArray< OdArray< int > > &val)
 
bool operator>> (OdArray< OdArray< int > > &val) const
 
void operator<< (const OdArray< unsigned long > &val)
 
bool operator>> (OdArray< unsigned long > &val) const
 
void operator<< (const OdArray< float > &val)
 
bool operator>> (OdArray< float > &val) const
 
void operator<< (const OdArray< double > &val)
 
bool operator>> (OdArray< double > &val) const
 
void operator<< (const OdArray< OdArray< double > > &val)
 
bool operator>> (OdArray< OdArray< double > > &val) const
 
void operator<< (const OdArray< OdDAI::OdLogical > &val)
 
bool operator>> (OdArray< OdDAI::OdLogical > &val) const
 
void operator<< (const OdArray< bool > &val)
 
bool operator>> (OdArray< bool > &val) const
 
void operator<< (const OdArray< OdString > &val)
 
bool operator>> (OdArray< OdString > &val) const
 
void operator<< (const OdArray< OdAnsiString > &val)
 
bool operator>> (OdArray< OdAnsiString > &val) const
 
void operator<< (const OdArray< OdDAIObjectId > &val)
 
bool operator>> (OdArray< OdDAIObjectId > &val) const
 
void operator<< (const OdArray< OdArray< OdDAIObjectId > > &val)
 
bool operator>> (OdArray< OdArray< OdDAIObjectId > > &val) const
 
void operator<< (const OdArray< const OdTypeCode * > &val)
 
bool operator>> (OdArray< OdTypeCode * > &val) const
 
void operator<< (const OdArray< OdAny > &val)
 
bool operator>> (OdArray< OdAny > &val) const
 
bool operator>> (OdArray< OdDAI::OdSelect * > &val) const
 
bool operator== (const OdAny &right) const
 
bool operator!= (const OdAny &right) const
 
OdAnyoperator= (const OdAny &)
 
void assignArray (const double *arr, int size)
 

Static Public Attributes

static DAI_EXPORT_STATIC const OdAny kEmpty
 

Detailed Description

Definition at line 39 of file daiAny.h.

Constructor & Destructor Documentation

◆ OdAny() [1/3]

OdAny::OdAny ( )

◆ OdAny() [2/3]

OdAny::OdAny ( const OdAny other)

◆ OdAny() [3/3]

OdAny::OdAny ( const OdTypeCodePtr  typeCode,
void val,
unsigned int  size = 1 
)
inline

Definition at line 47 of file daiAny.h.

◆ ~OdAny()

OdAny::~OdAny ( )

Member Function Documentation

◆ assignArray()

void OdAny::assignArray ( const double *  arr,
int  size 
)

◆ getTypePath()

bool OdAny::getTypePath ( OdArray< OdAnsiString > &  path)

◆ kind() [1/2]

OdTCKind OdAny::kind ( ) const

◆ kind() [2/2]

void OdAny::kind ( OdTCKind  kind)

◆ operator!=()

bool OdAny::operator!= ( const OdAny right) const

◆ operator<<() [1/29]

void OdAny::operator<< ( const bool  val)

◆ operator<<() [2/29]

void OdAny::operator<< ( const char *  val)

◆ operator<<() [3/29]

void OdAny::operator<< ( const double  val)

◆ operator<<() [4/29]

void OdAny::operator<< ( const float  val)

◆ operator<<() [5/29]

void OdAny::operator<< ( const int  val)

◆ operator<<() [6/29]

void OdAny::operator<< ( const OdAnsiString &  val)

◆ operator<<() [7/29]

void OdAny::operator<< ( const OdArray< bool > &  val)

◆ operator<<() [8/29]

void OdAny::operator<< ( const OdArray< const OdTypeCode * > &  val)

◆ operator<<() [9/29]

void OdAny::operator<< ( const OdArray< double > &  val)

◆ operator<<() [10/29]

void OdAny::operator<< ( const OdArray< float > &  val)

◆ operator<<() [11/29]

void OdAny::operator<< ( const OdArray< int > &  val)

◆ operator<<() [12/29]

void OdAny::operator<< ( const OdArray< OdAnsiString > &  val)

◆ operator<<() [13/29]

void OdAny::operator<< ( const OdArray< OdAny > &  val)

◆ operator<<() [14/29]

void OdAny::operator<< ( const OdArray< OdArray< double > > &  val)

◆ operator<<() [15/29]

void OdAny::operator<< ( const OdArray< OdArray< int > > &  val)

◆ operator<<() [16/29]

void OdAny::operator<< ( const OdArray< OdArray< OdDAIObjectId > > &  val)

◆ operator<<() [17/29]

void OdAny::operator<< ( const OdArray< OdDAI::OdLogical > &  val)

◆ operator<<() [18/29]

void OdAny::operator<< ( const OdArray< OdDAIObjectId > &  val)

◆ operator<<() [19/29]

void OdAny::operator<< ( const OdArray< OdString > &  val)

◆ operator<<() [20/29]

void OdAny::operator<< ( const OdArray< short > &  val)

◆ operator<<() [21/29]

void OdAny::operator<< ( const OdArray< unsigned long > &  val)

◆ operator<<() [22/29]

void OdAny::operator<< ( const OdArray< unsigned short > &  val)

◆ operator<<() [23/29]

void OdAny::operator<< ( const OdDAI::OdLogical val)

◆ operator<<() [24/29]

void OdAny::operator<< ( const OdDAIObjectId val)

◆ operator<<() [25/29]

void OdAny::operator<< ( const OdString val)

◆ operator<<() [26/29]

void OdAny::operator<< ( const OdTypeCodePtr  val)

◆ operator<<() [27/29]

void OdAny::operator<< ( const short  val)

◆ operator<<() [28/29]

void OdAny::operator<< ( const unsigned long  val)

◆ operator<<() [29/29]

void OdAny::operator<< ( const unsigned short  val)

◆ operator=()

OdAny& OdAny::operator= ( const OdAny )

◆ operator==()

bool OdAny::operator== ( const OdAny right) const

◆ operator>>() [1/31]

bool OdAny::operator>> ( bool &  val) const

◆ operator>>() [2/31]

bool OdAny::operator>> ( double &  val) const

◆ operator>>() [3/31]

bool OdAny::operator>> ( float &  val) const

◆ operator>>() [4/31]

bool OdAny::operator>> ( int &  val) const

◆ operator>>() [5/31]

bool OdAny::operator>> ( OdAnsiString &  val) const

◆ operator>>() [6/31]

bool OdAny::operator>> ( OdAny val) const

◆ operator>>() [7/31]

bool OdAny::operator>> ( OdArray< bool > &  val) const

◆ operator>>() [8/31]

bool OdAny::operator>> ( OdArray< double > &  val) const

◆ operator>>() [9/31]

bool OdAny::operator>> ( OdArray< float > &  val) const

◆ operator>>() [10/31]

bool OdAny::operator>> ( OdArray< int > &  val) const

◆ operator>>() [11/31]

bool OdAny::operator>> ( OdArray< OdAnsiString > &  val) const

◆ operator>>() [12/31]

bool OdAny::operator>> ( OdArray< OdAny > &  val) const

◆ operator>>() [13/31]

bool OdAny::operator>> ( OdArray< OdArray< double > > &  val) const

◆ operator>>() [14/31]

bool OdAny::operator>> ( OdArray< OdArray< int > > &  val) const

◆ operator>>() [15/31]

bool OdAny::operator>> ( OdArray< OdArray< OdDAIObjectId > > &  val) const

◆ operator>>() [16/31]

bool OdAny::operator>> ( OdArray< OdDAI::OdLogical > &  val) const

◆ operator>>() [17/31]

bool OdAny::operator>> ( OdArray< OdDAI::OdSelect * > &  val) const

◆ operator>>() [18/31]

bool OdAny::operator>> ( OdArray< OdDAIObjectId > &  val) const

◆ operator>>() [19/31]

bool OdAny::operator>> ( OdArray< OdString > &  val) const

◆ operator>>() [20/31]

bool OdAny::operator>> ( OdArray< OdTypeCode * > &  val) const

◆ operator>>() [21/31]

bool OdAny::operator>> ( OdArray< short > &  val) const

◆ operator>>() [22/31]

bool OdAny::operator>> ( OdArray< unsigned long > &  val) const

◆ operator>>() [23/31]

bool OdAny::operator>> ( OdArray< unsigned short > &  val) const

◆ operator>>() [24/31]

bool OdAny::operator>> ( OdDAI::OdLogical val) const

◆ operator>>() [25/31]

bool OdAny::operator>> ( OdDAI::OdSelect *&  val)

◆ operator>>() [26/31]

bool OdAny::operator>> ( OdDAIObjectId val) const

◆ operator>>() [27/31]

bool OdAny::operator>> ( OdString val) const

◆ operator>>() [28/31]

bool OdAny::operator>> ( OdTypeCodePtr val) const

◆ operator>>() [29/31]

bool OdAny::operator>> ( short &  val) const

◆ operator>>() [30/31]

bool OdAny::operator>> ( unsigned long &  val) const

◆ operator>>() [31/31]

bool OdAny::operator>> ( unsigned short &  val) const

◆ reset()

void OdAny::reset ( )

◆ setTypePath()

bool OdAny::setTypePath ( OdTypeCodePtr  typeCode)

◆ size()

unsigned int OdAny::size ( ) const
inline

Definition at line 52 of file daiAny.h.

◆ type()

const OdTypeCodePtr OdAny::type ( ) const

◆ value()

const void* OdAny::value ( ) const
inline

Definition at line 51 of file daiAny.h.

Member Data Documentation

◆ kEmpty

DAI_EXPORT_STATIC const OdAny OdAny::kEmpty
static

Definition at line 43 of file daiAny.h.


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