45 #include "OpenVolumeMeshHandle.hh"
49 bool operator==(
const int& _lhs,
const OpenVolumeMeshHandle& _rhs) {
50 return _lhs == _rhs.idx();
53 bool operator==(
const unsigned int& _lhs,
const OpenVolumeMeshHandle& _rhs) {
55 return _lhs == (
unsigned int)_rhs.idx();
58 bool operator!=(
const int& _lhs,
const OpenVolumeMeshHandle& _rhs) {
60 return !(_lhs == _rhs);
63 bool operator!=(
const unsigned int& _lhs,
const OpenVolumeMeshHandle& _rhs) {
65 return !(_lhs == _rhs);
68 std::ostream& operator<<(std::ostream& _ostr,
const OpenVolumeMeshHandle& _handle) {
69 _ostr << _handle.idx();
73 std::istream&
operator>>(std::istream& _istr, OpenVolumeMeshHandle& _handle) {
std::istream & operator>>(std::istream &is, Matrix4x4T< Scalar > &m)
read the space-separated components of a vector from a stream */