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

Exception to be thrown if no (suitable) RNG is available. More...

#include <librandom_exceptions.h>

Inheritance diagram for librandom::MissingRNG:
SLIException

Public Member Functions

 MissingRNG ()
 
 MissingRNG (std::string msg)
 
 ~MissingRNG () throw ()
 
std::string message ()
 Returns a diagnostic message or empty string. More...
 
- 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

std::string msg_
 

Detailed Description

Exception to be thrown if no (suitable) RNG is available.

Constructor & Destructor Documentation

librandom::MissingRNG::MissingRNG ( )
inline
Parameters
detailederror message
librandom::MissingRNG::MissingRNG ( std::string  msg)
inline
librandom::MissingRNG::~MissingRNG ( )
throw (
)
inline

Member Function Documentation

std::string librandom::MissingRNG::message ( )
inlinevirtual

Returns a diagnostic message or empty string.

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

Implements SLIException.

References msg_.

Member Data Documentation

std::string librandom::MissingRNG::msg_
private

Referenced by message().


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