71 #pragma warning( disable : 4251 )
613 int getLine(
Line *& prRetVal, std::string * psSection, std::string * psKey = 0 );
665 int getKeyValue( std::string & rsValue, std::string * psSection, std::string * psKey );
704 const std::string & rsKey,
705 const std::string & rsValue );
737 int removeKey(
const std::string & rsSection,
const std::string & rsKey );
793 #pragma warning( default : 4251 )
For each library, here 'IniFile' there is a type definition file.
#define __ini_file_export_dll
Definition IniFileTypes.h:68
This class allows to edit a blob (insert, copy, search etc.).
Definition EuBlob.h:75
An INI file contains information for programs.
Definition IniFile.h:313
int removeLine(ptl::ElementPosition eFirstLastCurrent=ptl::CURRENT_POS)
int insertLine(Line *pIniLine, ptl::InsertPosition eInsertPosition=ptl::InsertCURRENT, ptl::VH eBeforeBehind=ptl::BEHIND)
int makeLines(eut::Blob *pBlob)
std::string getFileName()
std::string m_sFileName
Definition IniFile.h:326
ptl::TDVList< Line > m_LineList
Definition IniFile.h:337
LineFactory m_LineFactory
Definition IniFile.h:348
File(const std::string &rsFullFileName, TdOpenInifileMode openMode)
int getAsBlob(eut::Blob *&prBlob)
void setFullFileName(const std::string &rsFullFileName)
int getLine(Line *&prRetVal, std::size_t nPosition, ptl::SeekMode eMode)
int setKeyValue(const std::string &rsSection, const std::string &rsKey, const std::string &rsValue)
int removeKey(const std::string &rsSection, const std::string &rsKey)
int getLine(Line *&prRetVal, std::string *psSection, std::string *psKey=0)
int getKeyValue(std::string &rsValue, std::string *psSection, std::string *psKey)
This class turns lines of an INI file into objects of the types Line, Section or Key.
Definition IniLineFactory.h:76
Is a comment line, but also superclass for Section and Key.
Definition IniLine.h:77
Template list class for pointers to objects.
Definition PtlTDVList.h:113
bool TdOpenInifileMode
Definition IniFileTypes.h:200
InsertPosition
Definition PtlListTypes.h:201
@ InsertCURRENT
Definition PtlListTypes.h:204
VH
Definition PtlListTypes.h:157
@ BEHIND
Definition PtlListTypes.h:159
ElementPosition
Definition PtlListTypes.h:120
@ CURRENT_POS
Definition PtlListTypes.h:123
SeekMode
Definition PtlListTypes.h:369