#include <LiloSection.h>
Public Member Functions | |
liloSection (const string &init_type) | |
virtual | ~liloSection () |
virtual bool | processLine (inputLine *line) |
string | getSectName () |
int | saveToFile (ostream *f, string indent="") |
virtual YCPValue | Read (const YCPPath &path) |
virtual YCPBoolean | Write (const YCPPath &path, const YCPValue &val, const YCPValue &pos) |
virtual YCPList | Dir () |
Public Attributes | |
liloOrderedOptions * | options |
string | sectName |
string | sectComment |
int | sectType |
string | type |
|
default. does nothing |
|
|
|
returns list of all set variables |
|
returns section label. see man /lilo/conf 'label' description |
|
only passes argument to 'options' |
|
method for reading from path |
|
only passes arguments to 'options' |
|
method for reading to path |
|
ordered options |
|
section comment- comment that was parsed just before section was defined |
|
section name. e.g. if there's a line in "image=/dev/hda3" then sectName="/dev/hda3" |
|
one of SECT_IMAGE / SECT_OTHER |
|
|