Namespaces | Functions
ionContainer.h File Reference

Helper functions for working with std containers such as map and vector. More...

#include "ionTypes.h"
#include "ionSmartPointer.h"
#include <algorithm>
#include <functional>
Include dependency graph for ionContainer.h:

Go to the source code of this file.

Namespaces

 ion
 

Functions

template<typename T , typename U >
U * ion::ConditionalMapAccess (map< T, U * > const &Map, T const Key)
 
template<typename T , typename U >
SharedPointer< U > ion::ConditionalMapAccess (map< T, SharedPointer< U >> const &Map, T const Key)
 
template<typename T , typename U >
U * ion::ConditionalMapAccess (unordered_map< T, U * > const &Map, T const Key)
 
template<typename T , typename U >
bool ion::CheckMapAccess (map< T, U > const &Map, T const Key)
 
template<typename T , typename U >
bool ion::TryMapAccess (map< T, U > const &Map, T const Key, U &Value)
 
template<typename T , typename U >
set< T > ion::KeySet (map< T, U > const &Map)
 
template<typename T >
void ion::AddAtEnd (vector< T > &A, vector< T > const &B)
 
template<typename T >
void ion::EraseRemove (vector< T > &A, T B)
 
template<typename T , typename U >
void ion::EraseRemove (vector< T > &A, U B)
 
template<typename T >
void ion::DeleteAndClear (vector< T > &A)
 Deletes every pointer element of a vector and then clears the vector. More...
 

Detailed Description

Helper functions for working with std containers such as map and vector.