A C++ Standard Library-compatible random-access iterator for class RWUEncodingNameStandardList.
More...
#include <rw/i18n/RWUEncodingNameStandardListIterator.h>
RWUEncodingNameStandardListIterator is a C++ Standard Library-compatible random-access iterator for class RWUEncodingNameStandardList. An instance of RWUEncodingNameStandardListIterator can be used to access the list of encoding name standards that are currently recognized by the Internationalization Module. The list cannot be changed at run time.
- Example
#include <rw/i18n/RWUEncodingNameStandardList.h>
#include <iostream>
int
main()
{
++iter)
{
std::cout << *iter << std::endl;
}
for (iter = list.
begin(); iter != list.
end(); ++iter) {
std::cout << *iter << std::endl;
}
return 0;
}
- See also
- RWUEncodingNameStandardList
Declares an alias for the type used to represent iterator offsets and differences.
Tags this class as a C++ Standard Library-compatible random-access iterator.
Declares an alias for the value pointer type.
Declares an alias for the value reference type.
Declares an alias for the value type returned by operator*().
RWUEncodingNameStandardListIterator::RWUEncodingNameStandardListIterator |
( |
void |
| ) |
|
|
inline |
RWUEncodingNameStandardListIterator::~RWUEncodingNameStandardListIterator |
( |
| ) |
|
|
inline |
Returns true
if the list position of self is not equal to the list position of rhs; otherwise, false
.
Returns a const
char*
to a null-terminated character string that contains the name of the encoding name standard located at the list position specified by self.
The storage for this string is owned by the library.
- Exceptions
-
RWBoundsErr | Thrown if the iterator is invalid or positioned past the end of the list. |
Repositions self to the next position in the encoding name standard list and returns a reference to self.
Repositions self to the next position in the encoding name standard list and returns a copy of the previous value of self.
Repositions self to a new position in the encoding name standard list by adding offset to the current iterator position, and returns a reference to self.
Calculates the difference, or distance, between self and rhs.
Repositions self to the preceding position in the encoding name standard list and returns a reference to self.
Repositions self to the preceding position in the encoding name standard list and returns a copy of the previous value of self.
Repositions self to a new position in the encoding name standard list by subtracting offset from the current iterator position, and returns a reference to self.
Returns true
if the list position of self is less than the list position of rhs; otherwise, false
.
Returns true
if the list position of self is less than or equal to the list position of rhs; otherwise; false
.
Changes the state of self to match that of rhs.
Returns true
if the list position of self is equal to the list position of rhs; otherwise, false
.
Returns true
if the list position of self is greater than the list position of rhs; otherwise, false
.
Returns true
if the list position of self is greater than or equal to the list position of rhs; otherwise, false
.
Returns a const char*
to a null-terminated character string that contains the name of the encoding name standard located at the list position specified by the given offset from self.
Returns a new iterator whose list position is calculated by adding offset to the position of rhs.
Returns a new iterator whose list position is calculated by adding offset to the position of lhs.
Returns a new iterator whose list position is calculated by subtracting offset from the position of lhs.