Ptex
Public Member Functions | List of all members
String Class Reference

Memory-managed string. More...

#include <Ptexture.h>

Public Member Functions

 String (const String &str)
 
Stringoperator= (const char *str)
 
Stringoperator= (const String &str)
 
const char * c_str () const
 
bool empty () const
 

Detailed Description

Memory-managed string.

Used for returning error messages from API functions. On most platforms, this is a typedef to std::string. For Windows, this is a custom class that implements a subset of std::string. (Note: std::string cannot be passed through a Windows DLL interface).