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.
 
int FormatHints = 0
 The format hints of the variable.
 
AString name = new AString()
 The name of the section.
 
ArrayList< AStringvalues = new ArrayList<AString>()
 The list of values of the entry of the section.
 

Public Methods

 Entry (CharSequence name)
 
void fromVariable (InMemoryPlugin parent, Variable variable)
 
void toVariable (InMemoryPlugin parent, Variable variable)
 

Constructor & Destructor Documentation

◆ Entry()

Entry ( CharSequence  name)

Constructs an Entry

Parameters
nameThe name of the section.

Reimplemented from InMemoryPlugin.Entry.

Member Function Documentation

◆ fromVariable()

void fromVariable ( InMemoryPlugin  parent,
Variable  variable 
)

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()

void toVariable ( InMemoryPlugin  parent,
Variable  variable 
)

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: