3ds Max C++ API Reference
strclass.h File Reference
#include "WindowsDefines.h"
#include "maxheap.h"
#include "strbasic.h"
#include "tab.h"
#include "coreexp.h"
#include "maxstring.h"
#include <iostream>

Classes

class  CStr
 
class  UTF8Str
 
class  WStr
 
class  FilterList
 class FilterList More...
 

Macros

#define TSTR   CStr
 

Typedefs

typedef WStr MSTR
 

Functions

UtilExport bool operator== (const char *, const CStr &)
 
UtilExport bool operator!= (const char *, const CStr &)
 
UtilExport bool operator== (const CStr &, const char *)
 
UtilExport bool operator!= (const CStr &, const char *)
 
UtilExport bool operator== (const wchar_t *, const WStr &)
 
UtilExport bool operator!= (const wchar_t *, const WStr &)
 
UtilExport bool operator== (const WStr &, const wchar_t *)
 
UtilExport bool operator!= (const WStr &, const wchar_t *)
 
UtilExport bool operator== (const int, const CStr &)
 
UtilExport bool operator!= (const int, const CStr &)
 
UtilExport bool operator== (const CStr &, const int)
 
UtilExport bool operator!= (const CStr &, const int)
 
UtilExport bool operator== (const int, const WStr &)
 
UtilExport bool operator!= (const int, const WStr &)
 
UtilExport bool operator== (const WStr &, const int)
 
UtilExport bool operator!= (const WStr &, const int)
 
UtilExport bool operator== (const CStr &cstr, const QString &qstr)
 
UtilExport bool operator!= (const CStr &cstr, const QString &qstr)
 
UtilExport bool operator== (const WStr &wstr, const QString &qstr)
 
UtilExport bool operator!= (const WStr &wstr, const QString &qstr)
 
UtilExport bool operator== (const UTF8Str &ustr, const QString &qstr)
 
UtilExport bool operator!= (const UTF8Str &ustr, const QString &qstr)
 
UtilExport bool operator== (const QString &qstr, const CStr &cstr)
 
UtilExport bool operator!= (const QString &qstr, const CStr &cstr)
 
UtilExport bool operator== (const QString &qstr, const WStr &wstr)
 
UtilExport bool operator!= (const QString &qstr, const WStr &wstr)
 
UtilExport bool operator== (const QString &qstr, const UTF8Str &ustr)
 
UtilExport bool operator!= (const QString &qstr, const UTF8Str &ustr)
 
UtilExport std::ostream & operator<< (std::ostream &s, const WStr &v)
 CStr/WStr output to std output streams. More...
 
UtilExport std::wostream & operator<< (std::wostream &s, const WStr &v)
 
UtilExport std::ostream & operator<< (std::ostream &s, const CStr &v)
 
UtilExport std::wostream & operator<< (std::wostream &s, const CStr &v)
 
CoreExport void SplitFilename (const CStr &full_path, CStr *directory, CStr *filename, CStr *extension)
 SplitFilename (CStr* version) More...
 
CoreExport void SplitFilename (LPCSTR full_path, LPSTR directory, size_t dbuflen, LPSTR filename, size_t fbuflen, LPSTR extension, size_t ebuflen)
 SplitFilename (char* version) More...
 
CoreExport void SplitFilename (const WStr &full_path, WStr *directory, WStr *filename, WStr *extension)
 SplitFilename (WStr* version) More...
 
CoreExport void SplitFilename (LPCWSTR full_path, LPWSTR directory, size_t dbuflen, LPWSTR filename, size_t fbuflen, LPWSTR extension, size_t ebuflen)
 SplitFilename (wchar_t* version) More...
 
UtilExport void SplitFilenameOld (LPCSTR full_path, LPSTR directory, size_t dbuflen, LPSTR filename, size_t fbuflen, LPSTR extension, size_t ebuflen)
 SplitFilenameOld (CStr* version) More...
 
UtilExport void SplitFilenameOld (const CStr &full_path, CStr *directory, CStr *filename, CStr *extension)
 SplitFilenameOld (char* version) More...
 
UtilExport void SplitFilenameOld (const WStr &full_path, WStr *directory, WStr *filename, WStr *extension)
 SplitFilenameOld (WStr* version) More...
 
UtilExport void SplitFilenameOld (LPCWSTR full_path, LPWSTR directory, size_t dbuflen, LPWSTR filename, size_t fbuflen, LPWSTR extension, size_t ebuflen)
 SplitFilenameOld (wchar_t* version) More...
 
CoreExport void SplitPathFile (const MSTR &full_path, MSTR *directory, MSTR *filename)
 
UtilExport void SplitPathFileOld (const MSTR &full_path, MSTR *directory, MSTR *filename)
 
UtilExport BOOL MatchPattern (const MSTR &pString, const MSTR &pattern, BOOL ignoreCase=TRUE)
 Check to see if the string matches the pattern in pattern. More...
 
UtilExport int MaxAlphaNumComp (const MCHAR *a, const MCHAR *b)
 
UtilExport int MaxAlphaNumCompI (const MCHAR *a, const MCHAR *b)
 

Macro Definition Documentation

◆ TSTR

#define TSTR   CStr

Typedef Documentation

◆ MSTR

typedef WStr MSTR

Function Documentation

◆ operator==() [1/14]

UtilExport bool operator== ( const char *  ,
const CStr  
)

◆ operator!=() [1/14]

UtilExport bool operator!= ( const char *  ,
const CStr  
)

◆ operator==() [2/14]

UtilExport bool operator== ( const CStr ,
const char *   
)

◆ operator!=() [2/14]

UtilExport bool operator!= ( const CStr ,
const char *   
)

◆ operator==() [3/14]

UtilExport bool operator== ( const wchar_t *  ,
const WStr  
)

◆ operator!=() [3/14]

UtilExport bool operator!= ( const wchar_t *  ,
const WStr  
)

◆ operator==() [4/14]

UtilExport bool operator== ( const WStr ,
const wchar_t *   
)

◆ operator!=() [4/14]

UtilExport bool operator!= ( const WStr ,
const wchar_t *   
)

◆ operator==() [5/14]

UtilExport bool operator== ( const int  ,
const CStr  
)

◆ operator!=() [5/14]

UtilExport bool operator!= ( const int  ,
const CStr  
)

◆ operator==() [6/14]

UtilExport bool operator== ( const CStr ,
const int   
)

◆ operator!=() [6/14]

UtilExport bool operator!= ( const CStr ,
const int   
)

◆ operator==() [7/14]

UtilExport bool operator== ( const int  ,
const WStr  
)

◆ operator!=() [7/14]

UtilExport bool operator!= ( const int  ,
const WStr  
)

◆ operator==() [8/14]

UtilExport bool operator== ( const WStr ,
const int   
)

◆ operator!=() [8/14]

UtilExport bool operator!= ( const WStr ,
const int   
)

◆ operator==() [9/14]

UtilExport bool operator== ( const CStr cstr,
const QString &  qstr 
)

◆ operator!=() [9/14]

UtilExport bool operator!= ( const CStr cstr,
const QString &  qstr 
)

◆ operator==() [10/14]

UtilExport bool operator== ( const WStr wstr,
const QString &  qstr 
)

◆ operator!=() [10/14]

UtilExport bool operator!= ( const WStr wstr,
const QString &  qstr 
)

◆ operator==() [11/14]

UtilExport bool operator== ( const UTF8Str ustr,
const QString &  qstr 
)

◆ operator!=() [11/14]

UtilExport bool operator!= ( const UTF8Str ustr,
const QString &  qstr 
)

◆ operator==() [12/14]

UtilExport bool operator== ( const QString &  qstr,
const CStr cstr 
)

◆ operator!=() [12/14]

UtilExport bool operator!= ( const QString &  qstr,
const CStr cstr 
)

◆ operator==() [13/14]

UtilExport bool operator== ( const QString &  qstr,
const WStr wstr 
)

◆ operator!=() [13/14]

UtilExport bool operator!= ( const QString &  qstr,
const WStr wstr 
)

◆ operator==() [14/14]

UtilExport bool operator== ( const QString &  qstr,
const UTF8Str ustr 
)

◆ operator!=() [14/14]

UtilExport bool operator!= ( const QString &  qstr,
const UTF8Str ustr 
)

◆ operator<<() [1/4]

UtilExport std::ostream& operator<< ( std::ostream &  s,
const WStr v 
)

CStr/WStr output to std output streams.

Note: it is highly recommended that std file streams not be used. The file is written using the Window User active code page, and if a character is written that cannot be represented in that code page, the stream is flagged as 'in error' and no further output occurs. Instead, use MaxSDK::TextFile::Writer, preferably with UTF8 encoding and a UTF8 BOM. !

◆ operator<<() [2/4]

UtilExport std::wostream& operator<< ( std::wostream &  s,
const WStr v 
)

◆ operator<<() [3/4]

UtilExport std::ostream& operator<< ( std::ostream &  s,
const CStr v 
)

◆ operator<<() [4/4]

UtilExport std::wostream& operator<< ( std::wostream &  s,
const CStr v 
)

◆ SplitPathFile()

CoreExport void SplitPathFile ( const MSTR full_path,
MSTR directory,
MSTR filename 
)

◆ SplitPathFileOld()

UtilExport void SplitPathFileOld ( const MSTR full_path,
MSTR directory,
MSTR filename 
)

◆ MatchPattern()

UtilExport BOOL MatchPattern ( const MSTR pString,
const MSTR pattern,
BOOL  ignoreCase = TRUE 
)

Check to see if the string matches the pattern in pattern.

◆ MaxAlphaNumComp()

UtilExport int MaxAlphaNumComp ( const MCHAR a,
const MCHAR b 
)

◆ MaxAlphaNumCompI()

UtilExport int MaxAlphaNumCompI ( const MCHAR a,
const MCHAR b 
)