vdr 2.7.5
cSetupLine Class Reference

#include <config.h>

Public Member Functions

 cSetupLine (void)
 cSetupLine (const char *Name, const char *Value, const char *Plugin=NULL)
virtual ~cSetupLine () override
virtual int Compare (const cListObject &ListObject) const override
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

Private Attributes

char * plugin
char * name
char * value

Detailed Description

Definition at line 243 of file config.h.

Constructor & Destructor Documentation

◆ cSetupLine() [1/2]

cSetupLine::cSetupLine ( void )

Definition at line 306 of file config.c.

References name, plugin, and value.

Referenced by Compare().

◆ cSetupLine() [2/2]

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

Definition at line 311 of file config.c.

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

◆ ~cSetupLine()

cSetupLine::~cSetupLine ( )
overridevirtual

Definition at line 318 of file config.c.

References name, plugin, and value.

Member Function Documentation

◆ Compare()

int cSetupLine::Compare ( const cListObject & ListObject) const
overridevirtual

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 cListObject::cListObject(), cSetupLine(), name, and plugin.

◆ Name()

const char * cSetupLine::Name ( void )
inline

Definition at line 254 of file config.h.

References name.

Referenced by cSetupLine(), and Parse().

◆ Parse()

bool cSetupLine::Parse ( char * s)

Definition at line 340 of file config.c.

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

◆ Plugin()

const char * cSetupLine::Plugin ( void )
inline

Definition at line 253 of file config.h.

References plugin.

Referenced by cSetupLine(), and Parse().

◆ Save()

bool cSetupLine::Save ( FILE * f)

Definition at line 365 of file config.c.

References name, plugin, and value.

◆ Value()

const char * cSetupLine::Value ( void )
inline

Definition at line 255 of file config.h.

References value.

Referenced by cSetupLine(), and Parse().

Member Data Documentation

◆ name

char* cSetupLine::name
private

Definition at line 246 of file config.h.

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

◆ plugin

char* cSetupLine::plugin
private

Definition at line 245 of file config.h.

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

◆ value

char* cSetupLine::value
private

Definition at line 247 of file config.h.

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


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