Home Hierarchy Members Alphabetical Related Pages

argstream.h File Reference

#include <string>
#include <list>
#include <deque>
#include <map>
#include <stdexcept>
#include <sstream>
#include <iostream>

Include dependency graph for argstream.h:

Include dependency graph

Go to the source code of this file.

Classes

class  ValueHolder
class  OptionHolder
class  ValuesHolder
class  argstream

Functions

template<class T>
ValueHolder< T > parameter (const char s, const char *l, T &b, const char *desc="", bool mandatory=true)
template<class T>
ValueHolder< T > parameter (const char *l, T &b, const char *desc="", bool mandatory=true)
OptionHolder option (const char s, const char *l, bool &b, const char *desc="")
OptionHolder option (const char *l, bool &b, const char *desc="")
OptionHolder help (const char s, const char *l, const char *desc)
template<class T, class O>
ValuesHolder< T, O > values (const O &o, const char *desc="", int len=-1)
template<class T>
argstream & operator>> (argstream &s, const ValueHolder< T > &v)
argstream & operator>> (argstream &s, const OptionHolder &v)
template<class T, class O>
argstream & operator>> (argstream &s, const ValuesHolder< T, O > &v)


Function Documentation

OptionHolder help (  const char  s = 'h',
const char *  l = "help",
const char *  desc = "Display this help"
)  [inline]
 

argstream& operator>> (  argstream &  s,
const ValuesHolder< T, O > &  v
) 
 

argstream& operator>> (  argstream &  s,
const OptionHolder &  v
) 
 

argstream& operator>> (  argstream &  s,
const ValueHolder< T > &  v
) 
 

OptionHolder option (  const char *  l,
bool &  b,
const char *  desc = ""
)  [inline]
 

OptionHolder option (  const char  s,
const char *  l,
bool &  b,
const char *  desc = ""
)  [inline]
 

ValueHolder<T> parameter (  const char *  l,
T &  b,
const char *  desc = "",
bool  mandatory = true
)  [inline]
 

ValueHolder<T> parameter (  const char  s,
const char *  l,
T &  b,
const char *  desc = "",
bool  mandatory = true
)  [inline]
 

ValuesHolder<T,O> values (  const O &  o,
const char *  desc = "",
int  len = -1
)  [inline]
 


Generated on 24 Feb 2005 with doxygen version 1.3.9.1. Valid HTML 4.0! Valid CSS!