VOS::StringIterator Class Reference
[libvos]
#include <vos/vos/iterator.hh>
Inheritance diagram for VOS::StringIterator:

Detailed Description
Iterator subclass for iterating over a list of std::string objects.
Definition at line 125 of file iterator.hh.
Public Member Functions
- StringIterator ()
- StringIterator (const StringIterator &tsi)
- StringIterator (const std::set< std::string > &types)
- StringIterator (const std::vector< std::string > &strs)
- std::string operator * ()
- std::string operator[] (size_type i)
Constructor & Destructor Documentation
| VOS::StringIterator::StringIterator | ( | ) | [inline] |
Definition at line 128 of file iterator.hh.
| VOS::StringIterator::StringIterator | ( | const StringIterator & | tsi | ) | [inline] |
Definition at line 129 of file iterator.hh.
| VOS::StringIterator::StringIterator | ( | const std::set< std::string > & | types | ) | [inline] |
Definition at line 130 of file iterator.hh.
| VOS::StringIterator::StringIterator | ( | const std::vector< std::string > & | strs | ) | [inline] |
Definition at line 139 of file iterator.hh.
Member Function Documentation
| std::string VOS::StringIterator::operator * | ( | ) | [inline] |
- Returns:
- the current element, or an empty string if the iterator is at an invalid position (at the end)
Definition at line 150 of file iterator.hh.
| std::string VOS::StringIterator::operator[] | ( | size_type | i | ) | [inline] |
Definition at line 160 of file iterator.hh.
The documentation for this class was generated from the following file:
- /home/tetron/hack/vos/libs/vos/vos/iterator.hh