Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

liloSection Class Reference

#include <LiloSection.h>

List of all members.

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

liloOrderedOptionsoptions
string sectName
string sectComment
int sectType
string type


Detailed Description

class for storing single section data


Constructor & Destructor Documentation

liloSection::liloSection const string &  init_type  ) 
 

default. does nothing

liloSection::~liloSection  )  [virtual]
 


Member Function Documentation

YCPList liloSection::Dir  )  [virtual]
 

returns list of all set variables

string liloSection::getSectName  ) 
 

returns section label. see man /lilo/conf 'label' description

bool liloSection::processLine inputLine line  )  [virtual]
 

only passes argument to 'options'

YCPValue liloSection::Read const YCPPath path  )  [virtual]
 

method for reading from path

int liloSection::saveToFile ostream *  f,
string  indent = ""
 

only passes arguments to 'options'

YCPBoolean liloSection::Write const YCPPath path,
const YCPValue val,
const YCPValue pos
[virtual]
 

method for reading to path


Member Data Documentation

liloOrderedOptions* liloSection::options
 

ordered options

string liloSection::sectComment
 

section comment- comment that was parsed just before section was defined

string liloSection::sectName
 

section name. e.g. if there's a line in "image=/dev/hda3" then sectName="/dev/hda3"

int liloSection::sectType
 

one of SECT_IMAGE / SECT_OTHER

string liloSection::type
 


The documentation for this class was generated from the following files:
Generated on Wed Nov 12 03:41:06 2008 for yast2-bootloader by  doxygen 1.3.9.1