9 #ifndef YARP_LITTLE_ENDIAN
15 std::int64_t NetInt64::swap(std::int64_t x)
const
17 UnionNetInt64 in, out;
19 for (
int i = 0; i < 8; i++) {
20 out.c[i] = in.c[7 - i];
24 RawNetInt64 NetInt64::get()
const
26 return (RawNetInt64)swap((RawNetInt64)raw_value);
28 void NetInt64::set(RawNetInt64 v)
30 raw_value = (RawNetInt64)swap((RawNetInt64)v);
39 NetInt64::operator RawNetInt64()
const
Vector & operator+=(Vector &a, const double &s)
Addition operator between a scalar and a vector (defined in Math.h).
Vector operator+(const Vector &a, const double &s)
Mathematical operations.
Vector operator-(const Vector &a, const double &s)
Subtraction operator between a vector and a scalar (defined in Math.h).
Vector operator*(double k, const Vector &b)
Scalar-vector product operator (defined in Math.h).
Vector & operator*=(Vector &a, double k)
Vector-scalar product operator (defined in Math.h).
Vector & operator/=(Vector &a, const Vector &b)
Vector-vector element-wise division operator (defined in Math.h).
Vector operator/(const Vector &a, const Vector &b)
Vector-vector element-wise division operator (defined in Math.h).
Vector & operator-=(Vector &a, const double &s)
Subtraction operator between a vector and a scalar (defined in Math.h).
An interface to the operating system, including Port based communication.
std::int64_t NetInt64
Definition of the NetInt64 type.
The main, catch-all namespace for YARP.