CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
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
 
struct  OdString::lessnocase
 
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 1454 of file OdString.h.

◆ OdW2US

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

Definition at line 1455 of file OdString.h.

◆ updateConstStringDiagnostic

#define updateConstStringDiagnostic (   pAddr)

Definition at line 197 of file OdString.h.

Typedef Documentation

◆ OdCharW

typedef OdChar OdCharW

Definition at line 1248 of file OdString.h.

◆ OdString

Definition at line 1249 of file OdString.h.

Function Documentation

◆ operator!=() [1/5]

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

Definition at line 1306 of file OdString.h.

◆ operator!=() [2/5]

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

Definition at line 1292 of file OdString.h.

◆ operator!=() [3/5]

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

Definition at line 1303 of file OdString.h.

◆ operator!=() [4/5]

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

Definition at line 1289 of file OdString.h.

◆ operator!=() [5/5]

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

Definition at line 1286 of file OdString.h.

◆ operator<() [1/5]

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

Definition at line 1329 of file OdString.h.

◆ operator<() [2/5]

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

Definition at line 1315 of file OdString.h.

◆ operator<() [3/5]

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

Definition at line 1326 of file OdString.h.

◆ operator<() [4/5]

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

Definition at line 1312 of file OdString.h.

◆ operator<() [5/5]

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

Definition at line 1309 of file OdString.h.

◆ operator<=() [1/5]

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

Definition at line 1373 of file OdString.h.

◆ operator<=() [2/5]

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

Definition at line 1360 of file OdString.h.

◆ operator<=() [3/5]

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

Definition at line 1370 of file OdString.h.

◆ operator<=() [4/5]

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

Definition at line 1357 of file OdString.h.

◆ operator<=() [5/5]

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

Definition at line 1354 of file OdString.h.

◆ operator==() [1/5]

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

Definition at line 1283 of file OdString.h.

◆ operator==() [2/5]

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

Definition at line 1269 of file OdString.h.

◆ operator==() [3/5]

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

Definition at line 1280 of file OdString.h.

◆ operator==() [4/5]

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

Definition at line 1266 of file OdString.h.

◆ operator==() [5/5]

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

Definition at line 1263 of file OdString.h.

◆ operator>() [1/5]

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

Definition at line 1351 of file OdString.h.

◆ operator>() [2/5]

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

Definition at line 1338 of file OdString.h.

◆ operator>() [3/5]

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

Definition at line 1348 of file OdString.h.

◆ operator>() [4/5]

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

Definition at line 1335 of file OdString.h.

◆ operator>() [5/5]

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

Definition at line 1332 of file OdString.h.

◆ operator>=() [1/5]

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

Definition at line 1396 of file OdString.h.

◆ operator>=() [2/5]

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

Definition at line 1382 of file OdString.h.

◆ operator>=() [3/5]

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

Definition at line 1393 of file OdString.h.

◆ operator>=() [4/5]

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

Definition at line 1379 of file OdString.h.

◆ operator>=() [5/5]

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

Definition at line 1376 of file OdString.h.