Alembic::Util::ALEMBIC_VERSION_NS Namespace Reference


Classes

struct  Digest
class  BaseDimensions
class  Exception
 Base class for all exceptions in the Alembic libraries. Derived from both std::exception and std::string, publicly It is mostly commonly thrown using the macros. More...
class  bool_t
struct  PODTraits
struct  PODTraitsFromEnum
struct  PODTraitsFromEnum< kBooleanPOD >
struct  PODTraitsFromEnum< kUint8POD >
struct  PODTraitsFromEnum< kInt8POD >
struct  PODTraitsFromEnum< kUint16POD >
struct  PODTraitsFromEnum< kInt16POD >
struct  PODTraitsFromEnum< kUint32POD >
struct  PODTraitsFromEnum< kInt32POD >
struct  PODTraitsFromEnum< kUint64POD >
struct  PODTraitsFromEnum< kInt64POD >
struct  PODTraitsFromEnum< kFloat16POD >
struct  PODTraitsFromEnum< kFloat32POD >
struct  PODTraitsFromEnum< kFloat64POD >
struct  PODTraitsFromEnum< kStringPOD >
struct  PODTraitsFromEnum< kWstringPOD >
struct  PODTraitsFromType
struct  PODTraitsFromType< bool_t >
struct  PODTraitsFromType< uint8_t >
struct  PODTraitsFromType< int8_t >
struct  PODTraitsFromType< uint16_t >
struct  PODTraitsFromType< int16_t >
struct  PODTraitsFromType< uint32_t >
struct  PODTraitsFromType< int32_t >
struct  PODTraitsFromType< uint64_t >
struct  PODTraitsFromType< int64_t >
struct  PODTraitsFromType< float16_t >
struct  PODTraitsFromType< float32_t >
struct  PODTraitsFromType< float64_t >
struct  PODTraitsFromType< string >
struct  PODTraitsFromType< wstring >
class  Singleton
struct  NullDeleter
struct  TRAIT_TYPE_NAME
class  TokenMap
 A wrapper around std::map that serializes and deserializes the map into a doubly-tokenized string, usually of the form token=value;token=value;token=value;. More...
class  VecN

Typedefs

typedef BaseDimensions< size_t > Dimensions
typedef unsigned char byte_t
typedef half float16_t
typedef float float32_t
typedef double float64_t

Enumerations

enum  PlainOldDataType {
  kBooleanPOD, kUint8POD, kInt8POD, kUint16POD,
  kInt16POD, kUint32POD, kInt32POD, kUint64POD,
  kInt64POD, kFloat16POD, kFloat32POD, kFloat64POD,
  kStringPOD, kWstringPOD, kNumPlainOldDataTypes, kUnknownPOD = 127
}

Functions

std::ostream & operator<< (std::ostream &ostr, const Digest &a)
template<class T , class Y >
bool operator== (const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
template<class T , class Y >
bool operator!= (const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
template<class T >
std::ostream & operator<< (std::ostream &ostr, const BaseDimensions< T > &a)
void MurmurHash3_x64_128 (const void *key, const size_t len, const size_t podSize, void *out)
bool operator== (const bool_t &a, const bool_t &b)
bool operator== (const bool_t &a, bool b)
bool operator== (bool a, const bool_t &b)
bool operator!= (const bool_t &a, const bool_t &b)
bool operator!= (const bool_t &a, bool b)
bool operator!= (bool a, const bool_t &b)
 DECLARE_TRAITS (kBooleanPOD, bool_t,"bool_t", false, BooleanPODTraits)
 DECLARE_TRAITS (kUint8POD, uint8_t,"uint8_t", 0, Uint8PODTraits)
 DECLARE_TRAITS (kInt8POD, int8_t,"int8_t", 0, Int8PODTraits)
 DECLARE_TRAITS (kUint16POD, uint16_t,"uint16_t", 0, Uint16PODTraits)
 DECLARE_TRAITS (kInt16POD, int16_t,"int16_t", 0, Int16PODTraits)
 DECLARE_TRAITS (kUint32POD, uint32_t,"uint32_t", 0, Uint32PODTraits)
 DECLARE_TRAITS (kInt32POD, int32_t,"int32_t", 0, Int32PODTraits)
 DECLARE_TRAITS (kUint64POD, uint64_t,"uint64_t", 0, Uint64PODTraits)
 DECLARE_TRAITS (kInt64POD, int64_t,"int64_t", 0, Int64PODTraits)
 DECLARE_TRAITS (kFloat16POD, float16_t,"float16_t", 0, Float16PODTraits)
 DECLARE_TRAITS (kFloat32POD, float32_t,"float32_t", 0, Float32PODTraits)
 DECLARE_TRAITS (kFloat64POD, float64_t,"float64_t", 0, Float64PODTraits)
 DECLARE_TRAITS (kStringPOD, string,"string","", StringPODTraits)
 DECLARE_TRAITS (kWstringPOD, wstring,"wstring", L"", WstringPODTraits)
size_t PODNumBytes (PlainOldDataType pod)
const char * PODName (PlainOldDataType pod)
PlainOldDataType PODFromName (const std::string &n)
template<PlainOldDataType POD>
void PODSetDefaultPOD (void *addr)
 This actually does work with strings!
void PODSetDefault (PlainOldDataType pod, void *bytes)
bool operator== (const TokenMap &iA, const TokenMap &iB)
template<class T , std::size_t N>
std::ostream & operator<< (std::ostream &ostr, const VecN< T, N > &iVecN)

Typedef Documentation

Bytes are unsigned chars, by definition. We use bytes in Alembic as the name of anonymous storage memory, since it is not possible to create arrays of voids.

Definition at line 51 of file PlainOldDataType.h.

Definition at line 189 of file Dimensions.h.

Definition at line 147 of file PlainOldDataType.h.

Definition at line 148 of file PlainOldDataType.h.

Definition at line 149 of file PlainOldDataType.h.


Enumeration Type Documentation

I'm using explicit names here because the terms 'int', 'short', 'long', etc, have different bit-depths on different machine architectures. To avoid any ambiguity whatsoever, I'm just making these explicit. End users will rarely see these anyway, so it's okay to be a bit pedantic.

These are always represented in the endian-ness of the host machine when resident in working memory, but need to have an explicit endian-ness when being written out. That's hidden from the user by HDF5.

Enumerator:
kBooleanPOD  Booleans are difficult to store in arrays in a 'one bit per bool' kind of way, so we actually file them as bytes (uint8). But again this is entirely hidden from the end user. Implemented via the "bool_t" type defined above.
kUint8POD  Char/UChar.
kInt8POD 
kUint16POD  Short/UShort.
kInt16POD 
kUint32POD  Int/UInt.
kInt32POD 
kUint64POD  Long/ULong.
kInt64POD 
kFloat16POD  Half/Float/Double.
kFloat32POD 
kFloat64POD 
kStringPOD  String Pointer.
kWstringPOD  Wide String Pointer.
kNumPlainOldDataTypes  Number of POD.
kUnknownPOD  Unknown.

Definition at line 171 of file PlainOldDataType.h.


Function Documentation

Alembic::Util::ALEMBIC_VERSION_NS::DECLARE_TRAITS ( kWstringPOD  ,
wstring  ,
"wstring"  ,
L""  ,
WstringPODTraits   
)

Alembic::Util::ALEMBIC_VERSION_NS::DECLARE_TRAITS ( kStringPOD  ,
string  ,
"string"  ,
""  ,
StringPODTraits   
)

Alembic::Util::ALEMBIC_VERSION_NS::DECLARE_TRAITS ( kFloat64POD  ,
float64_t  ,
"float64_t"  ,
,
Float64PODTraits   
)

Alembic::Util::ALEMBIC_VERSION_NS::DECLARE_TRAITS ( kFloat32POD  ,
float32_t  ,
"float32_t"  ,
,
Float32PODTraits   
)

Alembic::Util::ALEMBIC_VERSION_NS::DECLARE_TRAITS ( kFloat16POD  ,
float16_t  ,
"float16_t"  ,
,
Float16PODTraits   
)

Alembic::Util::ALEMBIC_VERSION_NS::DECLARE_TRAITS ( kInt64POD  ,
int64_t  ,
"int64_t"  ,
,
Int64PODTraits   
)

Alembic::Util::ALEMBIC_VERSION_NS::DECLARE_TRAITS ( kUint64POD  ,
uint64_t  ,
"uint64_t"  ,
,
Uint64PODTraits   
)

Alembic::Util::ALEMBIC_VERSION_NS::DECLARE_TRAITS ( kInt32POD  ,
int32_t  ,
"int32_t"  ,
,
Int32PODTraits   
)

Alembic::Util::ALEMBIC_VERSION_NS::DECLARE_TRAITS ( kUint32POD  ,
uint32_t  ,
"uint32_t"  ,
,
Uint32PODTraits   
)

Alembic::Util::ALEMBIC_VERSION_NS::DECLARE_TRAITS ( kInt16POD  ,
int16_t  ,
"int16_t"  ,
,
Int16PODTraits   
)

Alembic::Util::ALEMBIC_VERSION_NS::DECLARE_TRAITS ( kUint16POD  ,
uint16_t  ,
"uint16_t"  ,
,
Uint16PODTraits   
)

Alembic::Util::ALEMBIC_VERSION_NS::DECLARE_TRAITS ( kInt8POD  ,
int8_t  ,
"int8_t"  ,
,
Int8PODTraits   
)

Alembic::Util::ALEMBIC_VERSION_NS::DECLARE_TRAITS ( kUint8POD  ,
uint8_t  ,
"uint8_t"  ,
,
Uint8PODTraits   
)

Alembic::Util::ALEMBIC_VERSION_NS::DECLARE_TRAITS ( kBooleanPOD  ,
bool_t  ,
"bool_t"  ,
false  ,
BooleanPODTraits   
)

void Alembic::Util::ALEMBIC_VERSION_NS::MurmurHash3_x64_128 ( const void *  key,
const size_t  len,
const size_t  podSize,
void *  out 
)

bool Alembic::Util::ALEMBIC_VERSION_NS::operator!= ( bool  a,
const bool_t &  b 
) [inline]

Definition at line 129 of file PlainOldDataType.h.

bool Alembic::Util::ALEMBIC_VERSION_NS::operator!= ( const bool_t &  a,
bool  b 
) [inline]

Definition at line 123 of file PlainOldDataType.h.

bool Alembic::Util::ALEMBIC_VERSION_NS::operator!= ( const bool_t &  a,
const bool_t &  b 
) [inline]

Definition at line 117 of file PlainOldDataType.h.

template<class T , class Y >
bool Alembic::Util::ALEMBIC_VERSION_NS::operator!= ( const BaseDimensions< T > &  a,
const BaseDimensions< Y > &  b 
) [inline]

Definition at line 165 of file Dimensions.h.

template<class T , std::size_t N>
std::ostream& Alembic::Util::ALEMBIC_VERSION_NS::operator<< ( std::ostream &  ostr,
const VecN< T, N > &  iVecN 
) [inline]

Definition at line 160 of file VecN.h.

template<class T >
std::ostream& Alembic::Util::ALEMBIC_VERSION_NS::operator<< ( std::ostream &  ostr,
const BaseDimensions< T > &  a 
) [inline]

Definition at line 173 of file Dimensions.h.

std::ostream& Alembic::Util::ALEMBIC_VERSION_NS::operator<< ( std::ostream &  ostr,
const Digest &  a 
) [inline]

Definition at line 113 of file Digest.h.

bool Alembic::Util::ALEMBIC_VERSION_NS::operator== ( const TokenMap &  iA,
const TokenMap &  iB 
) [inline]

Definition at line 306 of file TokenMap.h.

bool Alembic::Util::ALEMBIC_VERSION_NS::operator== ( bool  a,
const bool_t &  b 
) [inline]

Definition at line 111 of file PlainOldDataType.h.

bool Alembic::Util::ALEMBIC_VERSION_NS::operator== ( const bool_t &  a,
bool  b 
) [inline]

Definition at line 105 of file PlainOldDataType.h.

bool Alembic::Util::ALEMBIC_VERSION_NS::operator== ( const bool_t &  a,
const bool_t &  b 
) [inline]

Definition at line 99 of file PlainOldDataType.h.

template<class T , class Y >
bool Alembic::Util::ALEMBIC_VERSION_NS::operator== ( const BaseDimensions< T > &  a,
const BaseDimensions< Y > &  b 
) [inline]

Definition at line 137 of file Dimensions.h.

PlainOldDataType Alembic::Util::ALEMBIC_VERSION_NS::PODFromName ( const std::string n  )  [inline]

Definition at line 373 of file PlainOldDataType.h.

const char* Alembic::Util::ALEMBIC_VERSION_NS::PODName ( PlainOldDataType  pod  )  [inline]

Definition at line 346 of file PlainOldDataType.h.

size_t Alembic::Util::ALEMBIC_VERSION_NS::PODNumBytes ( PlainOldDataType  pod  )  [inline]

Definition at line 320 of file PlainOldDataType.h.

void Alembic::Util::ALEMBIC_VERSION_NS::PODSetDefault ( PlainOldDataType  pod,
void *  bytes 
) [inline]

Definition at line 403 of file PlainOldDataType.h.

template<PlainOldDataType POD>
void Alembic::Util::ALEMBIC_VERSION_NS::PODSetDefaultPOD ( void *  addr  )  [inline]

This actually does work with strings!

Definition at line 395 of file PlainOldDataType.h.


Generated on Mon Jan 28 00:49:26 2013 for HDK by  doxygen 1.5.9