neuray API Programmer's Manual

istructure_decl.h File Reference

Description

structure declarations

Code Example

istructure_decl.h

‎//*****************************************************************************
// Copyright 1986, 2016 NVIDIA Corporation. All rights reserved.
//*****************************************************************************
//*****************************************************************************

#ifndef MI_NEURAYLIB_ISTRUCTURE_DECL_H
#define MI_NEURAYLIB_ISTRUCTURE_DECL_H

#include <mi/neuraylib/idata.h>

namespace mi {















class IStructure_decl :
    public base::Interface_declare<0xcd206d33,0x0906,0x4e70,0x82,0x42,0x6a,0x90,0x8a,0xf5,0x82,0x43>
{
public:
    virtual Sint32 
               add_member( const char* type_name, const char* name) = 0;

    virtual Sint32 
               remove_member( const char* name) = 0;

    virtual Size 
               get_length() const = 0;

    virtual const char* get_member_type_name( Size index) const = 0;

    virtual const char* get_member_type_name( const char* name) const = 0;

    virtual const char* get_member_name( Size index) const = 0;

    virtual const char* get_structure_type_name() const = 0;
};
 // end group mi_neuray_types

} // namespace mi

#endif // MI_NEURAYLIB_ISTRUCTURE_DECL_H

Namespaces

namespace 
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH. More...

Classes

class 
A structure declaration is used to describe structure types. More...