Itasca C++ Interface
Toggle main menu visibility
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
10
11
namespace
itasca
{
12
class
IThing
;
13
}
14
15
namespace
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
baseqt.h
All default base headers if Qt is being used.
IString
Definition
istring.h:14
itasca::IThing
Base class for items that will be stored in containers.
Definition
ithing.h:30
itascaxd::IHistory
Interface to a particular history being taken by the history logic.
Definition
ihistory.h:20
itascaxd::IHistory::getStartPosition
virtual qint64 getStartPosition() const =0
itascaxd::IHistory::getValueRange
virtual DVect2 getValueRange() const =0
Returns the min (x) and max (y) values ever taken of the history object. .
itascaxd::IHistory::getIThing
virtual IThing * getIThing()=0
Get IThing interface pointer for the history.
itascaxd::IHistory::hasPosition
virtual bool hasPosition() const =0
itascaxd::IHistory::getStorageIndex
virtual int getStorageIndex() const =0
itascaxd::IHistory::getNext
virtual const IHistory * getNext() const =0
itascaxd::IHistory::getIThing
virtual const IThing * getIThing() const =0
Get const IThing interface pointer for the history.
itascaxd::IHistory::getName
virtual IString getName() const =0
This name is assigned by the code.
itascaxd::IHistory::getLabel
virtual QString getLabel() const =0
itascaxd::IHistory::getID
virtual uint64 getID() const =0
Unique ID associated with the history.
itascaxd::IHistory::type_
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition
ihistory.h:23
itascaxd::IHistory::getPosition
virtual DVect getPosition() const =0
itascaxd::IHistory::isValid
virtual bool isValid() const =0
itascaxd::IHistory::isActive
virtual bool isActive() const =0
itascaxd::IHistory::getRezoneEnabled
virtual bool getRezoneEnabled() const =0
Used for for dynamic rezoning FLAC3D, returns true if this history changes zone or gp location during...
dim.h
DIM - Provides code portability between 2D and 3D codes.
TType
uint32 TType
class type indicator
Definition
basedef.h:46
DVect
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition
dim.h:150
itasca
namespace Itasca
Definition
basememory.cpp:10
itascaxd
Itasca Library standard namespace, specific to 2D or 3D.
Definition
icontactmodule.h:4
common
module
interface
ihistory.h
Generated by
1.18.0