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 Symbols | |
(Note that these are not member symbols.) | |
std::ostream & | operator<< (std::ostream &stream, const Ptex::String &str) |
std::stream output operator. | |
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 295 of file Ptexture.h.
|
inline |
Definition at line 298 of file Ptexture.h.
|
inline |
Definition at line 299 of file Ptexture.h.
String::~String | ( | ) |
Definition at line 679 of file PtexUtils.cpp.
|
inline |
Definition at line 304 of file Ptexture.h.
References _str.
Referenced by PtexWriter::edit(), PtexReaderCache::findFile(), PtexReader::open(), operator=(), and PtexWriterBase::release().
|
inline |
Definition at line 305 of file Ptexture.h.
References _str.
String & String::operator= | ( | const char * | str | ) |
Definition at line 685 of file PtexUtils.cpp.
|
inline |
Definition at line 303 of file Ptexture.h.
References c_str().
Definition at line 302 of file Ptexture.h.
References _str.
|
related |
std::stream output operator.
|
private |
Definition at line 308 of file Ptexture.h.
Referenced by c_str(), empty(), and operator=().