JointKey.hpp File Reference
#include <PlayRho/Common/Settings.hpp>
#include <utility>
#include <functional>

Go to the source code of this file.

Classes

class  playrho::d2::JointKey
 Joint key. More...
 
struct  std::less< playrho::d2::JointKey >
 Function object for performing less-than comparisons between two joint keys. More...
 
struct  std::equal_to< playrho::d2::JointKey >
 Function object for performing equal-to comparisons between two joint keys. More...
 

Namespaces

 playrho
 
 playrho::d2
 

Functions

JointKey playrho::d2::GetJointKey (const Joint &joint) noexcept
 Gets the JointKey for the given joint. More...
 
PLAYRHO_CONSTEXPR int playrho::d2::Compare (const JointKey &lhs, const JointKey &rhs) noexcept
 Compares the given joint keys. More...
 
PLAYRHO_CONSTEXPR bool playrho::d2::IsFor (const JointKey key, const Body *body) noexcept
 Determines whether the given key is for the given body. More...
 
Joint * playrho::d2::GetJointPtr (std::pair< JointKey, Joint * > value)
 Gets the joint pointer from the given value. More...
 

Detailed Description

Definition of the JointKey class and any associated free functions.

Definition in file JointKey.hpp.