clingo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Public Types | Public Member Functions | List of all members
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
Collaboration diagram for ProgramOptions::SyntaxError:
Collaboration graph

Public Types

enum  Type { missing_value, extra_value, invalid_format }
 

Public Member Functions

 SyntaxError (Type t, const std::string &key)
 
 ~SyntaxError () throw ()
 
Type type () const
 
const std::string & key () const
 
- Public Member Functions inherited from ProgramOptions::Error
 Error (const std::string &what)
 

Detailed Description

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

Member Enumeration Documentation

Enumerator
missing_value 
extra_value 
invalid_format 

Constructor & Destructor Documentation

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

Member Function Documentation

const std::string& ProgramOptions::SyntaxError::key ( ) const
inline
Type ProgramOptions::SyntaxError::type ( ) const
inline

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