Workspace 6.21.5
Public Member Functions | Static Public Member Functions | List of all members
Array3dNullTyped< T > Class Template Reference

#include <DataAnalysis/DataStructures/array3dtyped.h>

Inheritance diagram for Array3dNullTyped< T >:
[legend]

Public Member Functions

virtual ~Array3dNullTyped ()=default
 
virtual qint64 cacheKey () const
 
virtual Array3dNullTypedclone () const
 
virtual unsigned dimension (unsigned) const
 
virtual bool empty () const
 
virtual T operator() (unsigned, unsigned, unsigned=0) const
 
virtual void resize (unsigned x, unsigned y, unsigned z)
 
virtual void setCell (unsigned x, unsigned y, unsigned z, const T &value)
 
virtual unsigned size () const
 
- Public Member Functions inherited from Array3dTyped< T >
 ~Array3dTyped () override=default
 
Array3dTypedclone () const override=0
 
virtual T getFillValue () const
 
virtual bool hasFillValue () const
 
virtual T operator() (unsigned x, unsigned y, unsigned z) const =0
 
virtual void resize (unsigned x, unsigned y, unsigned z)=0
 
virtual void setCell (unsigned x, unsigned y, unsigned z, const T &value)=0
 
- Public Member Functions inherited from Array3d
 ~Array3d () override=default
 
virtual qint64 cacheKey () const =0
 
Array3dclone () const override=0
 
virtual unsigned dimension (unsigned i) const =0
 
virtual bool empty () const =0
 
virtual QVector3D getCellSpacing () const
 
virtual QVector3D getOrigin () const
 
virtual void setCellSpacing (const QVector3D &size)
 
virtual void setOrigin (const QVector3D &origin)
 
virtual unsigned size () const =0
 
- Public Member Functions inherited from Clonable
virtual ~Clonable ()=default
 
virtual Clonableclone () const =0
 

Static Public Member Functions

static Array3dNullTyped< T > & nullObject ()
 

Additional Inherited Members

- Public Types inherited from Array3dTyped< T >
typedef T value_type
 

Detailed Description

template<typename T>
class CSIRO::DataAnalysis::Array3dNullTyped< T >

Null typed interface; concrete implementation of the interface which allows us to create a default version that does nothing.

Constructor & Destructor Documentation

◆ ~Array3dNullTyped()

virtual ~Array3dNullTyped ( )
virtualdefault

Member Function Documentation

◆ cacheKey()

virtual qint64 cacheKey ( ) const
inlinevirtual

Implements Array3d.

◆ clone()

virtual Array3dNullTyped * clone ( ) const
inlinevirtual
Returns
A clone of this object.
Note
Subclasses would normally return their own type rather than the Clonable type. The C++ language rules allow a more derived type to be returned from a virtual function and the compiler will still treat it as a valid override.

Implements Array3dTyped< T >.

◆ dimension()

virtual unsigned dimension ( unsigned  ) const
inlinevirtual

Implements Array3d.

◆ empty()

virtual bool empty ( ) const
inlinevirtual

Implements Array3d.

◆ nullObject()

static Array3dNullTyped< T > & nullObject ( )
inlinestatic

◆ operator()()

virtual T operator() ( unsigned  ,
unsigned  ,
unsigned  = 0 
) const
inlinevirtual

Implements Array3dTyped< T >.

◆ resize()

virtual void resize ( unsigned  x,
unsigned  y,
unsigned  z 
)
inlinevirtual

Implements Array3dTyped< T >.

◆ setCell()

virtual void setCell ( unsigned  x,
unsigned  y,
unsigned  z,
const T &  value 
)
inlinevirtual

Implements Array3dTyped< T >.

◆ size()

virtual unsigned size ( ) const
inlinevirtual

Implements Array3d.