Tanl Linguistic Pipeline

IXE::OptionStream Class Reference

Given the traditional argc and argv for command-line arguments, extract options from them following the stream model. More...

#include <OptionStream.h>

List of all members.

Classes

class  Option

Public Member Functions

 OptionStream (int argc, char *argv[], Options::spec const [], std::ostream &=std::cerr)
int shift () const
 operator bool () const

Friends

OptionStreamoperator>> (OptionStream &, Option &)

Detailed Description

Given the traditional argc and argv for command-line arguments, extract options from them following the stream model.

RATIONALE

Why not use the standard getopt() or GNU's getopt_long()? Because neither are thread-safe and I needed a thread-safe version.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
 
Copyright © 2005-2011 G. Attardi. Generated on 4 Mar 2011 by doxygen 1.6.1.