Class for storing variable-length tag data. More...
#include <VarLenTag.hpp>
Public Member Functions | |
VarLenTag () | |
VarLenTag (unsigned size) | |
~VarLenTag () | |
VarLenTag (const VarLenTag ©) | |
VarLenTag (unsigned size, const void *data) | |
unsigned | size () const |
unsigned char * | data () |
unsigned long | mem () const |
const unsigned char * | data () const |
unsigned char * | resize (unsigned size) |
void | clear () |
void | set (const void *dat, unsigned sz) |
VarLenTag & | operator= (const VarLenTag &other) |
Protected Attributes | |
VarLenTagData | mData |
Class for storing variable-length tag data.
Class for managing variable-length tag data. \NOTE This class must behave as if it were initialized to empty if it is memset to zero w/out invoking any constructor.
Definition at line 152 of file VarLenTag.hpp.
|
inline |
Definition at line 158 of file VarLenTag.hpp.
References moab::VarLenTagData::mData, mData, and moab::VarLenTagData::mPointer.
|
inline |
Definition at line 249 of file VarLenTag.hpp.
References moab::VarLenTagData::INLINE_COUNT, moab::VarLenTagData::mData, mData, and moab::VarLenTagData::mPointer.
|
inline |
|
inline |
Definition at line 269 of file VarLenTag.hpp.
References moab::VarLenTagData::INLINE_COUNT, moab::VarLenTagData::mData, mData, moab::VarLenTagData::mPointer, and size().
|
inline |
Definition at line 280 of file VarLenTag.hpp.
References moab::VarLenTagData::mData, mData, moab::VarLenTagData::mPointer, and resize().
|
inline |
Definition at line 258 of file VarLenTag.hpp.
References moab::VarLenTagData::INLINE_COUNT, moab::VarLenTagData::mData, mData, moab::VarLenTagData::mPointer, and size().
Referenced by moab::SequenceData::release_tag_data(), moab::VarLenDenseTag::remove_data(), and ~VarLenTag().
|
inline |
Definition at line 175 of file VarLenTag.hpp.
References moab::VarLenTagData::INLINE_COUNT, moab::VarLenTagData::mData, mData, moab::VarLenTagData::mInline, moab::VarLenTagData::mPointer, and size().
Referenced by data(), moab::VarLenDenseTag::get_data(), moab::get_tagged(), moab::VarLenDenseTag::is_tagged(), moab::TagVarBytesEqual::operator()(), moab::TagVarBytesLess::operator()(), moab::TagVarTypeEqual< T >::operator()(), moab::TagVarTypeLess< T >::operator()(), and operator=().
|
inline |
Definition at line 197 of file VarLenTag.hpp.
References data().
|
inline |
Definition at line 186 of file VarLenTag.hpp.
References moab::VarLenTagData::INLINE_COUNT, and size().
Referenced by moab::VarLenDenseTag::get_memory_use().
|
inline |
Definition at line 218 of file VarLenTag.hpp.
References moab::VarLenTagData::INLINE_COUNT, moab::VarLenTagData::mData, mData, moab::VarLenTagData::mInline, moab::VarLenTagData::mPointer, and size().
Referenced by set(), and VarLenTag().
|
inline |
Definition at line 206 of file VarLenTag.hpp.
References resize().
Referenced by operator=(), and moab::VarLenDenseTag::set_data().
|
inline |
Definition at line 170 of file VarLenTag.hpp.
References moab::VarLenTagData::mData, mData, and moab::VarLenTagData::mPointer.
Referenced by clear(), data(), moab::VarLenDenseTag::get_data(), moab::get_tagged(), mem(), moab::TagVarBytesEqual::operator()(), moab::TagVarBytesLess::operator()(), moab::TagVarTypeEqual< T >::operator()(), moab::TagVarTypeLess< T >::operator()(), operator=(), resize(), and VarLenTag().
|
protected |
Definition at line 155 of file VarLenTag.hpp.
Referenced by clear(), data(), resize(), size(), and VarLenTag().