Itasca C++ Interface
Loading...
Searching...
No Matches
ihistory.h
Go to the documentation of this file.
1#pragma once
2
3#include "base/src/baseqt.h"
4#include "dim.h"
5
11namespace itasca {
12 class IThing;
13}
14
15namespace itascaxd {
16 using namespace itasca;
17
20 class IHistory {
21 public:
23 inline static const TType type_ = 0x4c815b8b;
24
26 virtual const IThing *getIThing() const=0;
28 virtual IThing * getIThing()=0;
29
31 virtual uint64 getID() const=0;
32
34 virtual IString getName() const=0;
35
39 virtual QString getLabel() const=0;
40
44 virtual bool hasPosition() const=0;
45
48 virtual DVect getPosition() const=0;
49
51 virtual DVect2 getValueRange() const=0;
52
55 virtual bool isValid() const=0;
56
59 virtual bool isActive() const=0;
60
63 virtual qint64 getStartPosition() const=0;
64
67 virtual int getStorageIndex() const=0;
68
71 virtual const IHistory *getNext() const=0;
72
74 virtual bool getRezoneEnabled() const=0;
76 //virtual void linkToNewLocation(const DVect &)=0;
77 };
78} // namespace itascaxd
79// EoF
All default base headers if Qt is being used.
Definition istring.h:14
Base class for items that will be stored in containers.
Definition ithing.h:30
Interface to a particular history being taken by the history logic.
Definition ihistory.h:20
virtual qint64 getStartPosition() const =0
virtual DVect2 getValueRange() const =0
Returns the min (x) and max (y) values ever taken of the history object. .
virtual IThing * getIThing()=0
Get IThing interface pointer for the history.
virtual bool hasPosition() const =0
virtual int getStorageIndex() const =0
virtual const IHistory * getNext() const =0
virtual const IThing * getIThing() const =0
Get const IThing interface pointer for the history.
virtual IString getName() const =0
This name is assigned by the code.
virtual QString getLabel() const =0
virtual uint64 getID() const =0
Unique ID associated with the history.
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition ihistory.h:23
virtual DVect getPosition() const =0
virtual bool isValid() const =0
virtual bool isActive() const =0
virtual bool getRezoneEnabled() const =0
Used for for dynamic rezoning FLAC3D, returns true if this history changes zone or gp location during...
DIM - Provides code portability between 2D and 3D codes.
uint32 TType
class type indicator
Definition basedef.h:46
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition dim.h:154
namespace Itasca
Definition basememory.cpp:10
Itasca Library standard namespace, specific to 2D or 3D.
Definition icontactmodule.h:4