Essentia  2.1-beta6-dev
OrderedMap< T > Class Template Reference

#include <types.h>

Inheritance diagram for OrderedMap< T >:

Public Types

typedef std::vector< std::pair< std::string, T * > > BaseClass
 

Public Member Functions

int size () const
 
const std::pair< std::string, T * > & operator[] (uint idx) const
 
std::pair< std::string, T * > & operator[] (uint idx)
 
const T * operator[] (const char *str) const
 
T * operator[] (const char *str)
 
const T * operator[] (const std::string &str) const
 
T * operator[] (const std::string &str)
 
std::vector< std::string > keys () const
 
void insert (const std::string &key, T *value)
 

Member Typedef Documentation

◆ BaseClass

typedef std::vector<std::pair<std::string, T*> > BaseClass

Member Function Documentation

◆ insert()

void insert ( const std::string &  key,
T *  value 
)
inline

◆ keys()

std::vector<std::string> keys ( ) const
inline

◆ operator[]() [1/6]

T* operator[] ( const char *  str)
inline

◆ operator[]() [2/6]

const T* operator[] ( const char *  str) const
inline

◆ operator[]() [3/6]

T* operator[] ( const std::string &  str)
inline

◆ operator[]() [4/6]

const T* operator[] ( const std::string &  str) const
inline

◆ operator[]() [5/6]

std::pair<std::string, T*>& operator[] ( uint  idx)
inline

◆ operator[]() [6/6]

const std::pair<std::string, T*>& operator[] ( uint  idx) const
inline

◆ size()

int size ( ) const
inline

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