C++ Reference: class AssignmentContainer

This documentation is automatically generated.

Method
Add

Return type: E*

Arguments: V* var

AddAtPosition

Return type: E*

Arguments: V* var, int position

Advanced usage: Adds element at a given position; position has to have been allocated with AssignmentContainer::Resize() beforehand.

AreAllElementsBound

Return type: bool

AssignmentContainer

Clear

Return type: void

Contains

Return type: bool

Arguments: const V* const var

Copy

Return type: void

Arguments: const AssignmentContainer<V, E>& container

Copies all the elements of 'container' to this container, clearing its previous content.

CopyIntersection

Return type: void

Arguments: const AssignmentContainer<V, E>& container

Copies the elements of 'container' which are already in the calling container.

Element

Return type: const E&

Arguments: const V* const var

Element

Return type: const E&

Arguments: int index

ElementPtrOrNull

Return type: const E*

Arguments: const V* const var

elements

Return type: const std::vector<E>&

Empty

Return type: bool

FastAdd

Return type: E*

Arguments: V* var

Adds element without checking its presence in the container.

MutableElement

Return type: E*

Arguments: const V* const var

MutableElement

Return type: E*

Arguments: int index

MutableElementOrNull

Return type: E*

Arguments: const V* const var

Resize

Return type: void

Arguments: size_t size

Advanced usage: Resizes the container, potentially adding elements with null variables.

Restore

Return type: void

Size

Return type: int

Store

Return type: void