Ptex
|
Memory-managed string. More...
#include <Ptexture.h>
Public Member Functions | |
String () | |
String (const String &str) | |
~String () | |
String & | operator= (const char *str) |
String & | operator= (const String &str) |
String & | operator= (const std::string &str) |
const char * | c_str () const |
bool | empty () const |
Private Attributes | |
char * | _str |
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | operator<< (std::ostream &stream, const Ptex::String &str) |
std::stream output operator. More... | |
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).
Definition at line 308 of file Ptexture.h.
|
inline |
Definition at line 311 of file Ptexture.h.
|
inline |
Definition at line 312 of file Ptexture.h.
String::~String | ( | ) |
Definition at line 673 of file PtexUtils.cpp.
|
inline |
Definition at line 317 of file Ptexture.h.
References _str.
Referenced by PtexWriter::edit(), PtexReaderCache::findFile(), PtexReader::open(), operator=(), and PtexWriterBase::release().
|
inline |
Definition at line 318 of file Ptexture.h.
References _str.
String & String::operator= | ( | const char * | str | ) |
Definition at line 679 of file PtexUtils.cpp.
|
inline |
Definition at line 316 of file Ptexture.h.
References c_str().
Definition at line 315 of file Ptexture.h.
References _str.
|
related |
std::stream output operator.
|
private |
Definition at line 321 of file Ptexture.h.
Referenced by c_str(), empty(), and operator=().