Faro Engine 0.0.0.b519570 (main)
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
Faro::Map< KeyType, ValueType > Class Template Reference

#include <Map.hpp>

Public Types

typedef std::map< KeyType, ValueType >::iterator Iterator
 
typedef std::map< KeyType, ValueType >::const_iterator CIterator
 

Public Member Functions

void Add (KeyType k, ValueType v)
 
void Remove (KeyType k)
 
bool Contains (KeyType k) const
 
void Clear ()
 
Array< KeyType > GetKeys () const
 
Array< ValueType > GetValues () const
 
uint32 Size () const
 
ValueType & operator[] (KeyType k)
 
Iterator begin ()
 
CIterator cbegin () const
 
Iterator end () noexcept
 
CIterator cend () const
 

Member Typedef Documentation

◆ CIterator

template<class KeyType , class ValueType >
typedef std::map<KeyType,ValueType>::const_iterator Faro::Map< KeyType, ValueType >::CIterator

◆ Iterator

template<class KeyType , class ValueType >
typedef std::map<KeyType,ValueType>::iterator Faro::Map< KeyType, ValueType >::Iterator

Member Function Documentation

◆ Add()

template<class KeyType , class ValueType >
void Faro::Map< KeyType, ValueType >::Add ( KeyType  k,
ValueType  v 
)
inline

◆ begin()

template<class KeyType , class ValueType >
Iterator Faro::Map< KeyType, ValueType >::begin ( )
inline

◆ cbegin()

template<class KeyType , class ValueType >
CIterator Faro::Map< KeyType, ValueType >::cbegin ( ) const
inline

◆ cend()

template<class KeyType , class ValueType >
CIterator Faro::Map< KeyType, ValueType >::cend ( ) const
inline

◆ Clear()

template<class KeyType , class ValueType >
void Faro::Map< KeyType, ValueType >::Clear ( )
inline

◆ Contains()

template<class KeyType , class ValueType >
bool Faro::Map< KeyType, ValueType >::Contains ( KeyType  k) const
inline

◆ end()

template<class KeyType , class ValueType >
Iterator Faro::Map< KeyType, ValueType >::end ( )
inlinenoexcept

◆ GetKeys()

template<class KeyType , class ValueType >
Array< KeyType > Faro::Map< KeyType, ValueType >::GetKeys ( ) const
inline

◆ GetValues()

template<class KeyType , class ValueType >
Array< ValueType > Faro::Map< KeyType, ValueType >::GetValues ( ) const
inline

◆ operator[]()

template<class KeyType , class ValueType >
ValueType & Faro::Map< KeyType, ValueType >::operator[] ( KeyType  k)
inline

◆ Remove()

template<class KeyType , class ValueType >
void Faro::Map< KeyType, ValueType >::Remove ( KeyType  k)
inline

◆ Size()

template<class KeyType , class ValueType >
uint32 Faro::Map< KeyType, ValueType >::Size ( ) const
inline

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