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

#include <SparseContainerElement.hpp>

Public Types

typedef C ContainerType
 
typedef K KeyType
 
typedef ContainerType::ValueType ValueType
 
typedef ContainerType::SizeType SizeType
 
typedef ValueTypeReference
 
typedef ContainerType::ConstReference ConstReference
 
typedef ContainerType::ArrayType ArrayType
 

Public Member Functions

 SparseContainerElement (ContainerType &c, KeyType key)
 
SparseContainerElementoperator= (const SparseContainerElement &p)
 
template<typename D >
SparseContainerElementoperator= (const D &d)
 
template<typename D >
SparseContainerElementoperator+= (const D &d)
 
template<typename D >
SparseContainerElementoperator-= (const D &d)
 
template<typename D >
SparseContainerElementoperator*= (const D &d)
 
template<typename D >
SparseContainerElementoperator/= (const D &d)
 
template<typename D >
bool operator== (const D &d) const
 
template<typename D >
bool operator!= (const D &d) const
 
 operator ConstReference () const
 

Member Typedef Documentation

◆ ContainerType

template<typename C , typename K = typename C::KeyType>
typedef C CDPL::Math::SparseContainerElement< C, K >::ContainerType

◆ KeyType

template<typename C , typename K = typename C::KeyType>
typedef K CDPL::Math::SparseContainerElement< C, K >::KeyType

◆ ValueType

template<typename C , typename K = typename C::KeyType>
typedef ContainerType::ValueType CDPL::Math::SparseContainerElement< C, K >::ValueType

◆ SizeType

template<typename C , typename K = typename C::KeyType>
typedef ContainerType::SizeType CDPL::Math::SparseContainerElement< C, K >::SizeType

◆ Reference

template<typename C , typename K = typename C::KeyType>
typedef ValueType& CDPL::Math::SparseContainerElement< C, K >::Reference

◆ ConstReference

template<typename C , typename K = typename C::KeyType>
typedef ContainerType::ConstReference CDPL::Math::SparseContainerElement< C, K >::ConstReference

◆ ArrayType

template<typename C , typename K = typename C::KeyType>
typedef ContainerType::ArrayType CDPL::Math::SparseContainerElement< C, K >::ArrayType

Constructor & Destructor Documentation

◆ SparseContainerElement()

template<typename C , typename K = typename C::KeyType>
CDPL::Math::SparseContainerElement< C, K >::SparseContainerElement ( ContainerType c,
KeyType  key 
)
inline

Member Function Documentation

◆ operator=() [1/2]

template<typename C , typename K = typename C::KeyType>
SparseContainerElement& CDPL::Math::SparseContainerElement< C, K >::operator= ( const SparseContainerElement< C, K > &  p)
inline

◆ operator=() [2/2]

template<typename C , typename K = typename C::KeyType>
template<typename D >
SparseContainerElement& CDPL::Math::SparseContainerElement< C, K >::operator= ( const D &  d)
inline

◆ operator+=()

template<typename C , typename K = typename C::KeyType>
template<typename D >
SparseContainerElement& CDPL::Math::SparseContainerElement< C, K >::operator+= ( const D &  d)
inline

◆ operator-=()

template<typename C , typename K = typename C::KeyType>
template<typename D >
SparseContainerElement& CDPL::Math::SparseContainerElement< C, K >::operator-= ( const D &  d)
inline

◆ operator*=()

template<typename C , typename K = typename C::KeyType>
template<typename D >
SparseContainerElement& CDPL::Math::SparseContainerElement< C, K >::operator*= ( const D &  d)
inline

◆ operator/=()

template<typename C , typename K = typename C::KeyType>
template<typename D >
SparseContainerElement& CDPL::Math::SparseContainerElement< C, K >::operator/= ( const D &  d)
inline

◆ operator==()

template<typename C , typename K = typename C::KeyType>
template<typename D >
bool CDPL::Math::SparseContainerElement< C, K >::operator== ( const D &  d) const
inline

◆ operator!=()

template<typename C , typename K = typename C::KeyType>
template<typename D >
bool CDPL::Math::SparseContainerElement< C, K >::operator!= ( const D &  d) const
inline

◆ operator ConstReference()

template<typename C , typename K = typename C::KeyType>
CDPL::Math::SparseContainerElement< C, K >::operator ConstReference ( ) const
inline

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