neuray API Programmer's Manual

mi::IString Class Reference

[Simple Types]

Description

A simple string class.

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...

Member Functions

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.