MCPcopy Create free account
hub / github.com/EasyDarwin/EasyPusher / LoadDataDouble

Method LoadDataDouble

EasyPusher_Win/EasyPusher/IniFileLoad.cpp:188–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188void CIniFileLoad::LoadDataDouble(CString strSection,CString strKey,double &fValue)
189{
190 CString strValue=_T("");
191 LoadString(strSection,strKey,strValue);
192
193 if(strValue.IsEmpty())
194 {
195 fValue=-1.0;
196 }
197 else
198 {
199 fValue=_ttof(strValue);
200 }
201
202}
203
204void CIniFileLoad::SetDataInt(CString strSection,CString strKey,int nValue)
205{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected