paludis::args Namespace Reference


Classes

class  ArgsDumper
class  ArgsError
class  BadValue
class  MissingValue
class  ArgsGroup
class  ArgsHandler
class  ArgsOption
class  SwitchArg
class  StringArg
class  StringSetArg
class  StringSequenceArg
class  AliasArg
class  IntegerArg
struct  AllowedEnumArg
class  EnumArg
class  ArgsSection
class  ArgsVisitor
class  BadArgument
class  DepListArgsGroup
class  DepsOptionArg
struct  DoHelp
class  InstallArgsGroup
class  LogLevelArg
class  DocWriter
class  HtmlWriter
class  ManWriter

Typedefs

typedef Options
< ArgsHandlerOption
ArgsHandlerOptions

Enumerations

enum  ArgsHandlerOption { aho_stop_on_first_parameter, last_dstpo }

Functions

std::ostream & operator<< (std::ostream &, const ArgsHandlerOption &) PALUDIS_VISIBLE
std::istream & operator>> (std::istream &, ArgsHandlerOption &) PALUDIS_VISIBLE
std::ostream & operator<< (std::ostream &, const ArgsHandler &) PALUDIS_VISIBLE
const std::string escape (const std::string &) PALUDIS_VISIBLE PALUDIS_ATTRIBUTE((warn_unused_result))
void generate_doc (DocWriter &dw, const ArgsHandler *const h) PALUDIS_VISIBLE


Detailed Description

Commandline argument handling.

Enumeration Type Documentation

enum paludis::args::ArgsHandlerOption

Enumerator:
aho_stop_on_first_parameter  Stop on the first parameter encountered.
last_dstpo  Number of keys in paludis::args::ArgsHandlerOption.


Function Documentation

void paludis::args::generate_doc ( DocWriter &  dw,
const ArgsHandler *const   h 
)

Write docs to an ostream.

std::ostream& paludis::args::operator<< ( std::ostream &  ,
const ArgsHandler &   
)

Output an ArgsHandler to an ostream, for --help output.

std::ostream& paludis::args::operator<< ( std::ostream &  ,
const ArgsHandlerOption &   
)

Write a ArgsHandlerOption to a stream.

std::istream& paludis::args::operator>> ( std::istream &  ,
ArgsHandlerOption &   
)

Read a ArgsHandlerOption from a stream.


Generated on Mon Sep 21 10:36:12 2009 for paludis by  doxygen 1.5.4