cartodata  4.5.0
carto::Volume< T >::Position4Di Class Reference

#include <cartodata/volume/volumebase.h>

Public Member Functions

 Position4Di (int x=0, int y=0, int z=0, int t=0)
 
template<typename U >
 Position4Di (const U &other)
 Generic constructor from any "vector-like" object, i.e. More...
 
 Position4Di (const Position4Di &pos)
 
 ~Position4Di ()
 
int & operator[] (int coord)
 
const int & operator[] (int coord) const
 
bool operator== (const Position4Di &p) const
 
bool operator!= (const Position4Di &p) const
 
unsigned size () const
 

Detailed Description

template<typename T>
class carto::Volume< T >::Position4Di

Definition at line 418 of file volumebase.h.

Constructor & Destructor Documentation

template<typename T>
carto::Volume< T >::Position4Di::Position4Di ( int  x = 0,
int  y = 0,
int  z = 0,
int  t = 0 
)
inlineexplicit

Definition at line 421 of file volumebase.h.

template<typename T>
template<typename U >
carto::Volume< T >::Position4Di::Position4Di ( const U &  other)
inline

Generic constructor from any "vector-like" object, i.e.

that has a size() method and the [] accessor.

It is not explicit to allow implicit conversion.

Definition at line 435 of file volumebase.h.

template<typename T>
carto::Volume< T >::Position4Di::Position4Di ( const Position4Di pos)
inline

Definition at line 444 of file volumebase.h.

template<typename T>
carto::Volume< T >::Position4Di::~Position4Di ( )
inline

Definition at line 448 of file volumebase.h.

Member Function Documentation

template<typename T>
bool carto::Volume< T >::Position4Di::operator!= ( const Position4Di p) const
inline

Definition at line 457 of file volumebase.h.

References operator==().

template<typename T>
bool carto::Volume< T >::Position4Di::operator== ( const Position4Di p) const
inline

Definition at line 453 of file volumebase.h.

template<typename T>
int& carto::Volume< T >::Position4Di::operator[] ( int  coord)
inline

Definition at line 450 of file volumebase.h.

template<typename T>
const int& carto::Volume< T >::Position4Di::operator[] ( int  coord) const
inline

Definition at line 451 of file volumebase.h.

template<typename T>
unsigned carto::Volume< T >::Position4Di::size ( ) const
inline

Definition at line 459 of file volumebase.h.


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