Go to the documentation of this file.
80 errorIndex(copy.errorIndex)
129 int32_t getIndex(
void)
const;
136 void setIndex(int32_t index);
145 void setErrorIndex(int32_t ei);
152 int32_t getErrorIndex(
void)
const;
159 static UClassID U_EXPORT2 getStaticClassID();
184 inline ParsePosition&
188 errorIndex = copy.errorIndex;
195 if(index != copy.index || errorIndex != copy.errorIndex)
208 ParsePosition::getIndex()
const
214 ParsePosition::setIndex(int32_t offset)
216 this->index = offset;
220 ParsePosition::getErrorIndex()
const
226 ParsePosition::setErrorIndex(int32_t ei)
228 this->errorIndex = ei;
#define FALSE
The FALSE value of a UBool.
Basic definitions for ICU, for both C and C++ APIs.
int8_t UBool
The ICU boolean type.
U_EXPORT UBool operator==(const StringPiece &x, const StringPiece &y)
Global operator == for StringPiece.
UObject is the common ICU "boilerplate" class.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
virtual UClassID getDynamicClassID() const
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.
#define TRUE
The TRUE value of a UBool.
UBool operator!=(const StringPiece &x, const StringPiece &y)
Global operator != for StringPiece.
ParsePosition(const ParsePosition ©)
Copy constructor.
ParsePosition(int32_t newIndex)
Create a new ParsePosition with the given initial index.
ParsePosition()
Default constructor, the index starts with 0 as default.
C++ API: Common ICU base class UObject.
ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...
#define U_NAMESPACE_BEGIN