Cogs.Core
Classes | Functions
Cogs::ComponentModel Namespace Reference

Contains code for composing and managing entities built from components. More...

Classes

struct  ColorAttribute
 Tags an object as being able to represent a color. More...
 
class  Component
 Base class for Component instances. More...
 
class  ComponentCollection
 Typed collection of components. More...
 
class  ComponentCollectionBase
 A collection of components, held by component handles. More...
 
class  ComponentDataPool
 Typed data pool for storing data in parallel to a component pool. More...
 
class  ComponentDataPoolBase
 Base class for data pools. More...
 
struct  ComponentFlags
 Contains component flags. More...
 
struct  ComponentHandle
 Handle to a Component instance. More...
 
struct  ComponentPool
 Typed component pool. More...
 
class  ComponentPoolBase
 Untyped Component pool base. More...
 
struct  ComponentPoolFlags
 Contains component pool flags. More...
 
class  ComponentPtr
 A shared_pointer type pointer to a component in an entity. More...
 
struct  DefaultValueAttribute
 Adds default value information to an object. More...
 
struct  DescriptionAttribute
 Adds a description to an object. More...
 
class  Entity
 Container for components, providing composition of dynamic entities. More...
 
struct  RangeAttribute
 Adds range information to an object. More...
 
struct  SerializableAttribute
 Tags an object as being possible to serialize. More...
 
struct  StepSizeAttribute
 Adds step size information to an object. More...
 

Functions

constexpr bool operator== (const ComponentHandle &a, const ComponentHandle &b)
 Overloaded equality operator.
 

Detailed Description

Contains code for composing and managing entities built from components.

Function Documentation

◆ operator==()

constexpr bool Cogs::ComponentModel::operator== ( const ComponentHandle a,
const ComponentHandle b 
)
constexpr

Overloaded equality operator.

Definition at line 133 of file Component.h.