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

CurlAgent Class Reference

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

#include <CurlAgent.h>

Inheritance diagram for CurlAgent:

SCRAgent List of all members.

Public Member Functions

 CurlAgent ()
virtual ~CurlAgent ()
virtual YCPValue Read (const YCPPath &path, const YCPValue &arg=YCPNull(), const YCPValue &opt=YCPNull())
virtual YCPBoolean Write (const YCPPath &path, const YCPValue &value, const YCPValue &arg=YCPNull())
virtual YCPValue Execute (const YCPPath &path, const YCPValue &value=YCPNull(), const YCPValue &arg=YCPNull())
virtual YCPList Dir (const YCPPath &path)
virtual YCPValue otherCommand (const YCPTerm &term)
virtual YCPValue Get (const char *url, const char *target)
virtual string getMapValue (const YCPMap map, const string key, const string defaultValue)

Detailed Description

An interface class between YaST2 and Curl Agent.


Constructor & Destructor Documentation

CurlAgent::CurlAgent (   ) 
 

Default constructor.

CurlAgent::~CurlAgent (   )  [virtual]
 

Destructor.


Member Function Documentation

YCPList CurlAgent::Dir (  const YCPPath &  path  )  [virtual]
 

Provides SCR Dir ().

Implements SCRAgent.

YCPValue CurlAgent::Execute (  const YCPPath &  path,
const YCPValue &  value = YCPNull(),
const YCPValue &  arg = YCPNull()
)  [virtual]
 

Provides SCR Execute ().

Reimplemented from SCRAgent.

YCPValue CurlAgent::Get (  const char *  url,
const char *  target
)  [virtual]
 

string CurlAgent::getMapValue (  const YCPMap  map,
const string  key,
const string  defaultValue
)  [virtual]
 

YCPValue CurlAgent::otherCommand (  const YCPTerm &  term  )  [virtual]
 

Used for mounting the agent.

Reimplemented from SCRAgent.

YCPValue CurlAgent::Read (  const YCPPath &  path,
const YCPValue &  arg = YCPNull(),
const YCPValue &  opt = YCPNull()
)  [virtual]
 

Provides SCR Read ().

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

Implements SCRAgent.

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

Provides SCR Write ().

Implements SCRAgent.


The documentation for this class was generated from the following files:
Generated on Wed Sep 14 11:10:09 2005 for yast2-transfer by  doxygen 1.4.4