Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
iudtype.h
Go to the documentation of this file.
1 #pragma once
2 // iudtype.h
3 
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;
32  virtual IUDPos * getIUDPos()=0;
35  virtual const IUDPos * getIUDPos() const=0;
36  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
T value_type
Specifies the value stored in the object.
Definition: iudtype.h:26
namespace Itasca
Definition: basememory.cpp:9
Base class for items that will be stored in containers.
Definition: ithing.h:31
Interface to the position in space of user-defined data that requires it.
Definition: iudpos.h:23
Itasca Library standard namespace, specific to 2D or 3D.
Definition: icontactmodule.h:4
Interface to data values of different types associated with position in space, as user-defined data.
Definition: iudtype.h:23