Struct IEntityIterator#

Inheritance Relationships#

Derived Type#

Struct Documentation#

struct IEntityIterator#

Iterate through a vector of entities.

Subclassed by CEntity::CEntityIterator

Public Functions

virtual uint32_t GetCount() const = 0#

Get amount of entities.

Returns:

Returns the amount of entities available to this iterator.

virtual IInterfaceAccess *GetEntityByIndex(uint32_t uiIndex) = 0#

Get entity at supplied index.

Parameters:

uiIndex[in] The index to get the entity for.

Returns:

The entity at the index or NULL when there is no entity at this index.

uint32 GetCount() const

Get amount of entities.

Returns:

Returns the amount of entities available to this iterator.

IInterfaceAccess GetEntityByIndex (in uint32 uiIndex)

Get entity at supplied index.

Parameters:

uiIndex[in] The index to get the entity for.

Returns:

The entity at the index or NULL when there is no entity at this index.

Public Static Attributes

static ::sdv::interface_id _id = 0x7177BA8E9BF61AA7#

Interface ID.