HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 149 of file UT_Defaults.h.

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

Definition at line 156 of file UT_Defaults.h.

SYS_FORCE_INLINE UT_Defaults::~UT_Defaults ( )
inline

Definition at line 199 of file UT_Defaults.h.

Member Function Documentation

SYS_FORCE_INLINE void UT_Defaults::clear ( void  )
inline

Definition at line 204 of file UT_Defaults.h.

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

Definition at line 244 of file UT_Defaults.h.

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

Definition at line 268 of file UT_Defaults.h.

int64 UT_Defaults::getMemoryUsage ( bool  inclusive) const
inline

Definition at line 215 of file UT_Defaults.h.

SYS_FORCE_INLINE UT_Storage UT_Defaults::getStorage ( ) const
inline

Definition at line 234 of file UT_Defaults.h.

SYS_FORCE_INLINE exint UT_Defaults::getTupleSize ( ) const
inline

Definition at line 239 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 95 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 229 of file UT_Defaults.h.

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

Definition at line 194 of file UT_Defaults.h.

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

Definition at line 112 of file UT_Defaults.h.

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

Definition at line 141 of file UT_Defaults.h.

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

Definition at line 162 of file UT_Defaults.h.

Member Data Documentation

union { ... }
fpreal64 UT_Defaults::myF

Definition at line 302 of file UT_Defaults.h.

fpreal64* UT_Defaults::myFTuple

Definition at line 300 of file UT_Defaults.h.

int64 UT_Defaults::myI

Definition at line 303 of file UT_Defaults.h.

int64* UT_Defaults::myITuple

Definition at line 301 of file UT_Defaults.h.

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

Definition at line 305 of file UT_Defaults.h.


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