NEST  2.6.0,not_revisioned_source_dir@0
Public Member Functions | Private Attributes | List of all members
RangeCheck Class Reference

Exception to be thrown if a given SLI array has the wrong size. More...

#include <sliexceptions.h>

Inheritance diagram for RangeCheck:
InterpreterError SLIException

Public Member Functions

 ~RangeCheck () throw ()
 
 RangeCheck (int s=0)
 
std::string message ()
 Returns a diagnostic message or empty string. More...
 
- Public Member Functions inherited from InterpreterError
virtual ~InterpreterError () throw ()
 
 InterpreterError (char const *const what)
 
- Public Member Functions inherited from SLIException
 SLIException (char const *const what)
 
virtual ~SLIException () throw ()
 
virtual const char * what () const throw ()
 Returns the SLI error name, used by raiseerror. More...
 

Private Attributes

int size_
 

Detailed Description

Exception to be thrown if a given SLI array has the wrong size.

Constructor & Destructor Documentation

RangeCheck::~RangeCheck ( )
throw (
)
inline
RangeCheck::RangeCheck ( int  s = 0)
inline

Member Function Documentation

std::string RangeCheck::message ( )
virtual

Returns a diagnostic message or empty string.

This function is not const, because it may clear internal data fields.

Implements SLIException.

References size_.

Member Data Documentation

int RangeCheck::size_
private

Referenced by message().


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