CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdString.h File Reference
#include <stdarg.h>
#include <stdio.h>
#include <functional>
#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
 
struct  std::hash< OdString >
 
class  OdConstString
 

Macros

#define odaIsValidString(lpch)
 
#define updateConstStringDiagnostic(pAddr)
 
#define OdUS2W(a)
 
#define OdW2US(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)
Value:
(true)

Definition at line 41 of file OdString.h.

◆ OdUS2W

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

Definition at line 1462 of file OdString.h.

◆ OdW2US

#define OdW2US ( a)
Value:
(const OdUInt16*)(a)
unsigned short OdUInt16

Definition at line 1463 of file OdString.h.

◆ updateConstStringDiagnostic

#define updateConstStringDiagnostic ( pAddr)

Definition at line 199 of file OdString.h.

Typedef Documentation

◆ OdCharW

typedef OdChar OdCharW

Definition at line 1257 of file OdString.h.

◆ OdString

Definition at line 1258 of file OdString.h.

Function Documentation

◆ operator!=() [1/5]

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

Definition at line 1314 of file OdString.h.

◆ operator!=() [2/5]

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

Definition at line 1300 of file OdString.h.

◆ operator!=() [3/5]

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

Definition at line 1311 of file OdString.h.

◆ operator!=() [4/5]

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

Definition at line 1297 of file OdString.h.

◆ operator!=() [5/5]

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

Definition at line 1294 of file OdString.h.

◆ operator<() [1/5]

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

Definition at line 1337 of file OdString.h.

◆ operator<() [2/5]

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

Definition at line 1323 of file OdString.h.

◆ operator<() [3/5]

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

Definition at line 1334 of file OdString.h.

◆ operator<() [4/5]

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

Definition at line 1320 of file OdString.h.

◆ operator<() [5/5]

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

Definition at line 1317 of file OdString.h.

◆ operator<=() [1/5]

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

Definition at line 1381 of file OdString.h.

◆ operator<=() [2/5]

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

Definition at line 1368 of file OdString.h.

◆ operator<=() [3/5]

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

Definition at line 1378 of file OdString.h.

◆ operator<=() [4/5]

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

Definition at line 1365 of file OdString.h.

◆ operator<=() [5/5]

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

Definition at line 1362 of file OdString.h.

◆ operator==() [1/5]

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

Definition at line 1291 of file OdString.h.

◆ operator==() [2/5]

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

Definition at line 1277 of file OdString.h.

◆ operator==() [3/5]

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

Definition at line 1288 of file OdString.h.

◆ operator==() [4/5]

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

Definition at line 1274 of file OdString.h.

◆ operator==() [5/5]

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

Definition at line 1271 of file OdString.h.

◆ operator>() [1/5]

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

Definition at line 1359 of file OdString.h.

◆ operator>() [2/5]

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

Definition at line 1346 of file OdString.h.

◆ operator>() [3/5]

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

Definition at line 1356 of file OdString.h.

◆ operator>() [4/5]

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

Definition at line 1343 of file OdString.h.

◆ operator>() [5/5]

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

Definition at line 1340 of file OdString.h.

◆ operator>=() [1/5]

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

Definition at line 1404 of file OdString.h.

◆ operator>=() [2/5]

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

Definition at line 1390 of file OdString.h.

◆ operator>=() [3/5]

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

Definition at line 1401 of file OdString.h.

◆ operator>=() [4/5]

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

Definition at line 1387 of file OdString.h.

◆ operator>=() [5/5]

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

Definition at line 1384 of file OdString.h.