NCBI C++ ToolKit
Public Types | Public Member Functions | Private Attributes | List of all members
value_slice::CValueConvert< CP, const char * > Class Template Reference

Search Toolkit Book for value_slice::CValueConvert_3_01CP_00_01const_01char_01_5_01_4

#include <util/value_convert.hpp>

Public Types

typedef const char * obj_type
 

Public Member Functions

 CValueConvert (obj_type value)
 
 operator bool (void) const
 
 operator Uint1 (void) const
 
 operator Int1 (void) const
 
 operator Uint2 (void) const
 
 operator Int2 (void) const
 
 operator Uint4 (void) const
 
 operator Int4 (void) const
 
 operator unsigned long (void) const
 
 operator long (void) const
 
 operator Uint8 (void) const
 
 operator Int8 (void) const
 
 operator float (void) const
 
 operator double (void) const
 
 operator long double (void) const
 
 operator CTime (void) const
 

Private Attributes

obj_type m_Value
 

Detailed Description

template<typename CP>
class value_slice::CValueConvert< CP, const char * >

Definition at line 160 of file value_convert.hpp.

Member Typedef Documentation

◆ obj_type

template<typename CP >
typedef const char* value_slice::CValueConvert< CP, const char * >::obj_type

Definition at line 163 of file value_convert.hpp.

Constructor & Destructor Documentation

◆ CValueConvert()

template<typename CP >
value_slice::CValueConvert< CP, const char * >::CValueConvert ( obj_type  value)
inline

Definition at line 165 of file value_convert.hpp.

Member Function Documentation

◆ operator bool()

template<typename CP >
value_slice::CValueConvert< CP, const char * >::operator bool ( void  ) const
inline

Definition at line 171 of file value_convert.hpp.

References NStr::StringToBool().

◆ operator CTime()

template<typename CP >
value_slice::CValueConvert< CP, const char * >::operator CTime ( void  ) const
inline

Definition at line 238 of file value_convert.hpp.

◆ operator double()

template<typename CP >
value_slice::CValueConvert< CP, const char * >::operator double ( void  ) const
inline

Definition at line 230 of file value_convert.hpp.

References NStr::StringToDouble().

◆ operator float()

template<typename CP >
value_slice::CValueConvert< CP, const char * >::operator float ( void  ) const
inline

Definition at line 226 of file value_convert.hpp.

References NStr::StringToDouble().

◆ operator Int1()

template<typename CP >
value_slice::CValueConvert< CP, const char * >::operator Int1 ( void  ) const
inline

Definition at line 179 of file value_convert.hpp.

References NStr::fAllowTrailingSymbols, and NStr::StringToInt().

◆ operator Int2()

template<typename CP >
value_slice::CValueConvert< CP, const char * >::operator Int2 ( void  ) const
inline

Definition at line 187 of file value_convert.hpp.

References NStr::fAllowTrailingSymbols, and NStr::StringToInt().

◆ operator Int4()

template<typename CP >
value_slice::CValueConvert< CP, const char * >::operator Int4 ( void  ) const
inline

Definition at line 195 of file value_convert.hpp.

References NStr::fAllowTrailingSymbols, and NStr::StringToInt().

◆ operator Int8()

template<typename CP >
value_slice::CValueConvert< CP, const char * >::operator Int8 ( void  ) const
inline

Definition at line 221 of file value_convert.hpp.

References NStr::fAllowTrailingSymbols, and NStr::StringToInt8().

◆ operator long()

template<typename CP >
value_slice::CValueConvert< CP, const char * >::operator long ( void  ) const
inline

Definition at line 203 of file value_convert.hpp.

References NStr::fAllowTrailingSymbols, and NStr::StringToLong().

◆ operator long double()

template<typename CP >
value_slice::CValueConvert< CP, const char * >::operator long double ( void  ) const
inline

Definition at line 234 of file value_convert.hpp.

References NStr::StringToDouble().

◆ operator Uint1()

template<typename CP >
value_slice::CValueConvert< CP, const char * >::operator Uint1 ( void  ) const
inline

Definition at line 175 of file value_convert.hpp.

References NStr::fAllowTrailingSymbols, and NStr::StringToUInt().

◆ operator Uint2()

template<typename CP >
value_slice::CValueConvert< CP, const char * >::operator Uint2 ( void  ) const
inline

Definition at line 183 of file value_convert.hpp.

References NStr::fAllowTrailingSymbols, and NStr::StringToUInt().

◆ operator Uint4()

template<typename CP >
value_slice::CValueConvert< CP, const char * >::operator Uint4 ( void  ) const
inline

Definition at line 191 of file value_convert.hpp.

References NStr::fAllowTrailingSymbols, and NStr::StringToUInt().

◆ operator Uint8()

template<typename CP >
value_slice::CValueConvert< CP, const char * >::operator Uint8 ( void  ) const
inline

Definition at line 217 of file value_convert.hpp.

References NStr::fAllowTrailingSymbols, and NStr::StringToUInt8().

◆ operator unsigned long()

template<typename CP >
value_slice::CValueConvert< CP, const char * >::operator unsigned long ( void  ) const
inline

Definition at line 199 of file value_convert.hpp.

References NStr::fAllowTrailingSymbols, and NStr::StringToULong().

Member Data Documentation

◆ m_Value

template<typename CP >
obj_type value_slice::CValueConvert< CP, const char * >::m_Value
private

Definition at line 244 of file value_convert.hpp.


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