vdr  1.7.31
Public Member Functions | Private Attributes | List of all members
cSetupLine Class Reference

#include <config.h>

Public Member Functions

 cSetupLine (void)
 cSetupLine (const char *Name, const char *Value, const char *Plugin=NULL)
virtual ~cSetupLine ()
virtual int Compare (const cListObject &ListObject) const
const char * Plugin (void)
const char * Name (void)
const char * Value (void)
bool Parse (char *s)
bool Save (FILE *f)
 cSetupLine (void)
 cSetupLine (const char *Name, const char *Value, const char *Plugin=NULL)
virtual ~cSetupLine ()
virtual int Compare (const cListObject &ListObject) const
const char * Plugin (void)
const char * Name (void)
const char * Value (void)
bool Parse (char *s)
bool Save (FILE *f)
- Public Member Functions inherited from cListObject
 cListObject (void)
virtual ~cListObject ()
void Append (cListObject *Object)
void Insert (cListObject *Object)
void Unlink (void)
int Index (void) const
cListObjectPrev (void) const
cListObjectNext (void) const
 cListObject (void)
virtual ~cListObject ()
void Append (cListObject *Object)
void Insert (cListObject *Object)
void Unlink (void)
int Index (void) const
cListObjectPrev (void) const
cListObjectNext (void) const

Private Attributes

char * plugin
char * name
char * value

Detailed Description

Definition at line 227 of file config.h.

Constructor & Destructor Documentation

cSetupLine::cSetupLine ( void  )

Definition at line 306 of file config.c.

References name, plugin, and value.

cSetupLine::cSetupLine ( const char *  Name,
const char *  Value,
const char *  Plugin = NULL 
)

Definition at line 311 of file config.c.

References name, plugin, strreplace(), and value.

cSetupLine::~cSetupLine ( )
virtual

Definition at line 318 of file config.c.

References name, plugin, and value.

cSetupLine::cSetupLine ( void  )
cSetupLine::cSetupLine ( const char *  Name,
const char *  Value,
const char *  Plugin = NULL 
)
virtual cSetupLine::~cSetupLine ( )
virtual

Member Function Documentation

int cSetupLine::Compare ( const cListObject ListObject) const
virtual

Must return 0 if this object is equal to ListObject, a positive value if it is "greater", and a negative value if it is "smaller".

Reimplemented from cListObject.

Definition at line 325 of file config.c.

References name, and plugin.

virtual int cSetupLine::Compare ( const cListObject ListObject) const
virtual

Must return 0 if this object is equal to ListObject, a positive value if it is "greater", and a negative value if it is "smaller".

Reimplemented from cListObject.

const char* cSetupLine::Name ( void  )
inline

Definition at line 238 of file include/vdr/config.h.

References name.

const char* cSetupLine::Name ( void  )
inline

Definition at line 238 of file config.h.

References name.

Referenced by Parse().

bool cSetupLine::Parse ( char *  s)

Definition at line 340 of file config.c.

References compactspace(), name, Name(), plugin, Plugin(), value, and Value().

bool cSetupLine::Parse ( char *  s)
const char* cSetupLine::Plugin ( void  )
inline

Definition at line 237 of file config.h.

References plugin.

Referenced by Parse().

const char* cSetupLine::Plugin ( void  )
inline

Definition at line 237 of file include/vdr/config.h.

References plugin.

bool cSetupLine::Save ( FILE *  f)
bool cSetupLine::Save ( FILE *  f)

Definition at line 365 of file config.c.

References name, plugin, and value.

const char* cSetupLine::Value ( void  )
inline

Definition at line 239 of file config.h.

References value.

Referenced by Parse().

const char* cSetupLine::Value ( void  )
inline

Definition at line 239 of file include/vdr/config.h.

References value.

Member Data Documentation

char * cSetupLine::name
private

Definition at line 230 of file config.h.

Referenced by Compare(), cSetupLine(), Name(), Parse(), Save(), and ~cSetupLine().

char * cSetupLine::plugin
private

Definition at line 229 of file config.h.

Referenced by Compare(), cSetupLine(), Parse(), Plugin(), Save(), and ~cSetupLine().

char * cSetupLine::value
private

Definition at line 231 of file config.h.

Referenced by cSetupLine(), Parse(), Save(), Value(), and ~cSetupLine().


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