NCBI C++ ToolKit
Public Types | Public Member Functions | Private Attributes | List of all members
CMemeto< T > Class Template Reference

Search Toolkit Book for CMemeto

#include <objmgr/impl/edit_commands_impl.hpp>

Public Types

typedef MemetoTrait< T, IsCRef< T >::valueTTrait
 
typedef TTrait::TStorage TStorage
 
typedef TTrait::TRef TRef
 
typedef TTrait::TConstRef TConstRef
 

Public Member Functions

 CMemeto ()
 
 CMemeto (TRef t)
 
template<typename TEditHandle >
 CMemeto (const TEditHandle &handle)
 
template<typename TEditHandle >
void RestoreTo (const TEditHandle &handle)
 
bool WasSet () const
 
TRef GetRefValue () const
 

Private Attributes

TStorage m_Storage
 
bool m_WasSet
 

Detailed Description

template<typename T>
class CMemeto< T >

Definition at line 142 of file edit_commands_impl.hpp.

Member Typedef Documentation

◆ TConstRef

template<typename T >
typedef TTrait::TConstRef CMemeto< T >::TConstRef

Definition at line 148 of file edit_commands_impl.hpp.

◆ TRef

template<typename T >
typedef TTrait::TRef CMemeto< T >::TRef

Definition at line 147 of file edit_commands_impl.hpp.

◆ TStorage

template<typename T >
typedef TTrait::TStorage CMemeto< T >::TStorage

Definition at line 146 of file edit_commands_impl.hpp.

◆ TTrait

template<typename T >
typedef MemetoTrait<T,IsCRef<T>::value> CMemeto< T >::TTrait

Definition at line 145 of file edit_commands_impl.hpp.

Constructor & Destructor Documentation

◆ CMemeto() [1/3]

template<typename T >
CMemeto< T >::CMemeto ( )
inline

Definition at line 150 of file edit_commands_impl.hpp.

◆ CMemeto() [2/3]

template<typename T >
CMemeto< T >::CMemeto ( TRef  t)
inline

Definition at line 152 of file edit_commands_impl.hpp.

◆ CMemeto() [3/3]

template<typename T >
template<typename TEditHandle >
CMemeto< T >::CMemeto ( const TEditHandle &  handle)
inline

Definition at line 155 of file edit_commands_impl.hpp.

References Get(), CMemeto< T >::m_Storage, and CMemeto< T >::m_WasSet.

Member Function Documentation

◆ GetRefValue()

template<typename T >
TRef CMemeto< T >::GetRefValue ( ) const
inline

◆ RestoreTo()

template<typename T >
template<typename TEditHandle >
void CMemeto< T >::RestoreTo ( const TEditHandle &  handle)
inline

Definition at line 162 of file edit_commands_impl.hpp.

References CMemeto< T >::m_Storage, and CMemeto< T >::m_WasSet.

◆ WasSet()

template<typename T >
bool CMemeto< T >::WasSet ( ) const
inline

Definition at line 168 of file edit_commands_impl.hpp.

References CMemeto< T >::m_WasSet.

Member Data Documentation

◆ m_Storage

template<typename T >
TStorage CMemeto< T >::m_Storage
private

◆ m_WasSet

template<typename T >
bool CMemeto< T >::m_WasSet
private

The documentation for this class was generated from the following file:
Modified on Wed May 15 15:07:44 2024 by modify_doxy.py rev. 669887