MDL SDK API nvidia_logo_transpbg.gif Up
istring.h
Go to the documentation of this file.
1/***************************************************************************************************
2 * Copyright 2024 NVIDIA Corporation. All rights reserved.
3 **************************************************************************************************/
6
7#ifndef MI_NEURAYLIB_ISTRING_H
8#define MI_NEURAYLIB_ISTRING_H
9
10#include <mi/neuraylib/idata.h>
11
12namespace mi {
13
19class IString :
20 public base::Interface_declare<0xe556a043,0xf99c,0x4804,0xa7,0xfd,0xa7,0x89,0x6a,0x07,0x9e,0x7a,
21 IData_simple>
22{
23public:
27 virtual const char* get_c_str() const = 0;
28
33 virtual void set_c_str( const char* str) = 0;
34};
35 // end group mi_neuray_simple_types
37
38} // namespace mi
39
40#endif // MI_NEURAYLIB_ISTRING_H
A simple string class.
Definition: istring.h:22
virtual void set_c_str(const char *str)=0
Sets the content via a C-style string.
virtual const char * get_c_str() const =0
Returns the content as a C-style string.
Mixin class template for deriving new interface declarations.
Definition: interface_declare.h:43
Types.
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: example_derivatives.dox:5