MOAB: Mesh Oriented datABase  (version 5.4.1)
MBMesquite::TagDescription Struct Reference

#include <MeshImplTags.hpp>

+ Collaboration diagram for MBMesquite::TagDescription:

Public Types

enum  VtkType {
  NONE = 0, SCALAR, COLOR, VECTOR,
  NORMAL, TEXTURE, TENSOR, FIELD
}

Public Member Functions

 TagDescription (std::string n, Mesh::TagType t, VtkType v, size_t s, std::string m)
 TagDescription ()
bool operator== (const TagDescription &o) const
bool operator!= (const TagDescription &o) const

Public Attributes

std::string name
 Tag name.
Mesh::TagType type
 Tag data type.
VtkType vtkType
 Attribute type from VTK file.
size_t size
 Size of tag data (sizeof(type)*array_length)
std::string member
 Field member name for 1-member fields.

Detailed Description

Definition at line 38 of file MeshImplTags.hpp.


Member Enumeration Documentation

Enumerator:
NONE 
SCALAR 
COLOR 
VECTOR 
NORMAL 
TEXTURE 
TENSOR 
FIELD 

Definition at line 44 of file MeshImplTags.hpp.


Constructor & Destructor Documentation

MBMesquite::TagDescription::TagDescription ( std::string  n,
Mesh::TagType  t,
VtkType  v,
size_t  s,
std::string  m 
) [inline]

Definition at line 62 of file MeshImplTags.hpp.

        : name( n ), type( t ), vtkType( v ), size( s ), member( m )
    {
    }

Definition at line 67 of file MeshImplTags.hpp.

: type( Mesh::BYTE ), vtkType( NONE ), size( 0 ) {}

Member Function Documentation

bool MBMesquite::TagDescription::operator!= ( const TagDescription o) const [inline]

Definition at line 73 of file MeshImplTags.hpp.

References name, size, type, and vtkType.

    {
        return name != o.name || type != o.type || vtkType != o.vtkType || size != o.size;
    }
bool MBMesquite::TagDescription::operator== ( const TagDescription o) const [inline]

Definition at line 69 of file MeshImplTags.hpp.

References name, size, type, and vtkType.

    {
        return name == o.name && type == o.type && vtkType == o.vtkType && size == o.size;
    }

Member Data Documentation

Field member name for 1-member fields.

Definition at line 60 of file MeshImplTags.hpp.

Referenced by MBMesquite::get_field_names(), and MBMesquite::MeshImpl::vtk_read_field_data().

List of all members.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines