Public Types | Public Member Functions | Private Attributes
ProgramOptions::SyntaxError Class Reference

Used for signaling errors on command-line and in declaring options. More...

#include <errors.h>

Inheritance diagram for ProgramOptions::SyntaxError:
Inheritance graph
[legend]

List of all members.

Public Types

enum  Type { missing_value, extra_value, invalid_format }

Public Member Functions

const std::string & key () const
 SyntaxError (Type t, const std::string &key)
Type type () const
 ~SyntaxError () throw ()

Private Attributes

std::string key_
Type type_

Detailed Description

Used for signaling errors on command-line and in declaring options.

Definition at line 35 of file errors.h.


Member Enumeration Documentation

Enumerator:
missing_value 
extra_value 
invalid_format 

Definition at line 37 of file errors.h.


Constructor & Destructor Documentation

ProgramOptions::SyntaxError::SyntaxError ( Type  t,
const std::string &  key 
)

Definition at line 936 of file program_options.cpp.

Definition at line 43 of file errors.h.


Member Function Documentation

const std::string& ProgramOptions::SyntaxError::key ( ) const [inline]

Definition at line 45 of file errors.h.

Definition at line 44 of file errors.h.


Member Data Documentation

std::string ProgramOptions::SyntaxError::key_ [private]

Definition at line 47 of file errors.h.

Definition at line 48 of file errors.h.


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


clasp
Author(s): Benjamin Kaufmann
autogenerated on Thu Aug 27 2015 12:41:41