Safir SDK Core
Loading...
Searching...
No Matches
Safir::Dob::Typesystem::ContainerProxy< T > Class Template Reference

#include <Safir/Dob/Typesystem/ContainerProxies.h>

Inheritance diagram for Safir::Dob::Typesystem::ContainerProxy< T >:
[legend]

Public Types

typedef T::ContainedType ContainedType
 

Public Member Functions

 ContainerProxy (T &container)
 
 ContainerProxy (const ContainerProxy &other)=default
 
ContainerProxyoperator= (const ContainerProxy &other)
 
ContainerProxyoperator= (const ContainedType other)
 
 operator const ContainedType () const
 
bool IsNull () const
 
bool HasVal () const
 
void SetNull ()
 
bool IsChanged () const
 
void SetChanged (const bool changed)
 
void SetVal (const ContainedType value)
 
const ContainedType GetVal () const
 
const ContainedType GetValOrDefault (const ContainedType defaultVal) const
 
void SetOrdinal (const EnumerationValue value)
 
EnumerationValue GetOrdinal () const
 
void Copy (const ContainerProxy &that)
 
ContainerProxyoperator++ ()
 
void operator++ (int)
 
ContainerProxyoperator-- ()
 
void operator-- (int)
 
ContainerProxyoperator+= (const ContainedType &val)
 
ContainerProxyoperator-= (const ContainedType &val)
 
ContainerProxyoperator*= (const ContainedType &val)
 
ContainerProxyoperator/= (const ContainedType &val)
 
const T & GetContainer () const
 
T & GetContainer ()
 

Member Typedef Documentation

◆ ContainedType

template<class T>
typedef T::ContainedType Safir::Dob::Typesystem::ContainerProxy< T >::ContainedType

Constructor & Destructor Documentation

◆ ContainerProxy() [1/2]

template<class T>
Safir::Dob::Typesystem::ContainerProxy< T >::ContainerProxy ( T & container)
explicit

Referenced by ContainerProxy(), Copy(), operator*=(), operator++(), operator+=(), operator--(), operator-=(), operator/=(), operator=(), and operator=().

Here is the caller graph for this function:

◆ ContainerProxy() [2/2]

template<class T>
Safir::Dob::Typesystem::ContainerProxy< T >::ContainerProxy ( const ContainerProxy< T > & other)
default

References ContainerProxy().

Here is the call graph for this function:

Member Function Documentation

◆ Copy()

template<class T>
void Safir::Dob::Typesystem::ContainerProxy< T >::Copy ( const ContainerProxy< T > & that)

References ContainerProxy().

Here is the call graph for this function:

◆ GetContainer() [1/2]

template<class T>
T & Safir::Dob::Typesystem::ContainerProxy< T >::GetContainer ( )

◆ GetContainer() [2/2]

template<class T>
const T & Safir::Dob::Typesystem::ContainerProxy< T >::GetContainer ( ) const

◆ GetOrdinal()

template<class T>
EnumerationValue Safir::Dob::Typesystem::ContainerProxy< T >::GetOrdinal ( ) const

◆ GetVal()

◆ GetValOrDefault()

template<class T>
const ContainedType Safir::Dob::Typesystem::ContainerProxy< T >::GetValOrDefault ( const ContainedType defaultVal) const

◆ HasVal()

template<class T>
bool Safir::Dob::Typesystem::ContainerProxy< T >::HasVal ( ) const

◆ IsChanged()

template<class T>
bool Safir::Dob::Typesystem::ContainerProxy< T >::IsChanged ( ) const

◆ IsNull()

◆ operator const ContainedType()

template<class T>
Safir::Dob::Typesystem::ContainerProxy< T >::operator const ContainedType ( ) const

◆ operator*=()

template<class T>
ContainerProxy & Safir::Dob::Typesystem::ContainerProxy< T >::operator*= ( const ContainedType & val)

References ContainerProxy(), GetVal(), and SetVal().

Here is the call graph for this function:

◆ operator++() [1/2]

template<class T>
ContainerProxy & Safir::Dob::Typesystem::ContainerProxy< T >::operator++ ( )

References ContainerProxy(), GetVal(), and SetVal().

Here is the call graph for this function:

◆ operator++() [2/2]

template<class T>
void Safir::Dob::Typesystem::ContainerProxy< T >::operator++ ( int )

◆ operator+=()

template<class T>
ContainerProxy & Safir::Dob::Typesystem::ContainerProxy< T >::operator+= ( const ContainedType & val)

References ContainerProxy(), GetVal(), and SetVal().

Here is the call graph for this function:

◆ operator--() [1/2]

template<class T>
ContainerProxy & Safir::Dob::Typesystem::ContainerProxy< T >::operator-- ( )

References ContainerProxy(), GetVal(), and SetVal().

Here is the call graph for this function:

◆ operator--() [2/2]

template<class T>
void Safir::Dob::Typesystem::ContainerProxy< T >::operator-- ( int )

◆ operator-=()

template<class T>
ContainerProxy & Safir::Dob::Typesystem::ContainerProxy< T >::operator-= ( const ContainedType & val)

References ContainerProxy(), GetVal(), and SetVal().

Here is the call graph for this function:

◆ operator/=()

template<class T>
ContainerProxy & Safir::Dob::Typesystem::ContainerProxy< T >::operator/= ( const ContainedType & val)

References ContainerProxy(), GetVal(), and SetVal().

Here is the call graph for this function:

◆ operator=() [1/2]

template<class T>
ContainerProxy & Safir::Dob::Typesystem::ContainerProxy< T >::operator= ( const ContainedType other)

References ContainerProxy(), and SetVal().

Here is the call graph for this function:

◆ operator=() [2/2]

template<class T>
ContainerProxy & Safir::Dob::Typesystem::ContainerProxy< T >::operator= ( const ContainerProxy< T > & other)

References ContainerProxy(), GetVal(), and IsNull().

Here is the call graph for this function:

◆ SetChanged()

template<class T>
void Safir::Dob::Typesystem::ContainerProxy< T >::SetChanged ( const bool changed)

◆ SetNull()

template<class T>
void Safir::Dob::Typesystem::ContainerProxy< T >::SetNull ( )

◆ SetOrdinal()

template<class T>
void Safir::Dob::Typesystem::ContainerProxy< T >::SetOrdinal ( const EnumerationValue value)

◆ SetVal()

template<class T>
void Safir::Dob::Typesystem::ContainerProxy< T >::SetVal ( const ContainedType value)