![]() |
INMOST
Mathematical Modelling Toolkit
|
#include <inmost_data.h>
Classes | |
struct | sparse_sub_record |
Public Types | |
typedef tag_array_type::iterator | iteratorTag |
Public Member Functions | |
virtual | ~TagManager () |
bool | HaveTag (std::string name) const |
Tag | GetTag (std::string name) const |
void | ListTagNames (std::vector< std::string > &list) const |
Tag | CreateTag (Mesh *m, std::string name, DataType dtype, ElementType etype, ElementType sparse, INMOST_DATA_ENUM_TYPE size=ENUMUNDEF) |
virtual Tag | DeleteTag (Tag tag, ElementType mask) |
bool | ElementDefined (Tag const &tag, ElementType etype) const |
Protected Types | |
typedef chunk_array < INMOST_DATA_ENUM_TYPE, chunk_bits_empty > | empty_data |
typedef chunk_array< Tag, chunk_bits_tags > | tag_array_type |
typedef chunk_bulk_array < chunk_bits_elems > | dense_sub_type |
typedef chunk_array < dense_sub_type, chunk_bits_dense > | dense_data_array_type |
typedef array< sparse_sub_record > | sparse_sub_type |
typedef chunk_array < sparse_sub_type, chunk_bits_elems > | sparse_data_array_type |
typedef chunk_array < INMOST_DATA_INTEGER_TYPE, chunk_bits_elems > | back_links_type |
typedef tag_array_type::iterator | tag_iterator |
typedef tag_array_type::const_iterator | tag_const_iterator |
Protected Member Functions | |
TagManager () | |
TagManager (const TagManager &other) | |
TagManager & | operator= (TagManager const &other) |
void | ReallocateData (const Tag &t, INMOST_DATA_INTEGER_TYPE etypenum, INMOST_DATA_ENUM_TYPE new_size) |
void | ReallocateData (INMOST_DATA_INTEGER_TYPE etypenum, INMOST_DATA_ENUM_TYPE new_size) |
__INLINE sparse_sub_type const & | GetSparseData (int etypenum, int local_id) const |
__INLINE sparse_sub_type & | GetSparseData (int etypenum, int local_id) |
__INLINE dense_sub_type const & | GetDenseData (int pos) const |
__INLINE dense_sub_type & | GetDenseData (int pos) |
Static Protected Member Functions | |
static void | CopyData (const Tag &t, void *adata, const void *bdata) |
static void | DestroyVariableData (const Tag &t, void *adata) |
Definition at line 224 of file inmost_data.h.
|
protected |
Definition at line 237 of file inmost_data.h.
|
protected |
Definition at line 233 of file inmost_data.h.
|
protected |
Definition at line 232 of file inmost_data.h.
|
protected |
Definition at line 230 of file inmost_data.h.
typedef tag_array_type::iterator INMOST::TagManager::iteratorTag |
Definition at line 240 of file inmost_data.h.
|
protected |
Definition at line 236 of file inmost_data.h.
|
protected |
Definition at line 235 of file inmost_data.h.
|
protected |
Definition at line 231 of file inmost_data.h.
|
protected |
Definition at line 260 of file inmost_data.h.
|
protected |
Definition at line 259 of file inmost_data.h.
|
protected |
|
protected |
|
virtual |
|
staticprotected |
Tag INMOST::TagManager::CreateTag | ( | Mesh * | m, |
std::string | name, | ||
DataType | dtype, | ||
ElementType | etype, | ||
ElementType | sparse, | ||
INMOST_DATA_ENUM_TYPE | size = ENUMUNDEF |
||
) |
|
virtual |
Reimplemented in INMOST::Mesh.
|
staticprotected |
bool INMOST::TagManager::ElementDefined | ( | Tag const & | tag, |
ElementType | etype | ||
) | const |
|
inlineprotected |
Definition at line 254 of file inmost_data.h.
|
inlineprotected |
Definition at line 255 of file inmost_data.h.
|
inlineprotected |
Definition at line 252 of file inmost_data.h.
|
inlineprotected |
Definition at line 253 of file inmost_data.h.
Tag INMOST::TagManager::GetTag | ( | std::string | name | ) | const |
bool INMOST::TagManager::HaveTag | ( | std::string | name | ) | const |
void INMOST::TagManager::ListTagNames | ( | std::vector< std::string > & | list | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 266 of file inmost_data.h.
|
protected |
Definition at line 264 of file inmost_data.h.
|
protected |
Definition at line 263 of file inmost_data.h.
|
protected |
Definition at line 265 of file inmost_data.h.
|
protected |
Definition at line 262 of file inmost_data.h.