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

Unified Diff: source/test/intltest/sfwdchit.h

Issue 2435373002: Delete source/test (Closed)
Patch Set: Created 4 years, 2 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 | « source/test/intltest/selfmts.cpp ('k') | source/test/intltest/sfwdchit.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/test/intltest/sfwdchit.h
diff --git a/source/test/intltest/sfwdchit.h b/source/test/intltest/sfwdchit.h
deleted file mode 100644
index 71fbd00ce2632cf39dddfef954382bdb4256a201..0000000000000000000000000000000000000000
--- a/source/test/intltest/sfwdchit.h
+++ /dev/null
@@ -1,77 +0,0 @@
-/********************************************************************
- * COPYRIGHT:
- * Copyright (c) 1997-2003, International Business Machines Corporation and
- * others. All Rights Reserved.
- ********************************************************************/
-
-#ifndef SFDWCHIT_H
-#define SFDWCHIT_H
-
-#include "unicode/chariter.h"
-#include "intltest.h"
-
-class SimpleFwdCharIterator : public ForwardCharacterIterator {
-public:
- // not used -- SimpleFwdCharIterator(const UnicodeString& s);
- SimpleFwdCharIterator(UChar *s, int32_t len, UBool adopt = FALSE);
-
- virtual ~SimpleFwdCharIterator();
-
- /**
- * Returns true when both iterators refer to the same
- * character in the same character-storage object.
- */
- // not used -- virtual UBool operator==(const ForwardCharacterIterator& that) const;
-
- /**
- * Generates a hash code for this iterator.
- */
- virtual int32_t hashCode(void) const;
-
- /**
- * Returns a UClassID for this ForwardCharacterIterator ("poor man's
- * RTTI").<P> Despite the fact that this function is public,
- * DO NOT CONSIDER IT PART OF CHARACTERITERATOR'S API!
- */
- virtual UClassID getDynamicClassID(void) const;
-
- /**
- * Gets the current code unit for returning and advances to the next code unit
- * in the iteration range
- * (toward endIndex()). If there are
- * no more code units to return, returns DONE.
- */
- virtual UChar nextPostInc(void);
-
- /**
- * Gets the current code point for returning and advances to the next code point
- * in the iteration range
- * (toward endIndex()). If there are
- * no more code points to return, returns DONE.
- */
- virtual UChar32 next32PostInc(void);
-
- /**
- * Returns FALSE if there are no more code units or code points
- * at or after the current position in the iteration range.
- * This is used with nextPostInc() or next32PostInc() in forward
- * iteration.
- */
- virtual UBool hasNext();
-
-protected:
- SimpleFwdCharIterator() {}
- SimpleFwdCharIterator(const SimpleFwdCharIterator &other)
- : ForwardCharacterIterator(other) {}
- SimpleFwdCharIterator &operator=(const SimpleFwdCharIterator&) { return *this; }
-private:
- static const int32_t kInvalidHashCode;
- static const int32_t kEmptyHashCode;
-
- UChar *fStart, *fEnd, *fCurrent;
- int32_t fLen;
- UBool fBogus;
- int32_t fHashCode;
-};
-
-#endif
« no previous file with comments | « source/test/intltest/selfmts.cpp ('k') | source/test/intltest/sfwdchit.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698