Essentia  2.1-beta5-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]

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

◆ operator[]() [2/6]

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

◆ operator[]() [3/6]

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

◆ operator[]() [4/6]

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

◆ operator[]() [5/6]

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

◆ operator[]() [6/6]

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

◆ size()

int size ( ) const
inline

Referenced by essentia::contains().


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