Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
Gray::cIniKeyValue Class Reference

#include <cIniMap.h>

Inheritance diagram for Gray::cIniKeyValue:
GrayLib::cHttpCookie

Public Member Functions

 cIniKeyValue ()
 
 cIniKeyValue (cAtomRef aKey, cStringI sVal)
 
ATOMCODE_t get_HashCode () const noexcept
 
bool operator== (const cIniKeyValue &e) const noexcept
 
HRESULT GetValInt (int *piValue) const
 
HRESULT GetValDouble (double *pdValue) const
 

Public Attributes

cAtomRef m_aKey
 property key name. More...
 
cStringI m_sVal
 property value as a string. More...
 

Detailed Description

A single tuple. a key/named string and value pair. value/property stored as string. AKA cXmlAttribute. like cPair, cPairT, similar to "std::tuple<>" or "System.Collections.Generic.KeyValuePair<>", cVarTuple

Constructor & Destructor Documentation

◆ cIniKeyValue() [1/2]

Gray::cIniKeyValue::cIniKeyValue ( )
inline

◆ cIniKeyValue() [2/2]

Gray::cIniKeyValue::cIniKeyValue ( cAtomRef  aKey,
cStringI  sVal 
)
inline

Member Function Documentation

◆ get_HashCode()

ATOMCODE_t Gray::cIniKeyValue::get_HashCode ( ) const
inlinenoexcept

◆ GetValDouble()

HRESULT Gray::cIniKeyValue::GetValDouble ( double *  pdValue) const

get value type converted to double. error as if using scanf("%lf")

◆ GetValInt()

HRESULT Gray::cIniKeyValue::GetValInt ( int *  piValue) const

get value type converted to int. error as if using scanf("%d")

◆ operator==()

bool Gray::cIniKeyValue::operator== ( const cIniKeyValue e) const
inlinenoexcept

Member Data Documentation

◆ m_aKey

cAtomRef Gray::cIniKeyValue::m_aKey

property key name.

◆ m_sVal

cStringI Gray::cIniKeyValue::m_sVal

property value as a string.


The documentation for this class was generated from the following files: