Utopia  2
Framework for studying models of complex & adaptive systems.
Public Member Functions | List of all members
Utopia::OutOfSpace Class Reference

An exception class for invalid positions in Utopia::Space. More...

#include <exceptions.hh>

Inheritance diagram for Utopia::OutOfSpace:
Inheritance graph
[legend]
Collaboration diagram for Utopia::OutOfSpace:
Collaboration graph
[legend]

Public Member Functions

template<class VecT , class Space >
 OutOfSpace (const VecT &invalid_pos, const std::shared_ptr< Space > &space, const std::string prefix={})
 Construct the exception with the invalid position and the space given. More...
 
- Public Member Functions inherited from Utopia::Exception
 Exception (const std::string &what_arg, const int exit_code_arg=1)
 Construct an Utopia-specific exception. More...
 
 Exception (const char *what_arg, const int exit_code_arg=1)
 Construct an Utopia-specific exception. More...
 

Additional Inherited Members

- Public Attributes inherited from Utopia::Exception
const int exit_code
 The exit code to use when exiting due to this exception. More...
 

Detailed Description

An exception class for invalid positions in Utopia::Space.

Constructor & Destructor Documentation

◆ OutOfSpace()

template<class VecT , class Space >
Utopia::OutOfSpace::OutOfSpace ( const VecT &  invalid_pos,
const std::shared_ptr< Space > &  space,
const std::string  prefix = {} 
)
inline

Construct the exception with the invalid position and the space given.


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