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

Search Toolkit Book for CPairConverter

Implementation of converter for pair<> conversion. More...

#include <util/static_set.hpp>

+ Inheritance diagram for CPairConverter< DstType, SrcType >:
+ Collaboration diagram for CPairConverter< 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_ptr, const void *src_ptr) 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 CPairConverter< DstType, SrcType >

Implementation of converter for pair<> conversion.

Definition at line 376 of file static_set.hpp.

Member Function Documentation

◆ Convert()

template<typename DstType , typename SrcType >
void CPairConverter< DstType, SrcType >::Convert ( void *  dst_ptr,
const void *  src_ptr 
) const
inlinevirtual

Implements IObjectConverter.

Definition at line 399 of file static_set.hpp.

References CObjectDestroyerGuard::EndOfConversion(), and MakeConverter().

◆ Destroy()

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

Reimplemented from CObjectConverterBase< DstType, SrcType >.

Definition at line 395 of file static_set.hpp.

◆ GetDstTypeInfo()

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

Reimplemented from CObjectConverterBase< DstType, SrcType >.

Definition at line 383 of file static_set.hpp.

◆ GetDstTypeSize()

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

Reimplemented from CObjectConverterBase< DstType, SrcType >.

Definition at line 391 of file static_set.hpp.

◆ GetSrcTypeInfo()

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

Reimplemented from CObjectConverterBase< DstType, SrcType >.

Definition at line 379 of file static_set.hpp.

◆ GetSrcTypeSize()

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

Reimplemented from CObjectConverterBase< DstType, SrcType >.

Definition at line 387 of file static_set.hpp.


The documentation for this class was generated from the following file:
Modified on Fri Dec 01 04:51:15 2023 by modify_doxy.py rev. 669887