strclass.h File Reference

strclass.h File Reference
+ Related help topics:
#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, LPSTR filename, LPSTR extension)
 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, LPWSTR filename, LPWSTR extension)
 SplitFilename (wchar_t* version) More...
 
UtilExport void SplitFilenameOld (LPCSTR full_path, LPSTR directory, LPSTR filename, LPSTR extension)
 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, LPWSTR filename, LPWSTR extension)
 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

#define TSTR   CStr

Typedef Documentation

typedef WStr MSTR

Function Documentation

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.

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. !

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 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.

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