#include <containerbase.h>
|
enum maxon::GenericContainerInterface::INTERFACES | MAXON_ENUM_FLAGS_CLASS (INTERFACES) |
|
const MAXON_METHOD ContainerDataType & | GetContainerType () const |
|
MAXON_METHOD INTERFACES | GetInterfaces () const |
|
MAXON_METHOD Result< GenericContainerInterface * > | MakeWritable (Bool cloneElements=true) const |
|
MAXON_METHOD Result< GenericContainerInterface * > | Clone (Bool cloneElements=true) const |
|
MAXON_METHOD String | ToString (const FormatStatement *formatStatement=nullptr) const |
|
MAXON_METHOD HashInt | GetHashCode () const |
|
MAXON_METHOD HashValue | GetHashValue () const |
|
MAXON_METHOD Bool | IsEqual (const GenericContainerInterface *other, EQUALITY equality) const |
|
MAXON_METHOD Int | FindMemberIndex (const InternedId &name) const |
|
MAXON_FUNCTION Int | FindMemberIndex (const Member &member) const |
|
MAXON_METHOD Result< Int > | GetCount () const |
|
MAXON_METHOD Int | GetIteratorStateSize (const MemberMap *map) const |
|
MAXON_METHOD Result< Int > | InitIterator (ViewIteratorMember *members, const MemberMap *map, Char *state, PersistentIdBuffer *idBuffer) const |
|
MAXON_METHOD Result< Int > | ValidateIterator (Int index, ViewIteratorMember *members, const MemberMap *map, Char *state, PersistentIdBuffer *idBuffer) const |
|
MAXON_METHOD void | FreeIterator (ViewIteratorMember *members, const MemberMap *map, Char *state, PersistentIdBuffer *idBuffer) const |
|
MAXON_METHOD Result< Int > | MoveIterator (Int index, ViewIteratorMember *members, const MemberMap *map, Char *state, PersistentIdBuffer *idBuffer) const |
|
MAXON_METHOD Result< void > | AdvancePersistentId (Int index, const Char *state, PersistentIdBuffer &idBuffer) const |
|
| MAXON_ADD_TO_CONST_REFERENCE_CLASS (using Iterator=maxon::details::ContainerIterator< T, false >;using ConstIterator=maxon::details::ContainerIterator< T, true >;) |
|
◆ GenericContainerInterfaceMarker
◆ INTERFACES
Enumerator |
---|
NONE | |
SINGLETON_CONTAINER | |
ARRAY_CONTAINER | |
XFORM_CONTAINER | |
CONCAT_CONTAINER | |
STATIC_ARRAY | |
V_ARRAY | |
ARRAY | |
SINGLE_VALUE_ARRAY | |
◆ MAXON_INTERFACE_SIMPLE_VIRTUAL()
◆ MAXON_GENERIC()
◆ MAXON_ENUM_FLAGS_CLASS()
◆ GetContainerType()
◆ GetInterfaces()
◆ MakeWritable()
Returns a writable copy of this container. This may return a different implementation of the interface if the current implementation only supports read-only access (for example a container implementation where all elements have the same value). If there's just a single reference to the container, the container itself may be returned.
- Parameters
-
[in] | cloneElements | True if also the elements shall be cloned, false otherwise (then just a new object with a writable implementation is created). |
- Returns
- Pointer to the writable container object, nullptr if allocation or copying failed. @MAXON_ANNOTATION{refclass=false}
◆ Clone()
◆ ToString()
◆ GetHashCode()
◆ GetHashValue()
◆ IsEqual()
◆ FindMemberIndex() [1/2]
Finds the member index of the member with the given #name in this. If no such member can be found, -1 is returned.
- Parameters
-
[in] | name | Name of the member to find. |
- Returns
- Index of the member, or -1 if it doesn't exist. @MAXON_ANNOTATION{default=-1}
◆ FindMemberIndex() [2/2]
◆ GetCount()
◆ GetIteratorStateSize()
@MAXON_ANNOTATION{refclass=false}
◆ InitIterator()
@MAXON_ANNOTATION{refclass=false}
◆ ValidateIterator()
@MAXON_ANNOTATION{refclass=false}
◆ FreeIterator()
@MAXON_ANNOTATION{refclass=false}
◆ MoveIterator()
@MAXON_ANNOTATION{refclass=false}
◆ AdvancePersistentId()
@MAXON_ANNOTATION{refclass=false}
◆ MAXON_ADD_TO_CONST_REFERENCE_CLASS()
◆ MAXON_METHOD_RESERVE