ALox  V. 2402 R. 0
Home ALox for C++ ALox for C# ALox for Java Download
Public Fields | Public Methods | List of all members
IniFile.Entry Class Reference
Inheritance diagram for IniFile.Entry:
[legend]
Collaboration diagram for IniFile.Entry:
[legend]

Class Description


A configuration sections' entry

Public Fields

AString RawValue = new AString()
 
- Public Fields inherited from InMemoryPlugin.Entry
AString Comments = new AString()
 The comments of the section.
 
char Delim = '\0'
 The delimiter if splitting to multiple lines is wanted.
 
String FormatAttrAlignment = null
 The format attribute alignment hint of the variable.
 
Variable.FormatHint FormatHints = 0
 The format hints of the variable.
 
AString Name = new AString()
 The name of the section.
 
List< AStringValues = new List<AString>()
 The list of values of the entry of the section.
 

Public Methods

 Entry (Object name)
 
override void FromVariable (InMemoryPlugin parent, Variable variable)
 
override void ToVariable (InMemoryPlugin parent, Variable variable)
 
- Public Methods inherited from InMemoryPlugin.Entry
 Entry (Object name)
 

Constructor & Destructor Documentation

◆ Entry()

Entry ( Object  name)
inline

Constructs an Entry

Parameters
nameThe name of the section.

Member Function Documentation

◆ FromVariable()

override void FromVariable ( InMemoryPlugin  parent,
Variable  variable 
)
inlinevirtual

Overrides default method. Clears the raw value, and calls base method.

Parameters
parentThe plug-in we belong to.
variableThe variable to fill with our values.

Reimplemented from InMemoryPlugin.Entry.

◆ ToVariable()

override void ToVariable ( InMemoryPlugin  parent,
Variable  variable 
)
inlinevirtual

Overrides default method. If we have not parsed the INI file text value, yet, we do this now.

Parameters
parentThe plug-in we belong to.
variableThe variable to fill with our values.

Reimplemented from InMemoryPlugin.Entry.

Member Data Documentation

◆ RawValue

AString RawValue = new AString()

The raw string as read from the INI file. Ready to be written back when variable is untouched.


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