# ecs::Entity

`#include <Entity.hpp>`

## Public Functions

|   | Name                                                                                                                                                                    |
| - | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|   | [**operator size\_t &**](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Classes/Classes/classecs_1_1_entity.md#function-operator-size-t-&)()   |
|   | [**operator size\_t**](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Classes/Classes/classecs_1_1_entity.md#function-operator-size-t)() const |

## Friends

|       | Name                                                                                                                                           |
| ----- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| class | [**Registry**](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Classes/Classes/classecs_1_1_entity.md#friend-registry) |

## Public Functions Documentation

### function operator size\_t &

```cpp
inline explicit operator size_t &()
```

**Return**: Private member \_id of the [Entity](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Classes/Classes/classecs_1_1_entity.md)

Operators for the [Entity](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Classes/Classes/classecs_1_1_entity.md) class used to get the Id of the entity

### function operator size\_t

```cpp
inline explicit operator size_t() const
```

## Friends

### friend Registry

```cpp
friend class Registry(
    Registry 
);
```

***

Updated on 2022-11-13 at 17:21:37 +0100
