vdr  2.2.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
cArgs Class Reference

#include <args.h>

Public Member Functions

 cArgs (const char *Argv0)
 
 ~cArgs (void)
 
bool ReadDirectory (const char *Directory)
 
int GetArgc (void) const
 
char ** GetArgv (void) const
 

Private Member Functions

bool AddArg (const char *s)
 

Private Attributes

cString argv0
 
cStringList args
 
cString lastArg
 
bool inVdrSection
 
int argc
 
char ** argv
 

Detailed Description

Definition at line 17 of file args.h.

Constructor & Destructor Documentation

cArgs::cArgs ( const char *  Argv0)

Definition at line 15 of file args.c.

References argc, argv, and argv0.

cArgs::~cArgs ( void  )

Definition at line 22 of file args.c.

References argv.

Member Function Documentation

bool cArgs::AddArg ( const char *  s)
private

Definition at line 28 of file args.c.

References cVector< T >::Append(), args, inVdrSection, lastArg, and cString::sprintf().

Referenced by ReadDirectory().

int cArgs::GetArgc ( void  ) const
inline

Definition at line 30 of file args.h.

References argc.

Referenced by main().

char** cArgs::GetArgv ( void  ) const
inline

Definition at line 31 of file args.h.

References argv.

Referenced by main().

bool cArgs::ReadDirectory ( const char *  Directory)

Member Data Documentation

int cArgs::argc
private

Definition at line 23 of file args.h.

Referenced by cArgs(), GetArgc(), and ReadDirectory().

cStringList cArgs::args
private

Definition at line 20 of file args.h.

Referenced by AddArg(), and ReadDirectory().

char** cArgs::argv
private

Definition at line 24 of file args.h.

Referenced by cArgs(), GetArgv(), ReadDirectory(), and ~cArgs().

cString cArgs::argv0
private

Definition at line 19 of file args.h.

Referenced by cArgs(), and ReadDirectory().

bool cArgs::inVdrSection
private

Definition at line 22 of file args.h.

Referenced by AddArg(), and ReadDirectory().

cString cArgs::lastArg
private

Definition at line 21 of file args.h.

Referenced by AddArg(), and ReadDirectory().


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