PlayRho  2.0.0
An interactive physics engine & library.
BodyID.hpp File Reference

Definition of the BodyID alias and closely related code. More...

Include dependency graph for BodyID.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 playrho
 

Typedefs

using playrho::BodyID = detail::IndexingNamedType< BodyCounter, struct BodyIdentifier >
 Body identifier. More...
 

Functions

constexpr auto playrho::IsValid (const BodyID &value) noexcept -> bool
 Determines validity of given value by comparing against playrho::InvalidBodyID . More...
 

Variables

constexpr auto playrho::InvalidBodyID = BodyID{static_cast<BodyID::underlying_type>(-1)}
 Invalid body ID value. More...
 

Detailed Description

Definition of the BodyID alias and closely related code.