Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(631)

Unified Diff: public/i18n/unicode/fpositer.h

Issue 18836004: Move ICU headers from public/{common,i18n} to source/{common,i18n} (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu46.git@master
Patch Set: same as ps #3. retry uploading Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « public/i18n/unicode/format.h ('k') | public/i18n/unicode/gregocal.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/i18n/unicode/fpositer.h
diff --git a/public/i18n/unicode/fpositer.h b/public/i18n/unicode/fpositer.h
deleted file mode 100644
index ecaa77728ac3a68630fa3246c7eef6b4184eadbc..0000000000000000000000000000000000000000
--- a/public/i18n/unicode/fpositer.h
+++ /dev/null
@@ -1,120 +0,0 @@
-/*
-********************************************************************************
-* Copyright (C) 2010, International Business Machines
-* Corporation and others. All Rights Reserved.
-********************************************************************************
-*
-* File attiter.h
-*
-* Modification History:
-*
-* Date Name Description
-* 12/15/2009 dougfelt Created
-********************************************************************************
-*/
-
-#ifndef FPOSITER_H
-#define FPOSITER_H
-
-#include "unicode/utypes.h"
-#include "unicode/uobject.h"
-
-/**
- * \file
- * \brief C++ API: FieldPosition Iterator.
- */
-
-#if UCONFIG_NO_FORMATTING
-
-U_NAMESPACE_BEGIN
-
-/*
- * Allow the declaration of APIs with pointers to FieldPositionIterator
- * even when formatting is removed from the build.
- */
-class FieldPositionIterator;
-
-U_NAMESPACE_END
-
-#else
-
-#include "unicode/fieldpos.h"
-#include "unicode/umisc.h"
-
-U_NAMESPACE_BEGIN
-
-class UVector32;
-
-/**
- * FieldPositionIterator returns the field ids and their start/limit positions generated
- * by a call to Format::format. See Format, NumberFormat, DecimalFormat.
- * @stable ICU 4.4
- */
-class U_I18N_API FieldPositionIterator : public UObject {
-public:
- /**
- * Destructor.
- * @stable ICU 4.4
- */
- ~FieldPositionIterator();
-
- /**
- * Constructs a new, empty iterator.
- * @stable ICU 4.4
- */
- FieldPositionIterator(void);
-
- /**
- * Copy constructor. If the copy failed for some reason, the new iterator will
- * be empty.
- * @stable ICU 4.4
- */
- FieldPositionIterator(const FieldPositionIterator&);
-
- /**
- * Return true if another object is semantically equal to this
- * one.
- * <p>
- * Return true if this FieldPositionIterator is at the same position in an
- * equal array of run values.
- * @stable ICU 4.4
- */
- UBool operator==(const FieldPositionIterator&) const;
-
- /**
- * Returns the complement of the result of operator==
- * @param rhs The FieldPositionIterator to be compared for inequality
- * @return the complement of the result of operator==
- * @stable ICU 4.4
- */
- UBool operator!=(const FieldPositionIterator& rhs) const { return !operator==(rhs); }
-
- /**
- * If the current position is valid, updates the FieldPosition values, advances the iterator,
- * and returns TRUE, otherwise returns FALSE.
- * @stable ICU 4.4
- */
- UBool next(FieldPosition& fp);
-
-private:
- friend class FieldPositionIteratorHandler;
-
- /**
- * Sets the data used by the iterator, and resets the position.
- * Returns U_ILLEGAL_ARGUMENT_ERROR in status if the data is not valid
- * (length is not a multiple of 3, or start >= limit for any run).
- */
- void setData(UVector32 *adopt, UErrorCode& status);
-
- UVector32 *data;
- int32_t pos;
-
- // No ICU "poor man's RTTI" for this class nor its subclasses.
- virtual UClassID getDynamicClassID() const;
-};
-
-U_NAMESPACE_END
-
-#endif /* #if !UCONFIG_NO_FORMATTING */
-
-#endif // FPOSITER_H
« no previous file with comments | « public/i18n/unicode/format.h ('k') | public/i18n/unicode/gregocal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698