IniAgent Class Reference

An interface class between YaST2 and Ini Agent. More...

#include <IniAgent.h>

Inheritance diagram for IniAgent:
SCRAgent

List of all members.

Public Member Functions

 IniAgent ()
virtual ~IniAgent ()
virtual YCPValue Read (const YCPPath &path, const YCPValue &arg=YCPNull(), const YCPValue &optarg=YCPNull())
virtual YCPBoolean Write (const YCPPath &path, const YCPValue &value, const YCPValue &arg=YCPNull())
virtual YCPList Dir (const YCPPath &path)
virtual YCPValue otherCommand (const YCPTerm &term)

Private Member Functions

YCPTerm generateSysConfigTemplate (string fn)

Private Attributes

IniParser parser

Detailed Description

An interface class between YaST2 and Ini Agent.


Constructor & Destructor Documentation

IniAgent::IniAgent (  ) 

Default constructor.

Constructor

IniAgent::~IniAgent (  )  [virtual]

Destructor.

Destructor

References IniParser::isStarted(), parser, and IniParser::write().


Member Function Documentation

YCPList IniAgent::Dir ( const YCPPath path  )  [virtual]
YCPTerm IniAgent::generateSysConfigTemplate ( string  fn  )  [private]

Agent private members

References YCPMap::add(), YCPList::add(), and YCPTerm::add().

Referenced by otherCommand().

YCPValue IniAgent::otherCommand ( const YCPTerm term  )  [virtual]
YCPValue IniAgent::Read ( const YCPPath path,
const YCPValue arg = YCPNull(),
const YCPValue optarg = YCPNull() 
) [virtual]

Provides SCR Read ().

Parameters:
path Path that should be read.
arg Additional parameter.

Read

Implements SCRAgent.

References IniParser::HaveRewrites(), IniParser::inifile, IniParser::isStarted(), parser, IniSection::Read(), IniParser::UpdateIfModif(), and y2warning.

YCPBoolean IniAgent::Write ( const YCPPath path,
const YCPValue value,
const YCPValue arg = YCPNull() 
) [virtual]

Member Data Documentation

Referenced by Dir(), otherCommand(), Read(), Write(), and ~IniAgent().


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

Generated on a sunny day for yast2-core by doxygen 1.6.3