CFx SDK Documentation  2020SP3
Classes | Macros | Typedefs | Functions
OdString.h File Reference
#include <stdarg.h>
#include <stdio.h>
#include "OdMutex.h"
#include "OdPlatformSettings.h"
#include "OdCodePage.h"
#include "OdAnsiString.h"
#include "TD_PackPush.h"
#include "TD_PackPop.h"

Go to the source code of this file.

Classes

struct  OdStringData
 
class  OdString
 
class  OdConstString
 

Macros

#define odaIsValidString(lpch)   (true)
 
#define updateConstStringDiagnostic(pAddr)
 
#define OdUS2W(a)   (const wchar_t*)(a)
 
#define OdW2US(a)   (const OdUInt16*)(a)
 

Typedefs

typedef OdChar OdCharW
 
typedef OdString OdString
 

Functions

bool operator== (const OdString &s1, const OdString &s2)
 
bool operator== (const OdString &s1, const OdChar *s2)
 
bool operator== (const OdChar *s1, const OdString &s2)
 
bool operator== (const OdString &s1, const char *s2)
 
bool operator== (const char *s1, const OdString &s2)
 
bool operator!= (const OdString &s1, const OdString &s2)
 
bool operator!= (const OdString &s1, const OdChar *s2)
 
bool operator!= (const OdChar *s1, const OdString &s2)
 
bool operator!= (const OdString &s1, const char *s2)
 
bool operator!= (const char *s1, const OdString &s2)
 
bool operator< (const OdString &s1, const OdString &s2)
 
bool operator< (const OdString &s1, const OdChar *s2)
 
bool operator< (const OdChar *s1, const OdString &s2)
 
bool operator< (const OdString &s1, const char *s2)
 
bool operator< (const char *s1, const OdString &s2)
 
bool operator> (const OdString &s1, const OdString &s2)
 
bool operator> (const OdString &s1, const OdChar *s2)
 
bool operator> (const OdChar *s1, const OdString &s2)
 
bool operator> (const OdString &s1, const char *s2)
 
bool operator> (const char *s1, const OdString &s2)
 
bool operator<= (const OdString &s1, const OdString &s2)
 
bool operator<= (const OdString &s1, const OdChar *s2)
 
bool operator<= (const OdChar *s1, const OdString &s2)
 
bool operator<= (const OdString &s1, const char *s2)
 
bool operator<= (const char *s1, const OdString &s2)
 
bool operator>= (const OdString &s1, const OdString &s2)
 
bool operator>= (const OdString &s1, const OdChar *s2)
 
bool operator>= (const OdChar *s1, const OdString &s2)
 
bool operator>= (const OdString &s1, const char *s2)
 
bool operator>= (const char *s1, const OdString &s2)
 

Macro Definition Documentation

◆ odaIsValidString

#define odaIsValidString (   lpch)    (true)

Definition at line 39 of file OdString.h.

◆ OdUS2W

#define OdUS2W (   a)    (const wchar_t*)(a)

Definition at line 1429 of file OdString.h.

◆ OdW2US

#define OdW2US (   a)    (const OdUInt16*)(a)

Definition at line 1430 of file OdString.h.

◆ updateConstStringDiagnostic

#define updateConstStringDiagnostic (   pAddr)

Definition at line 194 of file OdString.h.

Typedef Documentation

◆ OdCharW

typedef OdChar OdCharW

Definition at line 1223 of file OdString.h.

◆ OdString

Definition at line 1224 of file OdString.h.

Function Documentation

◆ operator!=() [1/5]

bool operator!= ( const char *  s1,
const OdString s2 
)
inline

Definition at line 1281 of file OdString.h.

◆ operator!=() [2/5]

bool operator!= ( const OdChar s1,
const OdString s2 
)
inline

Definition at line 1267 of file OdString.h.

◆ operator!=() [3/5]

bool operator!= ( const OdString s1,
const char *  s2 
)
inline

Definition at line 1278 of file OdString.h.

◆ operator!=() [4/5]

bool operator!= ( const OdString s1,
const OdChar s2 
)
inline

Definition at line 1264 of file OdString.h.

◆ operator!=() [5/5]

bool operator!= ( const OdString s1,
const OdString s2 
)
inline

Definition at line 1261 of file OdString.h.

◆ operator<() [1/5]

bool operator< ( const char *  s1,
const OdString s2 
)
inline

Definition at line 1304 of file OdString.h.

◆ operator<() [2/5]

bool operator< ( const OdChar s1,
const OdString s2 
)
inline

Definition at line 1290 of file OdString.h.

◆ operator<() [3/5]

bool operator< ( const OdString s1,
const char *  s2 
)
inline

Definition at line 1301 of file OdString.h.

◆ operator<() [4/5]

bool operator< ( const OdString s1,
const OdChar s2 
)
inline

Definition at line 1287 of file OdString.h.

◆ operator<() [5/5]

bool operator< ( const OdString s1,
const OdString s2 
)
inline

Definition at line 1284 of file OdString.h.

◆ operator<=() [1/5]

bool operator<= ( const char *  s1,
const OdString s2 
)
inline

Definition at line 1348 of file OdString.h.

◆ operator<=() [2/5]

bool operator<= ( const OdChar s1,
const OdString s2 
)
inline

Definition at line 1335 of file OdString.h.

◆ operator<=() [3/5]

bool operator<= ( const OdString s1,
const char *  s2 
)
inline

Definition at line 1345 of file OdString.h.

◆ operator<=() [4/5]

bool operator<= ( const OdString s1,
const OdChar s2 
)
inline

Definition at line 1332 of file OdString.h.

◆ operator<=() [5/5]

bool operator<= ( const OdString s1,
const OdString s2 
)
inline

Definition at line 1329 of file OdString.h.

◆ operator==() [1/5]

bool operator== ( const char *  s1,
const OdString s2 
)
inline

Definition at line 1258 of file OdString.h.

◆ operator==() [2/5]

bool operator== ( const OdChar s1,
const OdString s2 
)
inline

Definition at line 1244 of file OdString.h.

◆ operator==() [3/5]

bool operator== ( const OdString s1,
const char *  s2 
)
inline

Definition at line 1255 of file OdString.h.

◆ operator==() [4/5]

bool operator== ( const OdString s1,
const OdChar s2 
)
inline

Definition at line 1241 of file OdString.h.

◆ operator==() [5/5]

bool operator== ( const OdString s1,
const OdString s2 
)
inline

Definition at line 1238 of file OdString.h.

◆ operator>() [1/5]

bool operator> ( const char *  s1,
const OdString s2 
)
inline

Definition at line 1326 of file OdString.h.

◆ operator>() [2/5]

bool operator> ( const OdChar s1,
const OdString s2 
)
inline

Definition at line 1313 of file OdString.h.

◆ operator>() [3/5]

bool operator> ( const OdString s1,
const char *  s2 
)
inline

Definition at line 1323 of file OdString.h.

◆ operator>() [4/5]

bool operator> ( const OdString s1,
const OdChar s2 
)
inline

Definition at line 1310 of file OdString.h.

◆ operator>() [5/5]

bool operator> ( const OdString s1,
const OdString s2 
)
inline

Definition at line 1307 of file OdString.h.

◆ operator>=() [1/5]

bool operator>= ( const char *  s1,
const OdString s2 
)
inline

Definition at line 1371 of file OdString.h.

◆ operator>=() [2/5]

bool operator>= ( const OdChar s1,
const OdString s2 
)
inline

Definition at line 1357 of file OdString.h.

◆ operator>=() [3/5]

bool operator>= ( const OdString s1,
const char *  s2 
)
inline

Definition at line 1368 of file OdString.h.

◆ operator>=() [4/5]

bool operator>= ( const OdString s1,
const OdChar s2 
)
inline

Definition at line 1354 of file OdString.h.

◆ operator>=() [5/5]

bool operator>= ( const OdString s1,
const OdString s2 
)
inline

Definition at line 1351 of file OdString.h.