Chemical Data Processing Library C++ API - Version 1.2.0
Public Types | Public Member Functions | Friends | List of all members
CDPL::Math::ScalarGrid< T > Class Template Reference

#include <Grid.hpp>

+ Inheritance diagram for CDPL::Math::ScalarGrid< T >:

Public Types

typedef T ValueType
 
typedef const T & Reference
 
typedef const T & ConstReference
 
typedef std::size_t SizeType
 
typedef std::ptrdiff_t DifferenceType
 
typedef GridReference< SelfTypeClosureType
 
typedef const GridReference< const SelfTypeConstClosureType
 
typedef Grid< T > GridTemporaryType
 
- Public Types inherited from CDPL::Math::GridContainer< ScalarGrid< T > >
typedef ScalarGrid< T > ContainerType
 
- Public Types inherited from CDPL::Math::GridExpression< E >
typedef E ExpressionType
 
- Public Types inherited from CDPL::Math::Expression< E >
typedef E ExpressionType
 

Public Member Functions

 ScalarGrid ()
 
 ScalarGrid (SizeType m, SizeType n, SizeType o, const ValueType &v=ValueType())
 
 ScalarGrid (const ScalarGrid &m)
 
ConstReference operator() (SizeType i) const
 
ConstReference operator() (SizeType i, SizeType j, SizeType k) const
 
bool isEmpty () const
 
SizeType getSize () const
 
SizeType getSize1 () const
 
SizeType getSize2 () const
 
SizeType getSize3 () const
 
SizeType getMaxSize1 () const
 
SizeType getMaxSize2 () const
 
SizeType getMaxSize3 () const
 
ScalarGridoperator= (const ScalarGrid &g)
 
void swap (ScalarGrid &g)
 
void resize (SizeType m, SizeType n, SizeType o)
 
- Public Member Functions inherited from CDPL::Math::GridContainer< ScalarGrid< T > >
const ContainerTypeoperator() () const
 
ContainerTypeoperator() ()
 
- Public Member Functions inherited from CDPL::Math::GridExpression< E >
const ExpressionTypeoperator() () const
 
ExpressionTypeoperator() ()
 

Friends

void swap (ScalarGrid &g1, ScalarGrid &g2)
 

Additional Inherited Members

- Protected Member Functions inherited from CDPL::Math::GridContainer< ScalarGrid< T > >
 GridContainer ()
 
 ~GridContainer ()
 
- Protected Member Functions inherited from CDPL::Math::GridExpression< E >
 GridExpression ()
 
 ~GridExpression ()
 
- Protected Member Functions inherited from CDPL::Math::Expression< E >
 Expression ()
 
 ~Expression ()
 

Member Typedef Documentation

◆ ValueType

template<typename T >
typedef T CDPL::Math::ScalarGrid< T >::ValueType

◆ Reference

template<typename T >
typedef const T& CDPL::Math::ScalarGrid< T >::Reference

◆ ConstReference

template<typename T >
typedef const T& CDPL::Math::ScalarGrid< T >::ConstReference

◆ SizeType

template<typename T >
typedef std::size_t CDPL::Math::ScalarGrid< T >::SizeType

◆ DifferenceType

template<typename T >
typedef std::ptrdiff_t CDPL::Math::ScalarGrid< T >::DifferenceType

◆ ClosureType

template<typename T >
typedef GridReference<SelfType> CDPL::Math::ScalarGrid< T >::ClosureType

◆ ConstClosureType

template<typename T >
typedef const GridReference<const SelfType> CDPL::Math::ScalarGrid< T >::ConstClosureType

◆ GridTemporaryType

template<typename T >
typedef Grid<T> CDPL::Math::ScalarGrid< T >::GridTemporaryType

Constructor & Destructor Documentation

◆ ScalarGrid() [1/3]

template<typename T >
CDPL::Math::ScalarGrid< T >::ScalarGrid ( )
inline

◆ ScalarGrid() [2/3]

template<typename T >
CDPL::Math::ScalarGrid< T >::ScalarGrid ( SizeType  m,
SizeType  n,
SizeType  o,
const ValueType v = ValueType() 
)
inline

◆ ScalarGrid() [3/3]

template<typename T >
CDPL::Math::ScalarGrid< T >::ScalarGrid ( const ScalarGrid< T > &  m)
inline

Member Function Documentation

◆ operator()() [1/2]

template<typename T >
ConstReference CDPL::Math::ScalarGrid< T >::operator() ( SizeType  i) const
inline

◆ operator()() [2/2]

template<typename T >
ConstReference CDPL::Math::ScalarGrid< T >::operator() ( SizeType  i,
SizeType  j,
SizeType  k 
) const
inline

◆ isEmpty()

template<typename T >
bool CDPL::Math::ScalarGrid< T >::isEmpty ( ) const
inline

◆ getSize()

template<typename T >
SizeType CDPL::Math::ScalarGrid< T >::getSize ( ) const
inline

◆ getSize1()

template<typename T >
SizeType CDPL::Math::ScalarGrid< T >::getSize1 ( ) const
inline

◆ getSize2()

template<typename T >
SizeType CDPL::Math::ScalarGrid< T >::getSize2 ( ) const
inline

◆ getSize3()

template<typename T >
SizeType CDPL::Math::ScalarGrid< T >::getSize3 ( ) const
inline

◆ getMaxSize1()

template<typename T >
SizeType CDPL::Math::ScalarGrid< T >::getMaxSize1 ( ) const
inline

◆ getMaxSize2()

template<typename T >
SizeType CDPL::Math::ScalarGrid< T >::getMaxSize2 ( ) const
inline

◆ getMaxSize3()

template<typename T >
SizeType CDPL::Math::ScalarGrid< T >::getMaxSize3 ( ) const
inline

◆ operator=()

template<typename T >
ScalarGrid& CDPL::Math::ScalarGrid< T >::operator= ( const ScalarGrid< T > &  g)
inline

◆ swap()

template<typename T >
void CDPL::Math::ScalarGrid< T >::swap ( ScalarGrid< T > &  g)
inline

◆ resize()

template<typename T >
void CDPL::Math::ScalarGrid< T >::resize ( SizeType  m,
SizeType  n,
SizeType  o 
)
inline

Friends And Related Function Documentation

◆ swap

template<typename T >
void swap ( ScalarGrid< T > &  g1,
ScalarGrid< T > &  g2 
)
friend

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