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;
89 bool operator!()
const;
98 NonOptionalT unwrap()
const;
107 #include "lvr2/util/BaseHandle.tcc" Interface for all kinds of handles. Handles are basically a key to refer to something.
bool operator<(const BaseHandle &other) const
bool operator!=(const BaseHandle &other) const
bool operator==(const BaseHandle &other) const
Base class for optional handles (handles that can be "null" or "None").