Listing Encoding Name Standards
The RWUEncodingNameStandardList class constructs RWUEncodingNameStandardListIterator instances. RWUEncodingNameStandardListIterator instances provide access to the list of encoding name standards (such as MIME or IANA) that apply to any of the encoding names and aliases currently contained within the Internationalization Module’s default database. The list cannot be changed at run time.
The static methods begin() and end() return instances of RWUEncodingNameStandardListIterator. For example, this code constructs an iterator object, then iterates over the list of standards and writes them to std::cout:
 
RWUEncodingNameStandardListIterator iter;
 
for (iter = RWUEncodingNameStandardList::begin();
iter != RWUEncodingNameStandardList::end();
++iter){
std::cout << *iter << std::endl;
}
RWUEncodingNameStandardList may also be instantiated to produce an object that allows easy access to the static methods:
 
RWUEncodingNameStandardListIterator iter;
RWUEncodingNameStandardList list;
 
for (iter = list.begin(); iter != list.end(); ++iter) {
std::cout << *iter << std::endl;
}