ContactKey.hpp File Reference
#include <PlayRho/Common/Settings.hpp>
#include <utility>
#include <algorithm>
#include <functional>
#include <cassert>

Go to the source code of this file.

Classes

class  playrho::ContactKey
 Key value class for contacts. More...
 
struct  std::hash< playrho::ContactKey >
 Hash function object specialization for ContactKey. More...
 

Namespaces

 playrho
 
 playrho::d2
 

Typedefs

using playrho::d2::KeyedContactPtr = std::pair< ContactKey, Contact * >
 Keyed contact pointer. More...
 

Functions

PLAYRHO_CONSTEXPR bool playrho::operator== (const ContactKey lhs, const ContactKey rhs) noexcept
 Equality operator. More...
 
PLAYRHO_CONSTEXPR bool playrho::operator!= (const ContactKey lhs, const ContactKey rhs) noexcept
 Inequality operator. More...
 
PLAYRHO_CONSTEXPR bool playrho::operator< (const ContactKey lhs, const ContactKey rhs) noexcept
 Less-than operator. More...
 
PLAYRHO_CONSTEXPR bool playrho::operator<= (const ContactKey lhs, const ContactKey rhs) noexcept
 Less-than or equal-to operator. More...
 
PLAYRHO_CONSTEXPR bool playrho::operator> (const ContactKey lhs, const ContactKey rhs) noexcept
 Greater-than operator. More...
 
PLAYRHO_CONSTEXPR bool playrho::operator>= (const ContactKey lhs, const ContactKey rhs) noexcept
 Greater-than or equal-to operator. More...
 
ContactKey playrho::d2::GetContactKey (const Fixture &fixtureA, ChildCounter childIndexA, const Fixture &fixtureB, ChildCounter childIndexB) noexcept
 Gets the ContactKey for the given parameters. More...
 
ContactKey playrho::d2::GetContactKey (const Contact &contact) noexcept
 Gets the ContactKey for the given contact. More...
 
Contact * playrho::d2::GetContactPtr (KeyedContactPtr value)
 Gets the contact pointer for the given value. More...
 

Detailed Description

Declaration of the ContactKey class.

Definition in file ContactKey.hpp.