PlayRho  2.0.0
An interactive physics engine & library.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ShapeID.hpp File Reference

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

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

Namespaces

 playrho
 

Typedefs

using playrho::ShapeID = detail::IndexingNamedType< ShapeCounter, struct ShapeIdentifier >
 Shape identifier. More...
 

Functions

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

Variables

constexpr auto playrho::InvalidShapeID = ShapeID{static_cast<ShapeID::underlying_type>(-1)}
 Invalid shape ID value. More...
 

Detailed Description

Definition of the ShapeID alias and closely related code.