/* $Revision: 7 $ $Date: 9/10/03 15:45 $ Copyright © 1999-2003, FSL Technologies Limited. Contact "http://fost3.fsltech.com". */ #ifndef FSSETTINGS_INIFILE_HPP #define FSSETTINGS_INIFILE_HPP #pragma once #include #ifdef F3UTIL_EXPORTS #define INIFILE_HPP_ARCHIVE L"$Archive: /FOST.3/F3Util/inifile.hpp $" #define INIFILE_HPP_REVISION L"$Revision: 7 $" #define INIFILE_HPP_DATE L"$Date: 9/10/03 15:45 $" #endif namespace FSLib { namespace Exceptions { class F3UTIL_DECLSPEC InvalidINILine : public Exception { public: inline InvalidINILine( const FSLib::wstring §ion, const FSLib::wstring &read, const FSLib::wstring &processed ); protected: inline const wchar_t * const message() const throw (); }; } class F3UTIL_DECLSPEC IniFile { public: inline IniFile(const FSLib::wstring &a_fileName); private: void loadAll(); FSLib::wstring m_fileName; std::list< boost::shared_ptr< Setting > > m_settings; }; } #endif FSSETTINGS_INIFILE_HPP /* $History: inifile.hpp $ * * ***************** Version 7 ***************** * User: Kirit Date: 9/10/03 Time: 15:45 * Updated in $/FOST.3/F3Util * Headers re-arranged to give a proper SDK feel and to make determination * of required headers simpler. * * ***************** Version 5 ***************** * User: Kirit Date: 7/05/02 Time: 12:01 * Updated in $/FOST/Cpp/FSSettings * Wrapped std::basic_string<> in order to change the copy semantics to * stop the problems with using C++ in the COM layer for IIS. * * ***************** Version 4 ***************** * User: Kirit Date: 19/03/02 Time: 20:54 * Updated in $/FOST/Cpp/FSSettings * Corrected history from last check-in. * Updated TestAX.IDL to remove registry entries from removed classes. * * ***************** Version 3 ***************** * User: Kirit Date: 19/03/02 Time: 19:48 * Updated in $/FOST/Cpp/FSSettings * Debug compiles now all end in '_d'. * The C++ implementation names (Type.cppName) have been changed to also * include the DLL that the implementation is in as per the documentation. * In all source files the following have been done: * * Ensured that every header file has a revision object. * * Ensured that every translation unit has a revision object. * * Ensured that every source file (which understands comments) * has a history section. * * Changed all copyright notices to be for Obsideon Ltd. * * Changed copyright notices to use the longest possible timeframe. * * ***************** Version 2 ***************** * User: Kirit Date: 10/07/01 Time: 18:06 * Updated in $/FOST/FSSettings * Full support for command line argument parsing and INI file parsing. * Also fixes to errors within exception handling and unicode support. * * ***************** Version 1 ***************** * User: Kirit Date: 10/07/01 Time: 11:00 * Created in $/FOST/FSSettings */