Material Definition Language API nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
imap.h
Go to the documentation of this file.
1 /***************************************************************************************************
2  * Copyright 2020 NVIDIA Corporation. All rights reserved.
3  **************************************************************************************************/
6 
7 #ifndef MI_NEURAYLIB_IMAP_H
8 #define MI_NEURAYLIB_IMAP_H
9 
10 #include <mi/neuraylib/idata.h>
11 
12 namespace mi {
13 
14 namespace neuraylib { class IFactory; }
15 
20 class IMap :
39  public base::Interface_declare<0xca097e3a,0x2621,0x41e7,0x80,0xa3,0x97,0x2f,0x0d,0x56,0xf8,0x47,
40  IData_collection>
41 {
42 public:
46  virtual Size get_length() const = 0;
47 
51  virtual bool empty() const = 0;
52 
54  virtual void clear() = 0;
55 
63  virtual Sint32 insert( const char* key, base::IInterface* value) = 0;
64 
71  virtual Sint32 erase( const char* key) = 0;
72 };
73  // end group mi_neuray_collections
75 
76 } // namespace mi
77 
78 #endif // MI_NEURAYLIB_IMAP_H