HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
UT_Defaults Class Reference

#include <UT_Defaults.h>

+ Inheritance diagram for UT_Defaults:

Public Member Functions

SYS_FORCE_INLINE UT_Defaults ()
 
template<typename T >
SYS_FORCE_INLINE UT_Defaults (T value)
 
template<typename T >
 UT_Defaults (const T *values, exint tuplesize)
 
UT_Defaultsoperator= (const UT_Defaults &that)
 
SYS_FORCE_INLINE UT_Defaultsoperator= (UT_Defaults &&that)
 
SYS_FORCE_INLINE UT_Defaults (const UT_Defaults &that)
 
SYS_FORCE_INLINE UT_Defaults (UT_Defaults &&that)
 
bool operator== (const UT_Defaults &that) const
 
SYS_FORCE_INLINE bool operator!= (const UT_Defaults &that) const
 
SYS_FORCE_INLINE ~UT_Defaults ()
 
SYS_FORCE_INLINE void clear ()
 
int64 getMemoryUsage (bool inclusive) const
 
SYS_FORCE_INLINE bool isZero () const
 
SYS_FORCE_INLINE UT_Storage getStorage () const
 
SYS_FORCE_INLINE exint getTupleSize () const
 
fpreal64 getF (exint i=0) const
 
int64 getI (exint i=0) const
 

Protected Member Functions

SYS_FORCE_INLINE void initZero ()
 
template<typename T >
SYS_FORCE_INLINE void initValue (T value)
 

Protected Attributes

union {
   fpreal64 *   myFTuple
 
   int64 *   myITuple
 
   fpreal64   myF
 
   int64   myI
 
}; 
 
UT_TupleType<-1, voidmyType
 

Detailed Description

Definition at line 23 of file UT_Defaults.h.

Constructor & Destructor Documentation

SYS_FORCE_INLINE UT_Defaults::UT_Defaults ( )
inline

Definition at line 27 of file UT_Defaults.h.

template<typename T >
SYS_FORCE_INLINE UT_Defaults::UT_Defaults ( T  value)
inlineexplicit

Definition at line 33 of file UT_Defaults.h.

template<typename T >
UT_Defaults::UT_Defaults ( const T values,
exint  tuplesize 
)
inline

Definition at line 38 of file UT_Defaults.h.

SYS_FORCE_INLINE UT_Defaults::UT_Defaults ( const UT_Defaults that)
inline

Definition at line 146 of file UT_Defaults.h.

SYS_FORCE_INLINE UT_Defaults::UT_Defaults ( UT_Defaults &&  that)
inline

Definition at line 153 of file UT_Defaults.h.

SYS_FORCE_INLINE UT_Defaults::~UT_Defaults ( )
inline

Definition at line 196 of file UT_Defaults.h.

Member Function Documentation

SYS_FORCE_INLINE void UT_Defaults::clear ( void  )
inline

Definition at line 201 of file UT_Defaults.h.

fpreal64 UT_Defaults::getF ( exint  i = 0) const
inline

Definition at line 241 of file UT_Defaults.h.

int64 UT_Defaults::getI ( exint  i = 0) const
inline

Definition at line 265 of file UT_Defaults.h.

int64 UT_Defaults::getMemoryUsage ( bool  inclusive) const
inline

Definition at line 212 of file UT_Defaults.h.

SYS_FORCE_INLINE UT_Storage UT_Defaults::getStorage ( ) const
inline

Definition at line 231 of file UT_Defaults.h.

SYS_FORCE_INLINE exint UT_Defaults::getTupleSize ( ) const
inline

Definition at line 236 of file UT_Defaults.h.

template<typename T >
SYS_FORCE_INLINE void UT_Defaults::initValue ( T  value)
inlineprotected

NOTE: This assumes that the UT_Defaults hasn't been initialized to something that owns memory.

Definition at line 92 of file UT_Defaults.h.

SYS_FORCE_INLINE void UT_Defaults::initZero ( )
inlineprotected

NOTE: This assumes that the UT_Defaults hasn't been initialized to something that owns memory.

Definition at line 81 of file UT_Defaults.h.

SYS_FORCE_INLINE bool UT_Defaults::isZero ( ) const
inline

Definition at line 226 of file UT_Defaults.h.

SYS_FORCE_INLINE bool UT_Defaults::operator!= ( const UT_Defaults that) const
inline

Definition at line 191 of file UT_Defaults.h.

UT_Defaults& UT_Defaults::operator= ( const UT_Defaults that)
inline

Definition at line 109 of file UT_Defaults.h.

SYS_FORCE_INLINE UT_Defaults& UT_Defaults::operator= ( UT_Defaults &&  that)
inline

Definition at line 138 of file UT_Defaults.h.

bool UT_Defaults::operator== ( const UT_Defaults that) const
inline

Definition at line 159 of file UT_Defaults.h.

Member Data Documentation

union { ... }
fpreal64 UT_Defaults::myF

Definition at line 288 of file UT_Defaults.h.

fpreal64* UT_Defaults::myFTuple

Definition at line 286 of file UT_Defaults.h.

int64 UT_Defaults::myI

Definition at line 289 of file UT_Defaults.h.

int64* UT_Defaults::myITuple

Definition at line 287 of file UT_Defaults.h.

UT_TupleType<-1,void> UT_Defaults::myType
protected

Definition at line 291 of file UT_Defaults.h.


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