NCBI C++ ToolKit
Public Member Functions | List of all members
IObjectConverter Class Referenceabstract

Search Toolkit Book for IObjectConverter

Helper class for single object conversion from static type to work type. More...

#include <util/static_set.hpp>

+ Inheritance diagram for IObjectConverter:

Public Member Functions

virtual ~IObjectConverter (void) THROWS_NONE
 
virtual const type_info & GetSrcTypeInfo (void) const THROWS_NONE=0
 
virtual const type_info & GetDstTypeInfo (void) const THROWS_NONE=0
 
virtual size_t GetSrcTypeSize (void) const THROWS_NONE=0
 
virtual size_t GetDstTypeSize (void) const THROWS_NONE=0
 
virtual void Convert (void *dst, const void *src) const =0
 
virtual void Destroy (void *dst) const THROWS_NONE=0
 
 DECLARE_CLASS_STATIC_FAST_MUTEX (sx_InitMutex)
 

Detailed Description

Helper class for single object conversion from static type to work type.

Definition at line 167 of file static_set.hpp.

Constructor & Destructor Documentation

◆ ~IObjectConverter()

IObjectConverter::~IObjectConverter ( void  )
virtual

Definition at line 54 of file static_set.cpp.

Member Function Documentation

◆ Convert()

virtual void IObjectConverter::Convert ( void *  dst,
const void *  src 
) const
pure virtual

◆ DECLARE_CLASS_STATIC_FAST_MUTEX()

IObjectConverter::DECLARE_CLASS_STATIC_FAST_MUTEX ( sx_InitMutex  )

◆ Destroy()

virtual void IObjectConverter::Destroy ( void *  dst) const
pure virtual

◆ GetDstTypeInfo()

virtual const type_info& IObjectConverter::GetDstTypeInfo ( void  ) const
pure virtual

◆ GetDstTypeSize()

virtual size_t IObjectConverter::GetDstTypeSize ( void  ) const
pure virtual

◆ GetSrcTypeInfo()

virtual const type_info& IObjectConverter::GetSrcTypeInfo ( void  ) const
pure virtual

◆ GetSrcTypeSize()

virtual size_t IObjectConverter::GetSrcTypeSize ( void  ) const
pure virtual

The documentation for this class was generated from the following files:
Modified on Fri Sep 20 14:58:01 2024 by modify_doxy.py rev. 669887