Stay organized with collections
Save and categorize content based on your preferences.
C++ Reference: class AssignmentContainer
Note: 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 |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-09-14 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]