Itasca C++ Interface
Toggle main menu visibility
Loading...
Searching...
No Matches
iudtype.h
Go to the documentation of this file.
1
#pragma once
2
// iudtype.h
3
8
9
namespace
itasca
{
10
class
IThing
;
11
}
12
13
namespace
itascaxd
{
14
using namespace
itasca;
15
16
class
IUDData;
17
class
IUDPos;
18
20
23
template
<
class
T>
class
IUDType
{
24
public
:
26
typedef
T
value_type
;
27
29
virtual
IThing
*
getIThing
()=0;
31
virtual
const
IThing
*
getIThing
()
const
=0;
33
virtual
IUDPos
*
getIUDPos
()=0;
35
virtual
const
IUDPos
*
getIUDPos
()
const
=0;
37
virtual
IUDType<T>
*
getNext
()=0;
39
virtual
const
IUDType<T>
*
getNext
()
const
=0;
40
42
virtual
T
getValue
()
const
=0;
44
virtual
void
setValue
(
const
T &t)=0;
45
};
46
}
// namespace itascaxd
47
// EoF
itasca::IThing
Base class for items that will be stored in containers.
Definition
ithing.h:31
itascaxd::IUDPos
Interface to the position in space of user-defined data that requires it.
Definition
iudpos.h:23
itascaxd::IUDType
Interface to data values of different types associated with position in space, as user-defined data.
Definition
iudtype.h:23
itascaxd::IUDType::getValue
virtual T getValue() const =0
Returns the current value associated with the user-defined data.
itascaxd::IUDType::getIUDPos
virtual const IUDPos * getIUDPos() const =0
Returns a const IUDPos interface to this object.
itascaxd::IUDType::value_type
T value_type
Specifies the value stored in the object.
Definition
iudtype.h:26
itascaxd::IUDType::getNext
virtual IUDType< T > * getNext()=0
Returns the next object in whatever global container it exists in.
itascaxd::IUDType::setValue
virtual void setValue(const T &t)=0
Sets the value associated with the user-defined data.
itascaxd::IUDType::getNext
virtual const IUDType< T > * getNext() const =0
Returns the const next object in whatever global container it exists in.
itascaxd::IUDType::getIThing
virtual IThing * getIThing()=0
Returns an IThing interface to this object.
itascaxd::IUDType::getIUDPos
virtual IUDPos * getIUDPos()=0
Returns an IUDPos interface to this object.
itascaxd::IUDType::getIThing
virtual const IThing * getIThing() const =0
Returns a const IThing interface to this object.
itasca
namespace Itasca
Definition
basememory.cpp:14
itascaxd
Itasca Library standard namespace, specific to 2D or 3D.
Definition
icontactmodule.h:6
common
module
interface
iudtype.h
Generated by
1.18.0