|
bpp-core
2.1.0
|
Exception thrown when a given element was not found in the vector. More...
#include <Bpp/Numeric/VectorExceptions.h>
Inheritance diagram for bpp::ElementNotFoundException< T >:
Collaboration diagram for bpp::ElementNotFoundException< T >:Public Member Functions | |
| ElementNotFoundException (const std::string &text, const std::vector< T > *vect=0, const T *element=0) | |
| ElementNotFoundException (const ElementNotFoundException &enfe) | |
| ElementNotFoundException & | operator= (const ElementNotFoundException &enfe) |
| virtual | ~ElementNotFoundException () throw () |
| virtual const T * | getElement () const |
| virtual const std::vector< T > * | getVector () const |
| const char * | what () const throw () |
| Method to get the message of the exception (STL method redefinition). | |
Protected Attributes | |
| const std::vector< T > * | vect_ |
| std::string | message_ |
Private Attributes | |
| const T * | element_ |
Exception thrown when a given element was not found in the vector.
Definition at line 124 of file VectorExceptions.h.
| bpp::ElementNotFoundException< T >::ElementNotFoundException | ( | const std::string & | text, |
| const std::vector< T > * | vect = 0, |
||
| const T * | element = 0 |
||
| ) | [inline] |
Definition at line 132 of file VectorExceptions.h.
| bpp::ElementNotFoundException< T >::ElementNotFoundException | ( | const ElementNotFoundException< T > & | enfe | ) | [inline] |
Definition at line 136 of file VectorExceptions.h.
| virtual bpp::ElementNotFoundException< T >::~ElementNotFoundException | ( | ) | throw () [inline, virtual] |
Definition at line 146 of file VectorExceptions.h.
| virtual const T* bpp::ElementNotFoundException< T >::getElement | ( | ) | const [inline, virtual] |
Definition at line 149 of file VectorExceptions.h.
References bpp::ElementNotFoundException< T >::element_.
Referenced by bpp::DataTable::operator()().
| virtual const std::vector<T>* bpp::VectorException< T >::getVector | ( | ) | const [inline, virtual, inherited] |
Definition at line 80 of file VectorExceptions.h.
References bpp::VectorException< T >::vect_.
| ElementNotFoundException& bpp::ElementNotFoundException< T >::operator= | ( | const ElementNotFoundException< T > & | enfe | ) | [inline] |
Definition at line 139 of file VectorExceptions.h.
References bpp::ElementNotFoundException< T >::element_.
| const char* bpp::Exception::what | ( | ) | const throw () [inline, inherited] |
Method to get the message of the exception (STL method redefinition).
Definition at line 86 of file Exceptions.h.
References bpp::Exception::message_.
const T* bpp::ElementNotFoundException< T >::element_ [private] |
Definition at line 129 of file VectorExceptions.h.
Referenced by bpp::ElementNotFoundException< T >::getElement(), and bpp::ElementNotFoundException< T >::operator=().
std::string bpp::Exception::message_ [protected, inherited] |
Definition at line 60 of file Exceptions.h.
Referenced by bpp::Exception::what().
const std::vector<T>* bpp::VectorException< T >::vect_ [protected, inherited] |
Definition at line 62 of file VectorExceptions.h.
Referenced by bpp::VectorException< T >::getVector(), and bpp::VectorException< T >::operator=().