ManiaScript Trackmania 2020  30/10/2024
AssociativeArray< KeyType, ElemType > Struct Template Reference

#include <2024_10_30.h>

Public Member Functions

ElemType operator[] (KeyType Key)
 
ElemType get (KeyType Key)
 
ElemType get (KeyType Key, ElemType DefaultValue)
 
AssociativeArray< KeyType, ElemType > sort ()
 
AssociativeArray< KeyType, ElemType > sortreverse ()
 
AssociativeArray< KeyType, ElemType > sortkey ()
 
AssociativeArray< KeyType, ElemType > sortkeyreverse ()
 
Boolean remove (ElemType Elem)
 
Boolean removekey (KeyType Key)
 
Boolean exists (ElemType Elem)
 
Boolean existskey (KeyType Key)
 
KeyType keyof (ElemType Elem)
 
Void clear ()
 
Boolean containsonly (Array< ElemType > Elem)
 
Boolean containsoneof (Array< ElemType > Elem)
 

Public Attributes

Integer count
 

Detailed Description

template<typename KeyType, typename ElemType>
struct AssociativeArray< KeyType, ElemType >

Definition at line 48 of file 2024_10_30.h.

Member Function Documentation

◆ clear()

template<typename KeyType , typename ElemType >
Void AssociativeArray< KeyType, ElemType >::clear ( )

◆ containsoneof()

template<typename KeyType , typename ElemType >
Boolean AssociativeArray< KeyType, ElemType >::containsoneof ( Array< ElemType >  Elem)

◆ containsonly()

template<typename KeyType , typename ElemType >
Boolean AssociativeArray< KeyType, ElemType >::containsonly ( Array< ElemType >  Elem)

◆ exists()

template<typename KeyType , typename ElemType >
Boolean AssociativeArray< KeyType, ElemType >::exists ( ElemType  Elem)

◆ existskey()

template<typename KeyType , typename ElemType >
Boolean AssociativeArray< KeyType, ElemType >::existskey ( KeyType  Key)

◆ get() [1/2]

template<typename KeyType , typename ElemType >
ElemType AssociativeArray< KeyType, ElemType >::get ( KeyType  Key)

◆ get() [2/2]

template<typename KeyType , typename ElemType >
ElemType AssociativeArray< KeyType, ElemType >::get ( KeyType  Key,
ElemType  DefaultValue 
)

◆ keyof()

template<typename KeyType , typename ElemType >
KeyType AssociativeArray< KeyType, ElemType >::keyof ( ElemType  Elem)

◆ operator[]()

template<typename KeyType , typename ElemType >
ElemType AssociativeArray< KeyType, ElemType >::operator[] ( KeyType  Key)

◆ remove()

template<typename KeyType , typename ElemType >
Boolean AssociativeArray< KeyType, ElemType >::remove ( ElemType  Elem)

◆ removekey()

template<typename KeyType , typename ElemType >
Boolean AssociativeArray< KeyType, ElemType >::removekey ( KeyType  Key)

◆ sort()

template<typename KeyType , typename ElemType >
AssociativeArray<KeyType, ElemType> AssociativeArray< KeyType, ElemType >::sort ( )

◆ sortkey()

template<typename KeyType , typename ElemType >
AssociativeArray<KeyType, ElemType> AssociativeArray< KeyType, ElemType >::sortkey ( )

◆ sortkeyreverse()

template<typename KeyType , typename ElemType >
AssociativeArray<KeyType, ElemType> AssociativeArray< KeyType, ElemType >::sortkeyreverse ( )

◆ sortreverse()

template<typename KeyType , typename ElemType >
AssociativeArray<KeyType, ElemType> AssociativeArray< KeyType, ElemType >::sortreverse ( )

Member Data Documentation

◆ count

template<typename KeyType , typename ElemType >
Integer AssociativeArray< KeyType, ElemType >::count

Definition at line 52 of file 2024_10_30.h.


The documentation for this struct was generated from the following file: