## 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

1.     comment_iterator();

   Effects: | 不定値の`comment_iterator`を生成する。

2.     comment_iterator(const char** ptr);

   Effects: | `current = ptr`

### `comment_iterator` operators

1.     reference operator*() const;

   Returns: | `*current`の文字列を名前と値の対にパースした結果

2.     comment_iterator& operator++();

   Effects: | `++current`
   Returns: | `*this`

3.     comment_iterator& operator--();

   Effects: | `--current`
   Returns: | `*this`

| 製作著作 © 2006, 2007 Takeshi Mouri