Previous topic

SContainer Structure

Next topic

SIterator Structure

SContainerClass StructureΒΆ

speect class SContainerClass

The container class structure.

All containers classes inherit from this class.

Protected Attributes
SObjectClass _inherit

Inherit from SObjectClass.

SIterator *(*const get_iterator)(const SContainer *self, s_erc *error)

Get iterator function pointer.

Return an iterator to the first object of the container.

Parameters:
  • self

    The given container.

  • error

    Error code.

Return:

Iterator to the first object of the container. If there are no objects in the container, then NULL must be returned.