Go to the documentation of this file.
35 #ifndef LVR2_UTIL_BASEHANDLE_H_
36 #define LVR2_UTIL_BASEHANDLE_H_
38 #include <boost/optional.hpp>
53 template<
typename IdxT=u
int32_t >
78 template <
typename IdxT,
typename NonOptionalT>
87 explicit operator bool()
const;
98 NonOptionalT
unwrap()
const;
107 #include "lvr2/util/BaseHandle.tcc"
bool operator<(const BaseHandle &other) const
Interface for all kinds of handles. Handles are basically a key to refer to something.
bool operator==(const BaseHandle &other) const
NonOptionalT unwrap() const
Extracts the handle. If this doesn't hold a handle (is "None"), this method panics.
Base class for optional handles (handles that can be "null" or "None").
bool operator!=(const BaseOptionalHandle &other) const
bool operator==(const BaseOptionalHandle &other) const
bool operator!=(const BaseHandle &other) const
lvr2
Author(s): Thomas Wiemann
, Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:22