Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
List of all members
AOVDescriptor Class Reference
Inheritance diagram for AOVDescriptor:
CoreHashTable< CoreString, CoreArray< short > >

Additional Inherited Members

- Public Types inherited from CoreHashTable< CoreString, CoreArray< short > >
enum  HashImplType
 
- Public Member Functions inherited from CoreHashTable< CoreString, CoreArray< short > >
 CoreHashTable (const unsigned int &hash_size=0)
 
 CoreHashTable (const CoreHashTable &src)
 
 CoreHashTable (std::initializer_list< CorePair< CoreString, CoreArray< short > >> table)
 
 init ()
 
 copy_from (src)
 
void copy_from (const CoreHashTable &src)
 Replace hashtable content with incoming one's.
 
 for (const auto &item:table)
 
void reserve (const unsigned int &nb_elements, const bool &preserve_elements=false)
 
void add (const CoreString &key, const CoreArray< short > &item)
 add a new key/value entry in the hash table, if key does not already exist. If key already exists, set its value.
 
CoreArray< short > & get_value (const CoreString &key) const
 Gets value associated to incoming key. Key entry MUST exist, use CoreHashTable::is_key_exists if you don't know.
 
void remove (const CoreString &key)
 Removes entry from table.
 
void remove_all (const bool keep_implem=false)
 Clears table.
 
void refit ()
 Refit the table (reduces memory size and improves performance if many items are deleted)
 
const unsigned int & get_count () const
 Gets entries count.
 
CoreArray< CoreStringget_keys () const
 Returns an array containing all hashtable keys.
 
CoreArray< CoreArray< short > > get_values () const
 Returns an array containing all hashtable values.
 
CoreArray< short > * is_key_exists (const CoreString &key) const
 Checks if there is a hashtable entry associated to incoming key.
 
CoreHashTable< CoreString,
CoreArray< short > > & 
operator= (const CoreHashTable &src)
 
CoreHashTable< CoreString,
CoreArray< short > > & 
operator= (std::initializer_list< CorePair< CoreString, CoreArray< short > >> other)
 
CoreArray< short > & operator[] (const CoreString &key)
 
const CoreArray< short > & operator[] (const CoreString &key) const
 
size_t get_memory_size () const
 
CoreHashTableIterator
< CoreString, CoreArray< short >
, true > 
begin (void) const
 
CoreHashTableIterator
< CoreString, CoreArray< short >
, false > 
begin (void)
 
CoreHashTableIterator
< CoreString, CoreArray< short >
, true > 
end (void) const
 
CoreHashTableIterator
< CoreString, CoreArray< short >
, false > 
end (void)