Store data for a single tag. More...
#include <MeshImplTags.hpp>
Public Member Functions | |
TagData (const msq_std::string &name, Mesh::TagType type, unsigned length, void *default_val=0, TagDescription::VtkType vtk_type=TagDescription::NONE) | |
Construct tag. More... | |
TagData (const TagDescription &descr) | |
Construct tag. More... | |
~TagData () | |
TagData (const msq_std::string &name, Mesh::TagType type, unsigned length, void *default_val=0, TagDescription::VtkType vtk_type=TagDescription::NONE) | |
Construct tag. More... | |
TagData (const TagDescription &descr) | |
Construct tag. More... | |
~TagData () | |
Public Attributes | |
const TagDescription | desc |
tag meta data More... | |
void * | elementData |
per-element data, or NULL if none has been set. More... | |
size_t | elementCount |
number of entries in elementData More... | |
void * | vertexData |
per-vertex data, or NULL if none has been set. More... | |
size_t | vertexCount |
number of entries in vertexData More... | |
void * | defaultValue |
Default value for tag. More... | |
Store data for a single tag.
Definition at line 80 of file includeLinks/MeshImplTags.hpp.
|
inline |
Construct tag.
name | Tag name |
type | Tag data type |
length | Tag array length (1 for scalar/non-array) |
default_val | Default value for tag |
vtk_type | Attribute type in VTK file |
Definition at line 107 of file includeLinks/MeshImplTags.hpp.
|
inline |
Construct tag.
desc | Tag description object |
Definition at line 119 of file includeLinks/MeshImplTags.hpp.
~TagData | ( | ) |
Definition at line 37 of file Mesh/MeshImplTags.cpp.
References MeshImplTags::TagData::defaultValue, MeshImplTags::TagData::elementData, and MeshImplTags::TagData::vertexData.
|
inline |
Construct tag.
name | Tag name |
type | Tag data type |
length | Tag array length (1 for scalar/non-array) |
default_val | Default value for tag |
vtk_type | Attribute type in VTK file |
Definition at line 107 of file src/Mesh/MeshImplTags.hpp.
|
inline |
Construct tag.
desc | Tag description object |
Definition at line 119 of file src/Mesh/MeshImplTags.hpp.
~TagData | ( | ) |
void * defaultValue |
Default value for tag.
Definition at line 98 of file includeLinks/MeshImplTags.hpp.
Referenced by MeshImplTags::create(), MeshImplTags::get_element_data(), MeshImplTags::get_vertex_data(), MeshImplTags::set_element_data(), MeshImplTags::set_vertex_data(), MeshImplTags::tag_has_element_data(), MeshImplTags::tag_has_vertex_data(), and MeshImplTags::TagData::~TagData().
const TagDescription desc |
tag meta data
Definition at line 83 of file includeLinks/MeshImplTags.hpp.
Referenced by MeshImplTags::create(), MeshImplTags::get_element_data(), MeshImplTags::get_vertex_data(), MeshImplTags::set_element_data(), and MeshImplTags::set_vertex_data().
size_t elementCount |
number of entries in elementData
Definition at line 89 of file includeLinks/MeshImplTags.hpp.
Referenced by MeshImplTags::get_element_data(), and MeshImplTags::set_element_data().
void * elementData |
per-element data, or NULL if none has been set.
Definition at line 86 of file includeLinks/MeshImplTags.hpp.
Referenced by MeshImplTags::get_element_data(), MeshImplTags::set_element_data(), MeshImplTags::tag_has_element_data(), and MeshImplTags::TagData::~TagData().
size_t vertexCount |
number of entries in vertexData
Definition at line 95 of file includeLinks/MeshImplTags.hpp.
Referenced by MeshImplTags::get_vertex_data(), and MeshImplTags::set_vertex_data().
void * vertexData |
per-vertex data, or NULL if none has been set.
Definition at line 92 of file includeLinks/MeshImplTags.hpp.
Referenced by MeshImplTags::get_vertex_data(), MeshImplTags::set_vertex_data(), MeshImplTags::tag_has_vertex_data(), and MeshImplTags::TagData::~TagData().