CharacterIterator.h

Go to the documentation of this file.
00001 #ifndef JAVA_TEXT_CHARACTERITERATOR_H
00002 #define JAVA_TEXT_CHARACTERITERATOR_H 1
00003 
00004 #ifndef JAVA_LANG_OBJECT_H
00005 #include <java_lang/Object.h>
00006 #endif /* JAVA_LANG_OBJECT_H */
00007 #ifndef JAVA_TEXT_SPEC
00008 #include <java_text/Spec.h>
00009 #endif /* JAVA_TEXT_SPEC */
00010 
00011 namespace java {
00012   namespace text {
00013 
00074     class JAVA_TEXT_SPEC CharacterIterator : virtual public Interface {
00075 
00076     public:
00077 
00083       static const jchar DONE;
00084 
00091       virtual jchar first() = 0;
00092 
00099       virtual jchar last() = 0;
00100 
00107       virtual jchar current() const = 0;
00108 
00117       virtual jchar next() = 0;
00118 
00126       virtual jchar previous() = 0;
00127 
00136       virtual jchar setIndex(int position) = 0;
00137 
00142       virtual jint getBeginIndex() const = 0;
00143 
00149       virtual jint getEndIndex() const = 0;
00150 
00155       virtual jint getIndex() const = 0;
00156 
00157 
00158     private:
00159 
00160       REGISTER_MEMBERS;
00161 
00162     };
00163 
00164   } // namespace text
00165 } // namespace java
00166 
00167 #endif /* JAVA_TEXT_CHARACTERITERATOR_H */

Generated on Fri May 16 11:54:42 2008 for CrossPlatformJavaLikeC++API by  doxygen 1.5.3