fshake3d  0.0.1
FreeformDensity3DSurfaceEditor
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Member Functions | Public Attributes
options_parser Struct Reference

#include <options.hpp>

List of all members.

Public Member Functions

 options_parser (int argc, char *argv[])
void usage ()
bool empty () const
int parse_int ()
const char * parse_string ()
double parse_double ()
bool expect (int n)
void parse_argument (options_config &c)
void skip (int i)
void parse_all (options_config &c)

Public Attributes

int mArgc
char ** mArgv
int mPos

Detailed Description

Definition at line 7 of file options.hpp.


Constructor & Destructor Documentation

options_parser::options_parser ( int  argc,
char *  argv[] 
) [inline]

Definition at line 9 of file options.hpp.


Member Function Documentation

bool options_parser::empty ( ) const [inline]

Definition at line 16 of file options.hpp.

bool options_parser::expect ( int  n) [inline]

Definition at line 20 of file options.hpp.

void options_parser::parse_all ( options_config c) [inline]

Definition at line 23 of file options.hpp.

Definition at line 15 of file options.cpp.

double options_parser::parse_double ( ) [inline]

Definition at line 19 of file options.hpp.

int options_parser::parse_int ( ) [inline]

Definition at line 17 of file options.hpp.

const char* options_parser::parse_string ( ) [inline]

Definition at line 18 of file options.hpp.

void options_parser::skip ( int  i) [inline]

Definition at line 22 of file options.hpp.

Definition at line 4 of file options.cpp.


Member Data Documentation

Definition at line 31 of file options.hpp.

Definition at line 32 of file options.hpp.

Definition at line 33 of file options.hpp.


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