Itasca C++ Interface
igenerictet.h
1 #pragma once
6 #include "base/src/basedef.h"
7 
8 namespace itasca {
9  class IThing;
10 }
11 namespace utility {
12  using itasca::IThing;
13 }
14 
15 namespace models {
22  class IGenericTet {
23  public:
25  static constexpr TType type_ = 0x4e134150;
27  virtual const utility::IThing *getIThing() const=0;
29  virtual utility::IThing * getIThing()=0;
31  virtual TType getType() const=0;
32  };
33 } // namespace models
34 // EoF
Base type definitions for the engine.
Base class for items that will be stored in containers.
Definition: ithing.h:30
Generic base class for the tetra interface made available to the constitutive model system.
Definition: igenerictet.h:22
virtual TType getType() const =0
Returns the actual type of the fully derived class represented by this object.
static constexpr TType type_
The type of IGenericTet, used in the alternate dynamic typing system based on IThing.
Definition: igenerictet.h:25
virtual utility::IThing * getIThing()=0
Returns a pointer to an IThing interface representing this object, or nullptr if such an interface is...
virtual const utility::IThing * getIThing() const =0
Returns a pointer to a const IThing interface representing this object, or nullptr if such an interfa...
uint32 TType
class type indicator
Definition: basedef.h:46
namespace Itasca
Definition: basememory.cpp:10
The Constitutive Model interface library.
Definition: conmodel.cpp:7