ICU 4.8.1.1  4.8.1.1
Data Structures | Functions
stringpiece.h File Reference

C++ API: StringPiece: Read-only byte string wrapper class. More...

#include "unicode/utypes.h"
#include "unicode/uobject.h"
#include "unicode/std_string.h"

Go to the source code of this file.

Data Structures

class  StringPiece
 A string-like object that points to a sized piece of memory. More...

Functions

U_EXPORT UBool operator== (const StringPiece &x, const StringPiece &y)
 Global operator == for StringPiece.
UBool operator!= (const StringPiece &x, const StringPiece &y)
 Global operator != for StringPiece.

Detailed Description

C++ API: StringPiece: Read-only byte string wrapper class.

Definition in file stringpiece.h.


Function Documentation

UBool operator!= ( const StringPiece x,
const StringPiece y 
) [inline]

Global operator != for StringPiece.

Parameters:
xThe first StringPiece to compare.
yThe second StringPiece to compare.
Returns:
TRUE if the string data is not equal
Draft:
This API may be changed in the future versions and was introduced in ICU 4.8

Definition at line 218 of file stringpiece.h.

U_EXPORT UBool operator== ( const StringPiece x,
const StringPiece y 
)

Global operator == for StringPiece.

Parameters:
xThe first StringPiece to compare.
yThe second StringPiece to compare.
Returns:
TRUE if the string data is equal
Draft:
This API may be changed in the future versions and was introduced in ICU 4.8

Referenced by FieldPositionIterator::operator!=(), Format::operator!=(), BreakIterator::operator!=(), RegexPattern::operator!=(), DateFormatSymbols::operator!=(), Formattable::operator!=(), DecimalFormatSymbols::operator!=(), PluralRules::operator!=(), TimeZone::operator!=(), Calendar::operator!=(), MessagePattern::operator!=(), and MessagePattern::Part::operator!=().

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines