23#if U_SHOW_CPLUSPLUS_API
83 errorIndex(copy.errorIndex)
132 inline int32_t getIndex()
const;
139 inline void setIndex(
int32_t index);
155 inline int32_t getErrorIndex()
const;
191 errorIndex = copy.errorIndex;
198 if(index != copy.index || errorIndex != copy.errorIndex)
211ParsePosition::getIndex()
const
219 this->index = offset;
223ParsePosition::getErrorIndex()
const
231 this->errorIndex =
ei;
"Smart pointer" base class; do not use directly: use LocalPointer etc.
ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...
virtual UClassID getDynamicClassID() const override
ICU "poor man's RTTI", returns a UClassID for the actual class.
ParsePosition * clone() const
Clone this object.
ParsePosition(const ParsePosition ©)
Copy constructor.
static UClassID getStaticClassID()
ICU "poor man's RTTI", returns a UClassID for this class.
virtual ~ParsePosition()
Destructor.
ParsePosition()
Default constructor, the index starts with 0 as default.
ParsePosition(int32_t newIndex)
Create a new ParsePosition with the given initial index.
UObject is the common ICU "boilerplate" class.
U_EXPORT UBool operator==(const StringPiece &x, const StringPiece &y)
Global operator == for StringPiece.
bool operator!=(const StringPiece &x, const StringPiece &y)
Global operator != for StringPiece.
C++ API: Common ICU base class UObject.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
Basic definitions for ICU, for both C and C++ APIs.
#define U_COMMON_API
Set to export library symbols from inside the common library, and to import them from outside.