|
| virtual | ~TypeMap () |
| | required destructor More...
|
| |
| virtual TypeMap_shared | cloneData ()=0 |
| | Create an exact copy of this Map. More...
|
| |
| virtual TypeMap_shared | cloneEmpty ()=0 |
| | Create a new Map with no key/value associations. More...
|
| |
| virtual int32_t | getInt (const ::std::string &key, int32_t defaultValue)=0 throw (TypeMismatchException ) |
| | Get the Int value associated with a given key. More...
|
| |
| virtual int64_t | getLong (const ::std::string &key, int64_t defaultValue)=0 throw (TypeMismatchException ) |
| | Get the Long value associated with a given key. More...
|
| |
| virtual float | getFloat (const ::std::string &key, float defaultValue)=0 throw (TypeMismatchException ) |
| | Get the Float value associated with a given key. More...
|
| |
| virtual double | getDouble (const ::std::string &key, double defaultValue)=0 throw (TypeMismatchException ) |
| | Get the Double value associated with a given key. More...
|
| |
| virtual ::std::complex< float > | getFcomplex (const ::std::string &key, ::std::complex< float > defaultValue)=0 throw (TypeMismatchException ) |
| | Get the Fcomplex value associated with a given key. More...
|
| |
| virtual ::std::complex< double > | getDcomplex (const ::std::string &key, ::std::complex< double > defaultValue)=0 throw (TypeMismatchException ) |
| | Get the Dcomplex value associated with a given key. More...
|
| |
| virtual ::std::string | getString (const ::std::string &key, ::std::string defaultValue)=0 throw (TypeMismatchException ) |
| | Get the string value associated with a given key. More...
|
| |
| virtual bool | getBool (const ::std::string &key, bool defaultValue)=0 throw (TypeMismatchException ) |
| | Get the boolean value associated with a given key. More...
|
| |
| virtual ::std::vector< int32_t > | getIntArray (const ::std::string &key, ::std::vector< int32_t > &defaultValue)=0 throw (TypeMismatchException ) |
| | Get the value associated with a given key. More...
|
| |
| virtual ::std::vector< int64_t > | getLongArray (const ::std::string &key, ::std::vector< int64_t > &defaultValue)=0 throw (TypeMismatchException ) |
| | Get the value associated with a given key. More...
|
| |
| virtual ::std::vector< float > | getFloatArray (const ::std::string &key, ::std::vector< float > &defaultValue)=0 throw (TypeMismatchException ) |
| | Get the value associated with a given key. More...
|
| |
| virtual ::std::vector< double > | getDoubleArray (const ::std::string &key, ::std::vector< double > &defaultValue)=0 throw (TypeMismatchException ) |
| | Get the value associated with a given key. More...
|
| |
| virtual ::std::vector< ::std::complex< float > > | getFcomplexArray (const ::std::string &key, ::std::vector< ::std::complex< float > > &defaultValue)=0 throw (TypeMismatchException ) |
| | Get the complex value associated with a given key. More...
|
| |
| virtual ::std::vector< ::std::complex< double > > | getDcomplexArray (const ::std::string &key, ::std::vector< ::std::complex< double > > &defaultValue)=0 throw (TypeMismatchException ) |
| | Get the complex value associated with a given key. More...
|
| |
| virtual ::std::vector< ::std::string > | getStringArray (const ::std::string &key, ::std::vector< ::std::string > &defaultValue)=0 throw (TypeMismatchException ) |
| | Get the value associated with a given key. More...
|
| |
| virtual ::std::vector< bool > | getBoolArray (const ::std::string &key, ::std::vector< bool > &defaultValue)=0 throw (TypeMismatchException ) |
| | Get the value associated with a given key. More...
|
| |
| virtual void | putInt (const ::std::string &key, int value)=0 |
| | Assign a key and value. More...
|
| |
| virtual void | putLong (const ::std::string &key, int64_t value)=0 |
| | Assign a key and value. More...
|
| |
| virtual void | putFloat (const ::std::string &key, float value)=0 |
| | Assign a key and value. More...
|
| |
| virtual void | putDouble (const ::std::string &key, double value)=0 |
| | Assign a key and value. More...
|
| |
| virtual void | putFcomplex (const ::std::string &key, ::std::complex< float > value)=0 |
| | Assign a key and complex value. More...
|
| |
| virtual void | putDcomplex (const ::std::string &key, ::std::complex< double > value)=0 |
| | Assign a key and complex value. More...
|
| |
| virtual void | putString (const ::std::string &key, const ::std::string &value)=0 |
| | Assign a key and value. More...
|
| |
| virtual void | putBool (const ::std::string &key, bool value)=0 |
| | Assign a key and value. More...
|
| |
| virtual void | putIntArray (const ::std::string &key, int *value, int length)=0 |
| | Assign a key and value. More...
|
| |
| virtual void | putIntArray (const ::std::string &key, ::std::vector< int > &value)=0 |
| | c++ convenience function. More...
|
| |
| virtual void | putLongArray (const ::std::string &key, int64_t *value, int length)=0 |
| | Assign a key and value. More...
|
| |
| virtual void | putLongArray (const ::std::string &key, ::std::vector< int64_t > &value)=0 |
| | c++ convenience function. More...
|
| |
| virtual void | putFloatArray (const ::std::string &key, float *value, int length)=0 |
| | Assign a key and value. More...
|
| |
| virtual void | putFloatArray (const ::std::string &key, ::std::vector< float > &value)=0 |
| | c++ convenience function. More...
|
| |
| virtual void | putDoubleArray (const ::std::string &key, double *value, int length)=0 |
| | Assign a key and value. More...
|
| |
| virtual void | putDoubleArray (const ::std::string &key, ::std::vector< double > &value)=0 |
| | c++ convenience function. More...
|
| |
| virtual void | putFcomplexArray (const ::std::string &key, ::std::complex< float > *value, int length)=0 |
| | Assign a key and complex array value. More...
|
| |
| virtual void | putFcomplexArray (const ::std::string &key, ::std::vector< ::std::complex< float > > &value)=0 |
| | c++ convenience function. More...
|
| |
| virtual void | putDcomplexArray (const ::std::string &key, ::std::complex< double > *value, int length)=0 |
| | Assign a key and complex array value. More...
|
| |
| virtual void | putDcomplexArray (const ::std::string &key, ::std::vector< ::std::complex< double > > &value)=0 |
| | c++ convenience function. More...
|
| |
| virtual void | putStringArray (const ::std::string &key, ::std::vector< ::std::string > &value)=0 |
| | Assign a key and value. More...
|
| |
| virtual void | putBoolArray (const ::std::string &key, bool *value, int length)=0 |
| | Assign a key and value. More...
|
| |
| virtual void | putBoolArray (const ::std::string &key, ::std::vector< bool > &value)=0 |
| | c++ convenience function. More...
|
| |
| virtual void | remove (const ::std::string &key)=0 |
| | Make the key and associated value disappear from the object. More...
|
| |
| virtual ::std::vector< ::std::string > | getAllKeys (enum Type t)=0 |
| | Get all the names associated with a particular type without exposing the data implementation details. More...
|
| |
| virtual bool | hasKey (const ::std::string &key)=0 |
| | Return true if the key exists in this map. More...
|
| |
| virtual enum Type | typeOf (const ::std::string &key)=0 |
| | Return the type of the value associated with this key. More...
|
| |
A CCA typed hash map.
Maps a string key to a particular value. Types are strictly enforced. For example, values places into the map using putInt can be retrieved only using getInt. Calls to getLong, getString, getIntArray and other get methods will fail (i.e. return the default value) if the value stored is of type Int.