Class comment_iterator
hamigaki::audio::vorbis::comment_iterator —
Synopsis
class comment_iterator {
public:
// types
typedef std::pair<const std::string,std::string> value_type;
typedef const value_type& reference;
typedef const value_type* pointer;
typedef implementation defined difference_type;
typedef std::random_access_iterator_tag iterator_category;
// construct/copy/destruct
comment_iterator();
comment_iterator(const char**);
// operators
reference operator*() const;
comment_iterator& operator++();
comment_iterator& operator--();
private: const char** current;
};
Description
comment_iterator
construct/copy/destruct
-
comment_iterator();
Effects:
不定値のcomment_iterator
を生成する。
-
comment_iterator(const char** ptr);
Effects:
current = ptr
comment_iterator
operators
-
reference operator*() const;
Returns:
*current
の文字列を名前と値の対にパースした結果
-
comment_iterator& operator++();
Effects:
++current
Returns:
*this
-
comment_iterator& operator--();
Effects:
--current
Returns:
*this