neuray API Programmer's Manual

imap.h File Reference

Description

Map type.

Code Example

imap.h

‎/***************************************************************************************************
 * Copyright 2023 NVIDIA Corporation. All rights reserved.
 **************************************************************************************************/

#ifndef MI_NEURAYLIB_IMAP_H
#define MI_NEURAYLIB_IMAP_H

#include <mi/neuraylib/idata.h>

namespace mi {

namespace neuraylib { class IFactory; }



















class IMap :
    public base::Interface_declare<0xca097e3a,0x2621,0x41e7,0x80,0xa3,0x97,0x2f,0x0d,0x56,0xf8,0x47,
                                   IData_collection>
{
public:
    virtual Size 
               get_length() const = 0;

    virtual bool empty() const = 0;

    virtual void clear() = 0;

    virtual Sint32 
               insert( const char* key, base::IInterface* value) = 0;

    virtual Sint32 
               erase( const char* key) = 0;
};
 // end group mi_neuray_collections

} // namespace mi

#endif // MI_NEURAYLIB_IMAP_H

Namespaces

namespace 
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH. More...
namespace 
Namespace for the neuray API. More...

Classes

class 
This interface represents maps, i.e., a key-value based data structure. More...