Go to the documentation of this file.
46 typedef std::shared_ptr<Velocity>
Ptr;
51 typedef std::shared_ptr<Velocity const>
ConstPtr;
100 return (
x == other.
x) && (
y == other.
y) && (
z == other.
z);
137 #ifndef GEN_GUARD_AD_PHYSICS_VELOCITY
138 #define GEN_GUARD_AD_PHYSICS_VELOCITY
181 stringstream sstream;
183 return sstream.str();
186 #endif // GEN_GUARD_AD_PHYSICS_VELOCITY
namespace ad
Definition: Acceleration.hpp:30
bool operator==(const Velocity &other) const
standard comparison operator
Definition: Velocity.hpp:98
Velocity()=default
standard constructor
DataType Speed.
Definition: Speed.hpp:68
std::shared_ptr< Velocity const > ConstPtr
Smart pointer on constant Velocity.
Definition: Velocity.hpp:51
~Velocity()=default
standard destructor
std::shared_ptr< Velocity > Ptr
Smart pointer on Velocity.
Definition: Velocity.hpp:46
Velocity & operator=(const Velocity &other)=default
standard assignment operator
::ad::physics::Speed x
Definition: Velocity.hpp:118
bool operator!=(const Velocity &other) const
standard comparison operator
Definition: Velocity.hpp:110
std::string to_string(::ad::physics::Acceleration const &value)
overload of the std::to_string for Acceleration
Definition: Acceleration.hpp:559
::ad::physics::Speed z
Definition: Velocity.hpp:128
::ad::physics::Speed y
Definition: Velocity.hpp:123
std::ostream & operator<<(std::ostream &os, Acceleration const &_value)
standard ostream operator
Definition: Acceleration.hpp:547
DataType Velocity.
Definition: Velocity.hpp:41