NCBI C++ ToolKit
Public Member Functions | List of all members
CSimpleConverter< DstType, SrcType > Class Template Reference

Search Toolkit Book for CSimpleConverter

Implementation of converter for a single-object conversion. More...

#include <util/static_set.hpp>

+ Inheritance diagram for CSimpleConverter< DstType, SrcType >:
+ Collaboration diagram for CSimpleConverter< DstType, SrcType >:

Public Member Functions

const type_info & GetSrcTypeInfo (void) const THROWS_NONE
 
const type_info & GetDstTypeInfo (void) const THROWS_NONE
 
size_t GetSrcTypeSize (void) const THROWS_NONE
 
size_t GetDstTypeSize (void) const THROWS_NONE
 
void Destroy (void *dst) const THROWS_NONE
 
void Convert (void *dst, const void *src) const
 
- Public Member Functions inherited from IObjectConverter
virtual ~IObjectConverter (void) THROWS_NONE
 
 DECLARE_CLASS_STATIC_FAST_MUTEX (sx_InitMutex)
 

Detailed Description

template<typename DstType, typename SrcType>
class CSimpleConverter< DstType, SrcType >

Implementation of converter for a single-object conversion.

Definition at line 300 of file static_set.hpp.

Member Function Documentation

◆ Convert()

template<typename DstType , typename SrcType >
void CSimpleConverter< DstType, SrcType >::Convert ( void *  dst,
const void *  src 
) const
inlinevirtual

Implements IObjectConverter.

Definition at line 323 of file static_set.hpp.

◆ Destroy()

template<typename DstType , typename SrcType >
void CSimpleConverter< DstType, SrcType >::Destroy ( void *  dst) const
inlinevirtual

Implements IObjectConverter.

Definition at line 319 of file static_set.hpp.

◆ GetDstTypeInfo()

template<typename DstType , typename SrcType >
const type_info& CSimpleConverter< DstType, SrcType >::GetDstTypeInfo ( void  ) const
inlinevirtual

Implements IObjectConverter.

Definition at line 307 of file static_set.hpp.

◆ GetDstTypeSize()

template<typename DstType , typename SrcType >
size_t CSimpleConverter< DstType, SrcType >::GetDstTypeSize ( void  ) const
inlinevirtual

Implements IObjectConverter.

Definition at line 315 of file static_set.hpp.

◆ GetSrcTypeInfo()

template<typename DstType , typename SrcType >
const type_info& CSimpleConverter< DstType, SrcType >::GetSrcTypeInfo ( void  ) const
inlinevirtual

Implements IObjectConverter.

Definition at line 303 of file static_set.hpp.

◆ GetSrcTypeSize()

template<typename DstType , typename SrcType >
size_t CSimpleConverter< DstType, SrcType >::GetSrcTypeSize ( void  ) const
inlinevirtual

Implements IObjectConverter.

Definition at line 311 of file static_set.hpp.


The documentation for this class was generated from the following file:
Modified on Sat May 04 13:18:55 2024 by modify_doxy.py rev. 669887