Itasca C++ Interface
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
itascaxd::IUDType< T > Class Template Referenceabstract

Interface to data values of different types associated with position in space, as user-defined data. More...

#include <iudtype.h>

Inheritance diagram for itascaxd::IUDType< T >:
itascaxd::IUDScalar itascaxd::IUDTensor itascaxd::IUDVector

Public Types

typedef T value_type
 Specifies the value stored in the object.
 

Public Member Functions

virtual IThinggetIThing ()=0
 Returns an IThing interface to this object.
 
virtual const IThinggetIThing () const =0
 Returns a const IThing interface to this object.
 
virtual IUDPosgetIUDPos ()=0
 Returns an IUDPos interface to this object.
 
virtual const IUDPosgetIUDPos () const =0
 Returns a const IUDPos interface to this object.
 
virtual IUDType< T > * getNext ()=0
 Returns the next object in whatever global container it exists in.
 
virtual const IUDType< T > * getNext () const =0
 Returns the const next object in whatever global container it exists in.
 
virtual T getValue () const =0
 Returns the current value associated with the user-defined data.
 
virtual void setValue (const T &t)=0
 Sets the value associated with the user-defined data.
 

Detailed Description

template<class T>
class itascaxd::IUDType< T >

Interface to data values of different types associated with position in space, as user-defined data.

For instance, the type could be doubles (scalar), vectors, or tensors.

Member Function Documentation

◆ getIThing()

template<class T >
virtual const IThing * itascaxd::IUDType< T >::getIThing ( ) const
pure virtual

Returns a const IThing interface to this object.

◆ getIUDPos()

template<class T >
virtual const IUDPos * itascaxd::IUDType< T >::getIUDPos ( ) const
pure virtual

Returns a const IUDPos interface to this object.

◆ getNext() [1/2]

template<class T >
virtual const IUDType< T > * itascaxd::IUDType< T >::getNext ( ) const
pure virtual

Returns the const next object in whatever global container it exists in.

Implemented in itascaxd::IUDScalar, itascaxd::IUDTensor, and itascaxd::IUDVector.

◆ getNext() [2/2]

template<class T >
virtual IUDType< T > * itascaxd::IUDType< T >::getNext ( )
pure virtual

Returns the next object in whatever global container it exists in.

Implemented in itascaxd::IUDScalar, itascaxd::IUDTensor, and itascaxd::IUDVector.


The documentation for this class was generated from the following file: