Cogs.Foundation
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
Component.h File Reference
#include "../Reflection/Name.h"
#include <cstdint>

Go to the source code of this file.

Classes

struct  Cogs::ComponentModel::ComponentFlags
 Contains component flags. More...
 
struct  Cogs::ComponentModel::ComponentHandle
 Handle to a Component instance. More...
 
class  Cogs::ComponentModel::Component
 Base class for Component instances. More...
 

Namespaces

namespace  Cogs
 Main Cogs namespace.
 
namespace  Cogs::Reflection
 Contains reflection support.
 
namespace  Cogs::ComponentModel
 Contains code for composing and managing entities built from components.
 

Typedefs

using Cogs::ComponentIndex = uint32_t
 Type used to track component indexes in pools.
 
using Cogs::SizeType = ComponentIndex
 Type used to track the size of pools.
 

Functions

constexpr bool Cogs::ComponentModel::operator== (const ComponentHandle &a, const ComponentHandle &b)
 Overloaded equality operator.
 
template<>
Cogs::StringView getName< Cogs::ComponentModel::Component > ()
 

Function Documentation

◆ getName< Cogs::ComponentModel::Component >()