NVIDIA Iray API Home  Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mi::IString Class Referenceabstract

A simple string class. More...

Inheritance diagram for mi::IString:
Inheritance graph
[legend]

Public Member Functions

virtual const char *  get_c_str () const =0
  Returns the content as a C-style string. More...
 
virtual void  set_c_str (const char *str)=0
  Sets the content via a C-style string. More...
 

Additional Inherited Members

- Public Types inherited from mi::base::Interface_declare< 0xe556a043, 0xf99c, 0x4804, 0xa7, 0xfd, 0xa7, 0x89, 0x6a, 0x07, 0x9e, 0x7a, IData_simple >
typedef Interface_declare< id1,
id2, id3, id4, id5, id6, id7,
id8, id9, id10, id11,
IData_simple
Self
  Own type. More...
 
typedef Uuid_t< id1, id2, id3,
id4, id5, id6, id7, id8, id9,
id10, id11 > 
IID
  Declares the interface ID (IID) of this interface. More...
 
- Static Public Member Functions inherited from mi::base::Interface_declare< 0xe556a043, 0xf99c, 0x4804, 0xa7, 0xfd, 0xa7, 0x89, 0x6a, 0x07, 0x9e, 0x7a, IData_simple >
static bool  compare_iid (const Uuid &iid)
  Compares the interface ID iid against the interface ID of this interface and of its ancestors. More...
 

Detailed Description

A simple string class.

Member Function Documentation

virtual const char* mi::IString::get_c_str ( ) const
pure virtual

Returns the content as a C-style string.

Returns
The stored string as a C-style string. Never returns NULL.
virtual void mi::IString::set_c_str ( const char *  str)
pure virtual

Sets the content via a C-style string.

Parameters
str The string to store as a C-style string. The value NULL is treated as the empty string.