strclass.h File 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...

Defines

#define  TSTR   CStr

Typedefs

typedef CStr  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 std::ostream &  operator<< (std::ostream &s, const WStr &v)
  CStr/WStr output to std output streams.
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)
CoreExport void  SplitFilename (LPCSTR full_path, LPSTR directory, LPSTR filename, LPSTR extension)
  SplitFilename (char* version)
CoreExport void  SplitFilename (const WStr &full_path, WStr *directory, WStr *filename, WStr *extension)
  SplitFilename (WStr* version)
CoreExport void  SplitFilename (LPCWSTR full_path, LPWSTR directory, LPWSTR filename, LPWSTR extension)
  SplitFilename (wchar_t* version)
UtilExport void  SplitFilenameOld (LPCSTR full_path, LPSTR directory, LPSTR filename, LPSTR extension)
  SplitFilenameOld (CStr* version)
UtilExport void  SplitFilenameOld (const CStr &full_path, CStr *directory, CStr *filename, CStr *extension)
  SplitFilenameOld (char* version)
UtilExport void  SplitFilenameOld (const WStr &full_path, WStr *directory, WStr *filename, WStr *extension)
  SplitFilenameOld (WStr* version)
UtilExport void  SplitFilenameOld (LPCWSTR full_path, LPWSTR directory, LPWSTR filename, LPWSTR extension)
  SplitFilenameOld (wchar_t* version)
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)

Define Documentation

#define TSTR   CStr

Typedef Documentation


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 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, preferrably 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 
)