Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

commandl::argument_exception Class Reference

This is a base class for argument-related exceptions. More...

#include <exceptions.hpp>

Inheritance diagram for commandl::argument_exception:

commandl::exception List of all members.

Public Methods

 argument_exception (const std::string &what_message, commandl::argument *argument)
 argument_exception (const std::string &what_message, commandl::argument *argument, const std::string &prefix, const std::string &key)
 argument_exception (const std::string &what_message, commandl::argument *argument, const std::string &prefix, const std::string &key, const std::string &assign, const std::string &value)
 argument_exception (const std::string &what_message, commandl::argument *argument, const std::string &prefix, const std::string &key, const std::string &assign, const std::vector< std::string > &values)
virtual ~argument_exception () throw ()
virtual argumentarg_ptr () const
virtual std::string prefix () const
virtual std::string key () const
virtual std::string assign () const
virtual std::vector< std::string > values () const

Protected Attributes

commandl::argumentArg_ptr
 A pointer to the argument object that threw this exception. More...

std::string Prefix
 The prefix related to this exception. More...

std::string Key
 The key related to this exception. More...

std::string Assign
 The assignment related to this exception. More...

std::vector< std::string > Values
 The values related to this exception. More...


Detailed Description

This is a base class for argument-related exceptions.


Constructor & Destructor Documentation

commandl::argument_exception::argument_exception const std::string &    what_message,
commandl::argument   argument
[inline]
 

commandl::argument_exception::argument_exception const std::string &    what_message,
commandl::argument   argument,
const std::string &    prefix,
const std::string &    key
[inline]
 

commandl::argument_exception::argument_exception const std::string &    what_message,
commandl::argument   argument,
const std::string &    prefix,
const std::string &    key,
const std::string &    assign,
const std::string &    value
[inline]
 

commandl::argument_exception::argument_exception const std::string &    what_message,
commandl::argument   argument,
const std::string &    prefix,
const std::string &    key,
const std::string &    assign,
const std::vector< std::string > &    values
[inline]
 

virtual commandl::argument_exception::~argument_exception   throw () [inline, virtual]
 


Member Function Documentation

virtual argument* commandl::argument_exception::arg_ptr   const [inline, virtual]
 

virtual std::string commandl::argument_exception::assign   const [inline, virtual]
 

virtual std::string commandl::argument_exception::key   const [inline, virtual]
 

virtual std::string commandl::argument_exception::prefix   const [inline, virtual]
 

virtual std::vector<std::string> commandl::argument_exception::values   const [inline, virtual]
 


Member Data Documentation

commandl::argument* commandl::argument_exception::Arg_ptr [protected]
 

A pointer to the argument object that threw this exception.

std::string commandl::argument_exception::Assign [protected]
 

The assignment related to this exception.

std::string commandl::argument_exception::Key [protected]
 

The key related to this exception.

std::string commandl::argument_exception::Prefix [protected]
 

The prefix related to this exception.

std::vector<std::string> commandl::argument_exception::Values [protected]
 

The values related to this exception.


The documentation for this class was generated from the following file:
Generated on Sat Apr 5 21:17:28 2003 for commandl Library by doxygen1.2.15