DiaDes
0.1
DIAgnosis of Discrete-Event System
|
A Box is a container that contains at most a reference to an object. More...
#include <Box.hh>
Public Types | |
typedef std::reference_wrapper< Object > | Reference |
Public Member Functions | |
Box () | |
Box (Object &object) | |
Box (Box &box) | |
Object & | obj () |
const Object & | cObj () const |
bool | empty () const |
Object & | operator= (Object &object) |
bool | operator< (const Box &box) const |
bool | operator== (const Box &box) const |
void | clear () |
Private Attributes | |
std::vector< Reference > | _box |
A Box is a container that contains at most a reference to an object.
A Box is a small utility based on a vector and a reference_wrapper that helps at holding a reference either permanently or temporarily
typedef std::reference_wrapper<Object> Diades::Utils::Box< Object >::Reference |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 102 of file Box.hh.
Referenced by std::hash< Diades::Utils::Box< Object > >::operator()(), Diades::Utils::Box< Net >::operator<(), and Diades::Utils::Box< Net >::operator==().
|
inline |
Definition at line 114 of file Box.hh.
Referenced by Diades::Utils::Box< Net >::Box(), Diades::Utils::Box< Net >::operator<(), Diades::Utils::CBox< Diades::Petri::BranchingProcess >::operator<(), Diades::Utils::Box< Net >::operator==(), and Diades::Utils::CBox< Diades::Petri::BranchingProcess >::operator==().
|
inline |
Definition at line 91 of file Box.hh.
Referenced by Diades::Utils::Box< Net >::Box(), Diades::Petri::BranchingProcess::net(), Diades::Utils::CBox< Diades::Petri::BranchingProcess >::operator<(), and Diades::Utils::CBox< Diades::Petri::BranchingProcess >::operator==().
|
inline |
|
inline |
|
inline |
|
private |