DynRPG v0.32 Unofficial
Plugin SDK
|
Helper class representing a Delphi string. More...
#include <DString.h>
Public Member Functions | |
operator std::string () const | |
Cast operator returning a std::string (recommended) | |
operator char * () const | |
Cast operator returning a char * | |
int | length () |
Returns the length of the string. | |
Helper class representing a Delphi string.
This class has no members. It is only "virtual", which means an DString pointer can be used instead of a char *
to be able to access the length information of the string and provide a nice automatic cast to std::string even when there are embedded nulls.