MString () | |
MString ( const char* charString ) | |
MString ( const wchar_t* charString ) | |
MString ( const char* charString, int charLength ) | |
MString ( const wchar_t* charString, int wcharLength ) | |
MString ( const MString & other ) | |
~MString () | |
MString & | operator += ( const MString & other ) |
MString & | operator += ( const char * other ) |
MString & | operator += ( double other ) |
MString & | operator += ( int other ) |
MString & | operator += ( unsigned int other ) |
MString & | operator += ( float other ) |
MString & | operator = ( const MString & other ) |
MString & | operator = ( const char * other ) |
MString & | operator = ( double value ) |
bool | operator == ( const MString & other ) const |
bool | operator == ( const char * other ) const |
bool | operator != ( const MString & other ) const |
bool | operator != ( const char * other ) const |
MString | operator + (const MString & other ) const |
MString | operator + (const char * other ) const |
MString | operator + ( double value ) const |
MStatus | set ( const char * charString ) |
MStatus | setUTF8 ( const char *utf8String ) |
MStatus | setWChar ( const wchar_t * wcharString ) |
MStatus | set ( const char * charString, int charLength ) |
MStatus | setWChar ( const wchar_t * wcharString, int wcharLength ) |
MStatus | set ( double value ) |
MStatus | set ( double value, int precision ) |
const char* | asChar () const |
const char* | asChar (int &charLength) const |
const char* | asUTF8 () const |
const char* | asUTF8 (int &utf8Length) const |
const wchar_t* | asWChar () const |
const wchar_t* | asWChar (int & numChars ) const |
unsigned int | length () const |
unsigned int | numChars () const |
void | clear () |
int | index (char) const |
int | indexW (char) const |
int | indexW (wchar_t) const |
int | indexW (const MString &) const |
int | rindex (char) const |
int | rindexW (char) const |
int | rindexW (wchar_t) const |
int | rindexW (const MString &) const |
MStatus | split (char, MStringArray &) const |
MStatus | split (wchar_t, MStringArray &) const |
MString | substring (int start, int end) const |
MString | substringW (int start, int end) const |
MString & | toUpperCase () |
MString & | toLowerCase () |
bool | isShort () const |
short | asShort () const |
bool | isInt () const |
int | asInt () const |
bool | isUnsigned () const |
unsigned int | asUnsigned () const |
bool | isFloat () const |
float | asFloat () const |
bool | isDouble () const |
double | asDouble () const |
MString | expandEnvironmentVariablesAndTilde ( MStatus * ReturnStatus = NULL ) const |
MStatus | format (const MString &fmt, const MStringArray & args) |
MStatus | format (const MString &fmt, const MString & arg1=MString::argUnused, const MString & arg2=MString::argUnused, const MString & arg3=MString::argUnused, const MString & arg4=MString::argUnused, const MString & arg5=MString::argUnused, const MString & arg6=MString::argUnused, const MString & arg7=MString::argUnused, const MString & arg8=MString::argUnused, const MString & arg9=MString::argUnused, const MString & arg10=MString::argUnused) |
friend std::ostream& | operator<< (std::ostream&, const MString & ) NO SCRIPT SUPPORT |
friend MString | operator+ (const char *, const MString & ) NO SCRIPT SUPPORT |
$ENV_VAR or ${ENV_VAR}. On Windows, %ENV_VAR, %ENV_VAR% and %{ENV_VAR}% are also accepted. If no environment variable in the system matches that given, the unexpanded variable is copied verbatim into the result string. On UNIX, any tilde characters ("~") will also be expanded according to the standard UNIX convention. If the user name associated with a tilde is undefined, the tilde and name which follows it are copied verbatim into the result string. Notes (1) when any error occurs, processing continues such that all subsequent environment variable and tilde occurences are processed and the resulting string can be displayed to the user to help diagnose the undefined entities (2) escape sequences using backslash characters are not supported. Arguments
Autodesk® Maya® 2008 © 1997-2007 Autodesk, Inc. All rights reserved. | doc++ Copyright |