Material Definition Language API nvidia_logo_transpbg.gif 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:
mi::base::Interface_declare< 0xe556a043, 0xf99c, 0x4804, 0xa7, 0xfd, 0xa7, 0x89, 0x6a, 0x07, 0x9e, 0x7a, IData_simple > mi::IData_simple mi::base::Interface_declare< 0xc33c5a05, 0xe7a5, 0x4154, 0xb8, 0x87, 0xee, 0x1f, 0x4d, 0x5b, 0x02, 0x02, IData > mi::IData mi::base::Interface_declare< 0x2e5f84bc, 0x783a, 0x4551, 0x9f, 0xca, 0x72, 0x2f, 0xb8, 0x38, 0xc4, 0x7c > mi::base::IInterface

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
strThe string to store as a C-style string. The value NULL is treated as the empty string.