8#ifndef HPP_ALIB_CONFIG_INI_FILE
9#define HPP_ALIB_CONFIG_INI_FILE 1
11#if !defined (HPP_ALIB_CONFIG_INMEMORY_PLUGIN)
14#if !defined(HPP_ALIB_CAMP_MESSAGE_REPORT)
20namespace alib {
namespace config {
178 if( section.Name().IsNotEmpty() && section.Comments.IsNull() )
180 "Hint: New section {!Q} , which was programatically added to\n"
181 " INI-file {!Q}, has no comments.\n "
182 " The use of method IniFile::AddResourcedSectionComments() is recommended.",
236 const NString& resourceCategory,
237 const NString& resourceNamePrefix );
278 virtual void Clear()
override;
virtual ALIB_API bool Load(Variable &variable, bool searchOnly=false) override
virtual ALIB_API bool Store(Variable &variable) override
bool FormatSpaceAfterDelim
virtual ALIB_API void ToVariable(Entry &entry, Variable &variable) const override
ALIB_API void WriteFile()
static String DefaultFileExtension
String DefaultCommentPrefix
bool FormatSpaceBeforeDelim
virtual ~IniFile() override
virtual ALIB_API void FromVariable(Entry &entry, Variable &variable) const override
static ALIB_API void AddResourcedSectionComments(Configuration &config, ResourcePool &resourcePool, const NString &resourceCategory, const NString &resourceNamePrefix)
ALIB_API void writeComments(strings::compatibility::std::StringWriter &os, const AString &comments)
virtual String Name() const override
virtual ALIB_API void Clear() override
virtual bool Store(Variable &variable) override
bool FormatIncludeDelimInAttrAlignment
List< integer > LinesWithReadErrors
#define ALIB_WARNING(...)
strings::compatibility::std::StringWriter StringWriter
Type alias in namespace alib.
config::IniFile IniFile
Type alias in namespace alib.