Mesh Oriented datABase  (version 5.4.1)
Array-based unstructured mesh datastructure
smoab::Tag Class Reference

#include <SimpleMoab.h>

+ Inheritance diagram for smoab::Tag:
+ Collaboration diagram for smoab::Tag:

Public Member Functions

 Tag (std::string const &n)
virtual ~Tag ()
const char * name () const
virtual moab::DataType dataType () const
virtual bool isComparable () const
virtual int value () const

Private Attributes

const std::string Name_

Detailed Description

Definition at line 33 of file SimpleMoab.h.


Constructor & Destructor Documentation

smoab::Tag::Tag ( std::string const &  n) [inline]

Definition at line 38 of file SimpleMoab.h.

: Name_( n ) {}
virtual smoab::Tag::~Tag ( ) [inline, virtual]

Definition at line 40 of file SimpleMoab.h.

{}

Member Function Documentation

virtual moab::DataType smoab::Tag::dataType ( ) const [inline, virtual]

Definition at line 46 of file SimpleMoab.h.

References MB_TYPE_INTEGER.

Referenced by smoab::Interface::getMoabTag().

    {
        return moab::MB_TYPE_INTEGER;
    }
virtual bool smoab::Tag::isComparable ( ) const [inline, virtual]

Reimplemented in smoab::GeomTag.

Definition at line 50 of file SimpleMoab.h.

Referenced by smoab::DataSetConverter::fill(), and smoab::Interface::findEntitiesWithTag().

    {
        return false;
    }
const char* smoab::Tag::name ( ) const [inline]

Definition at line 42 of file SimpleMoab.h.

References Name_.

Referenced by smoab::DataSetConverter::fill(), and smoab::Interface::getMoabTag().

    {
        return this->Name_.c_str();
    }
virtual int smoab::Tag::value ( ) const [inline, virtual]

Reimplemented in smoab::GeomTag.

Definition at line 54 of file SimpleMoab.h.

Referenced by smoab::DataSetConverter::fill(), and smoab::Interface::findEntitiesWithTag().

    {
        return int();
    }

Member Data Documentation

const std::string smoab::Tag::Name_ [private]

Definition at line 35 of file SimpleMoab.h.

Referenced by name().

List of all members.


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