godot/thirdparty/icu4c/common/unicode/parsepos.h

// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
* Copyright (C) 1997-2005, International Business Machines Corporation and others. All Rights Reserved.
*******************************************************************************
*
* File PARSEPOS.H
*
* Modification History:
*
*   Date        Name        Description
*   07/09/97    helena      Converted from java.
*   07/17/98    stephen     Added errorIndex support.
*   05/11/99    stephen     Cleaned up.
*******************************************************************************
*/

#ifndef PARSEPOS_H
#define PARSEPOS_H

#include "unicode/utypes.h"

#if U_SHOW_CPLUSPLUS_API

#include "unicode/uobject.h"

 
U_NAMESPACE_BEGIN

/**
 * \file
 * \brief C++ API: Canonical Iterator
 */
/** 
 * <code>ParsePosition</code> is a simple class used by <code>Format</code>
 * and its subclasses to keep track of the current position during parsing.
 * The <code>parseObject</code> method in the various <code>Format</code>
 * classes requires a <code>ParsePosition</code> object as an argument.
 *
 * <p>
 * By design, as you parse through a string with different formats,
 * you can use the same <code>ParsePosition</code>, since the index parameter
 * records the current position.
 *
 * The ParsePosition class is not suitable for subclassing.
 *
 * @version     1.3 10/30/97
 * @author      Mark Davis, Helena Shih
 * @see         java.text.Format
 */

class U_COMMON_API ParsePosition : public UObject {};

inline ParsePosition&
ParsePosition::operator=(const ParsePosition& copy)
{}

inline bool
ParsePosition::operator==(const ParsePosition& copy) const
{}

inline bool
ParsePosition::operator!=(const ParsePosition& copy) const
{}

inline int32_t
ParsePosition::getIndex() const
{}

inline void
ParsePosition::setIndex(int32_t offset)
{}

inline int32_t
ParsePosition::getErrorIndex() const
{}

inline void
ParsePosition::setErrorIndex(int32_t ei)
{}
U_NAMESPACE_END

#endif /* U_SHOW_CPLUSPLUS_API */

#endif