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

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

Inheritance diagram for Safir::Dob::Typesystem::ContainerProxy< ObjectContainerImpl< U > >:
[legend]
Collaboration diagram for Safir::Dob::Typesystem::ContainerProxy< ObjectContainerImpl< U > >:
[legend]

Public Types

typedef ObjectContainerImpl< U >::T_Ptr ContainedType
 
typedef ObjectContainerImpl< U >::ContainedType ContainedType
 

Public Member Functions

 ContainerProxy (ObjectContainerImpl< U > &container)
 
ContainerProxyoperator= (const ContainerProxy &other)
 
ContainerProxyoperator= (const ContainedType &other)
 
 operator const ContainedType () const
 
U * operator-> () const
 
bool IsNull () const
 
bool HasVal () const
 
void SetNull ()
 
bool IsChanged () const
 
void SetChanged (const bool changed)
 
void SetChangedHere (const bool changed)
 
bool IsChangedHere () const
 
void SetPtr (const ContainedType &ptr)
 
void SetPtr (const ObjectPtr &ptr)
 
const ContainedTypeGetPtr () const
 
const ContainedType GetPtrOrNull () const
 
void Copy (const ContainerProxy &that)
 
const ObjectContainerImpl< U > & GetContainer () const
 
ObjectContainerImpl< U > & GetContainer ()
 
 ContainerProxy (ObjectContainerImpl< U > &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 ObjectContainerImpl< U > & GetContainer () const
 
ObjectContainerImpl< U > & GetContainer ()
 

Member Typedef Documentation

◆ ContainedType [1/2]

typedef ObjectContainerImpl< U >::ContainedType Safir::Dob::Typesystem::ContainerProxy< ObjectContainerImpl< U > >::ContainedType

◆ ContainedType [2/2]

template<class U>
typedef ObjectContainerImpl<U>::T_Ptr Safir::Dob::Typesystem::ContainerProxy< ObjectContainerImpl< U > >::ContainedType

Constructor & Destructor Documentation

◆ ContainerProxy() [1/3]

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

Referenced by Copy(), operator=(), and operator=().

Here is the caller graph for this function:

◆ ContainerProxy() [2/3]

Safir::Dob::Typesystem::ContainerProxy< ObjectContainerImpl< U > >::ContainerProxy ( ObjectContainerImpl< U > & container)
explicit

◆ ContainerProxy() [3/3]

Safir::Dob::Typesystem::ContainerProxy< ObjectContainerImpl< U > >::ContainerProxy ( const ContainerProxy< ObjectContainerImpl< U > > & other)
default

Member Function Documentation

◆ Copy() [1/2]

◆ Copy() [2/2]

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

References ContainerProxy().

Here is the call graph for this function:

◆ GetContainer() [1/4]

◆ GetContainer() [2/4]

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

◆ GetContainer() [3/4]

◆ GetContainer() [4/4]

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

◆ GetOrdinal()

◆ GetPtr()

template<class U>
const ContainedType & Safir::Dob::Typesystem::ContainerProxy< ObjectContainerImpl< U > >::GetPtr ( ) const

◆ GetPtrOrNull()

template<class U>
const ContainedType Safir::Dob::Typesystem::ContainerProxy< ObjectContainerImpl< U > >::GetPtrOrNull ( ) const

◆ GetVal()

◆ GetValOrDefault()

const ContainedType Safir::Dob::Typesystem::ContainerProxy< ObjectContainerImpl< U > >::GetValOrDefault ( const ContainedType defaultVal) const

◆ HasVal() [1/2]

◆ HasVal() [2/2]

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

◆ IsChanged() [1/2]

◆ IsChanged() [2/2]

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

◆ IsChangedHere()

template<class U>
bool Safir::Dob::Typesystem::ContainerProxy< ObjectContainerImpl< U > >::IsChangedHere ( ) const

◆ IsNull() [1/2]

◆ IsNull() [2/2]

template<class U>
bool Safir::Dob::Typesystem::ContainerProxy< ObjectContainerImpl< U > >::IsNull ( ) const

◆ operator const ContainedType() [1/2]

◆ operator const ContainedType() [2/2]

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

◆ operator*=()

◆ operator++() [1/2]

◆ operator++() [2/2]

◆ operator+=()

◆ operator--() [1/2]

◆ operator--() [2/2]

◆ operator-=()

◆ operator->()

template<class U>
U * Safir::Dob::Typesystem::ContainerProxy< ObjectContainerImpl< U > >::operator-> ( ) const

◆ operator/=()

◆ operator=() [1/4]

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

References ContainerProxy().

Here is the call graph for this function:

◆ operator=() [2/4]

◆ operator=() [3/4]

◆ operator=() [4/4]

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

References ContainerProxy(), and Safir::Dob::Typesystem::ContainerProxy< T >::IsNull().

Here is the call graph for this function:

◆ SetChanged() [1/2]

void Safir::Dob::Typesystem::ContainerProxy< ObjectContainerImpl< U > >::SetChanged ( const bool changed)

◆ SetChanged() [2/2]

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

◆ SetChangedHere()

template<class U>
void Safir::Dob::Typesystem::ContainerProxy< ObjectContainerImpl< U > >::SetChangedHere ( const bool changed)

◆ SetNull() [1/2]

◆ SetNull() [2/2]

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

◆ SetOrdinal()

◆ SetPtr() [1/2]

template<class U>
void Safir::Dob::Typesystem::ContainerProxy< ObjectContainerImpl< U > >::SetPtr ( const ContainedType & ptr)

◆ SetPtr() [2/2]

template<class U>
void Safir::Dob::Typesystem::ContainerProxy< ObjectContainerImpl< U > >::SetPtr ( const ObjectPtr & ptr)

◆ SetVal()