37 #ifndef Alembic_AbcCoreAbstract_DataType_h
38 #define Alembic_AbcCoreAbstract_DataType_h
43 namespace AbcCoreAbstract {
67 : m_pod( iPod ), m_extent( iExtent ) {}
86 void setExtent( uint8_t iExtent ) { m_extent = iExtent; }
105 return ( ( m_pod == b.m_pod ) &&
106 ( m_extent == b.m_extent ) );
115 if ( m_pod < b.m_pod ) {
return true; }
116 else if ( m_pod > b.m_pod ) {
return false; }
117 else {
return ( m_extent < b.m_extent ); }
138 ostr <<
"[" << ( size_t )a.
getExtent() <<
"]";
bool operator==(const DataType &b) const
void setExtent(uint8_t iExtent)
void setPod(PlainOldDataType iPod)
size_t PODNumBytes(PlainOldDataType pod)
DataType(PlainOldDataType iPod, uint8_t iExtent=1)
GLboolean GLboolean GLboolean GLboolean a
std::ostream & operator<<(std::ostream &ostr, const DataType &a)
bool operator<(const DataType &b) const
PlainOldDataType getPod() const
GLboolean GLboolean GLboolean b
const char * PODName(PlainOldDataType pod)
size_t getNumBytes() const
uint8_t getExtent() const
#define ALEMBIC_VERSION_NS