bpp-core
2.2.0
|
Exception thrown when a given element was not found in the vector. More...
#include <Bpp/Numeric/VectorExceptions.h>
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). More... | |
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.
|
inline |
Definition at line 132 of file VectorExceptions.h.
|
inline |
Definition at line 136 of file VectorExceptions.h.
|
inlinevirtual |
Definition at line 146 of file VectorExceptions.h.
|
inlinevirtual |
Definition at line 149 of file VectorExceptions.h.
References bpp::ElementNotFoundException< T >::element_.
Referenced by bpp::DataTable::operator()().
|
inlinevirtualinherited |
Definition at line 80 of file VectorExceptions.h.
References bpp::VectorException< T >::vect_.
|
inline |
Definition at line 139 of file VectorExceptions.h.
References bpp::ElementNotFoundException< T >::element_, and bpp::VectorException< T >::operator=().
|
inlineinherited |
Method to get the message of the exception (STL method redefinition).
Definition at line 87 of file Exceptions.h.
References bpp::Exception::message_.
|
private |
Definition at line 129 of file VectorExceptions.h.
Referenced by bpp::ElementNotFoundException< T >::getElement(), and bpp::ElementNotFoundException< T >::operator=().
|
protectedinherited |
Definition at line 61 of file Exceptions.h.
Referenced by bpp::Exception::what().
|
protectedinherited |
Definition at line 62 of file VectorExceptions.h.
Referenced by bpp::VectorException< T >::getVector(), and bpp::VectorException< T >::operator=().