Ptex::String Class Reference

Memory-managed string. More...

#include <Ptexture.h>

List of all members.

Public Member Functions

 String (const String &str)
PTEXAPI Stringoperator= (const char *str)
Stringoperator= (const String &str)
Stringoperator= (const std::string &str)
const char * c_str () const
bool empty () const

Related Functions

(Note that these are not member functions.)



std::ostream & 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

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

std::stream output operator.


Generated on 14 Dec 2015 for Ptex by  doxygen 1.6.1