Ptex
Public Member Functions | Related Functions
Ptex::String Class Reference

Memory-managed string. More...

#include <Ptexture.h>

List of all members.

Public Member Functions

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

Related Functions

(Note that these are not member functions.)

struct Ptex operator (std::ostream &stream, const Ptex::String &str)
 std::stream output operator.

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


Friends And Related Function Documentation

struct Ptex operator ( std::ostream &  stream,
const Ptex::String str 
) [related]

std::stream output operator.