ICharacterSetIterator provides APIs to iterate through the foreign codesets supported by the Transcoder Framework.
Use this class to search for a character set supported by the framework to create a transcoder object.
For example, to search for a character set supported by the Transcoder Framework, you can do the following:
IText myCharSet("a candicate code set"); ICharacterSetIterator iter; while (iter && *iter != myCharSet) iter++; if (iter) { ITranscoder* transcoder = ITranscoder::createTranscoder(*iter); }
This class provides APIs that are compatible with ANSI C++ standard library.
You should not derive from this class.
Use the constructors and destructor in this group to create and destroy objects of class ICharacterSetIterator.
![]() |
public:
virtual ~ICharacterSetIterator()
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
ICharacterSetIterator()
Windows | OS/2 | AIX |
Yes | Yes | Yes |
public:
ICharacterSetIterator(const ICharacterSetIterator& source)
Copy constructor for ICharacterSetIterator.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
Use the functions in this group to advance the character code set iterator to the next character set or to reset it to point to the first character set.
![]() |
while (iter && *iter != myCharSet) ++iter;
public:
ICharacterSetIterator& operator ++()
Windows | OS/2 | AIX |
Yes | Yes | Yes |
public:
ICharacterSetIterator operator ++(int)
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
void reset()
Windows | OS/2 | AIX |
Yes | Yes | Yes |
Use the operator in this group to replace the current ICharacterSetIterator with the given one.
![]() |
public:
ICharacterSetIterator& operator =( const ICharacterSetIterator& right )
Assignment operator for ICharacterSetIterator.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
const IText operator *()
Windows | OS/2 | AIX |
Yes | Yes | Yes |
Use the function in this group to determine if the iterator has reached the end.
![]() |
public:
operator bool() const
Windows | OS/2 | AIX |
Yes | Yes | Yes |
Use the functions in this group to the given ICharacterSetIterator object against the given one for equality.
![]() |
public:
bool operator !=(const ICharacterSetIterator& right) const
Determines the inequality of the two code set iterators. This function compares the portable names of the character sets pointed by this iterator and another iterator.
Returns true if the portable name of the character sets pointed to by this iterator and another iterator are not the same; otherwise, returns false.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
bool operator ==(const ICharacterSetIterator& right) const
Determines the equality of the two code set iterators. This function compares the portable names of the character sets pointed by this iterator and another iterator.
Returns true if the portable name of the character sets pointed to by this iterator and another iterator are the same; otherwise, returns false.
Windows | OS/2 | AIX |
Yes | Yes | Yes |