ReactOS 0.4.15-dev-8219-ge8b88cf
chstring.h File Reference
#include <windows.h>
#include <provexce.h>
Include dependency graph for chstring.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CHStringData
 
class  CHString
 

Macros

#define _CHSTRING_H
 

Typedefs

using CHSTRING_WCHAR = unsigned short
 
using CHSTRING_LPCWSTR = const CHSTRING_WCHAR *
 
using CHSTRING_LPWSTR = CHSTRING_WCHAR *
 

Functions

BOOL operator== (const CHString &s1, CHSTRING_LPCWSTR s2)
 
BOOL operator== (const CHString &s1, const CHString &s2)
 
BOOL operator!= (const CHString &s1, CHSTRING_LPCWSTR s2)
 
BOOL operator!= (const CHString &s1, const CHString &s2)
 
BOOL operator< (const CHString &s1, CHSTRING_LPCWSTR s2)
 
BOOL operator< (const CHString &s1, const CHString &s2)
 
BOOL operator> (const CHString &s1, CHSTRING_LPCWSTR s2)
 
BOOL operator> (const CHString &s1, const CHString &s2)
 
BOOL operator<= (const CHString &s1, CHSTRING_LPCWSTR s2)
 
BOOL operator<= (const CHString &s1, const CHString &s2)
 
BOOL operator>= (const CHString &s1, CHSTRING_LPCWSTR s2)
 
BOOL operator>= (const CHString &s1, const CHString &s2)
 

Macro Definition Documentation

◆ _CHSTRING_H

#define _CHSTRING_H

Definition at line 4 of file chstring.h.

Typedef Documentation

◆ CHSTRING_LPCWSTR

Definition at line 14 of file chstring.h.

◆ CHSTRING_LPWSTR

Definition at line 15 of file chstring.h.

◆ CHSTRING_WCHAR

Definition at line 13 of file chstring.h.

Function Documentation

◆ operator!=() [1/2]

BOOL operator!= ( const CHString s1,
CHSTRING_LPCWSTR  s2 
)
inline

Definition at line 183 of file chstring.h.

183{ return s1.Compare(s2) != 0; }
HRESULT Compare(IMFAttributes *pTheirs, MF_ATTRIBUTES_MATCH_TYPE MatchType, [out] BOOL *pbResult)
struct S1 s1
struct S2 s2

◆ operator!=() [2/2]

BOOL operator!= ( const CHString s1,
const CHString s2 
)
inline

Definition at line 184 of file chstring.h.

184{ return s1.Compare(s2) != 0; }

◆ operator<() [1/2]

BOOL operator< ( const CHString s1,
CHSTRING_LPCWSTR  s2 
)
inline

Definition at line 186 of file chstring.h.

186{ return s1.Compare(s2) < 0; }

◆ operator<() [2/2]

BOOL operator< ( const CHString s1,
const CHString s2 
)
inline

Definition at line 187 of file chstring.h.

187{ return s1.Compare(s2) < 0; }

◆ operator<=() [1/2]

BOOL operator<= ( const CHString s1,
CHSTRING_LPCWSTR  s2 
)
inline

Definition at line 192 of file chstring.h.

192{ return s1.Compare(s2) <= 0; }

◆ operator<=() [2/2]

BOOL operator<= ( const CHString s1,
const CHString s2 
)
inline

Definition at line 193 of file chstring.h.

193{ return s1.Compare(s2) <= 0; }

◆ operator==() [1/2]

BOOL operator== ( const CHString s1,
CHSTRING_LPCWSTR  s2 
)
inline

Definition at line 180 of file chstring.h.

180{ return s1.Compare(s2) == 0; }

◆ operator==() [2/2]

BOOL operator== ( const CHString s1,
const CHString s2 
)
inline

Definition at line 181 of file chstring.h.

181{ return s1.Compare(s2) == 0; }

◆ operator>() [1/2]

BOOL operator> ( const CHString s1,
CHSTRING_LPCWSTR  s2 
)
inline

Definition at line 189 of file chstring.h.

189{ return s1.Compare(s2) > 0; }

◆ operator>() [2/2]

BOOL operator> ( const CHString s1,
const CHString s2 
)
inline

Definition at line 190 of file chstring.h.

190{ return s1.Compare(s2) > 0; }

◆ operator>=() [1/2]

BOOL operator>= ( const CHString s1,
CHSTRING_LPCWSTR  s2 
)
inline

Definition at line 195 of file chstring.h.

195{ return s1.Compare(s2) >= 0; }

◆ operator>=() [2/2]

BOOL operator>= ( const CHString s1,
const CHString s2 
)
inline

Definition at line 196 of file chstring.h.

196{ return s1.Compare(s2) >= 0; }