apt  0.9.7.7ubuntu4
Classes | Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
CommandLine Class Reference

Classes

struct  Args
 
struct  Dispatch
 

Public Types

enum  AFlags {
  HasArg = (1 << 0), IntLevel = (1 << 1), Boolean = (1 << 2), InvBoolean = (1 << 3),
  ConfigFile = (1 << 4) | HasArg, ArbItem = (1 << 5) | HasArg
}
 

Public Member Functions

bool Parse (int argc, const char **argv)
 
void ShowHelp ()
 
unsigned int FileSize () const
 
bool DispatchArg (Dispatch *List, bool NoMatch=true)
 
 CommandLine (Args *AList, Configuration *Conf)
 

Public Attributes

const char ** FileList
 

Protected Member Functions

bool HandleOpt (int &I, int argc, const char *argv[], const char *&Opt, Args *A, bool PreceedeMatch=false)
 

Static Protected Member Functions

static void SaveInConfig (unsigned int const &argc, char const *const *const argv)
 

Protected Attributes

ArgsArgList
 
ConfigurationConf
 

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