metadata iterator template
Template parameter T is one of the derived class of Metadata. The template is used with those metadata which contains a list of sub-metadata
Definition at line 65 of file metadata.hpp.
Public Member Functions | |
| AbstractIterator (const T &data) | |
| Construct an iterator for an iterable metadata.  More... | |
| virtual | ~AbstractIterator () | 
| Destructor.  More... | |
| T & | operator* () | 
| Dereference the associated metadata.  More... | |
| T * | operator-> () | 
| Dereference the associated metadata as a pointer.  More... | |
| T & | get () | 
| Directly access the associated metadata.  More... | |
| virtual AbstractIterator< T > & | next ()=0 | 
| advances the iterator to access the next data  More... | |
| virtual bool | done ()=0 | 
| check if the end is reached  More... | |
| virtual bool | operator== (const AbstractIterator< T > &other) const =0 | 
| check if two iterator point to the same position  More... | |
| bool | operator!= (const AbstractIterator< T > &other) const | 
| check if two iterator point to different position  More... | |
Protected Attributes | |
| T | data_ | 
      
  | 
  inline | 
Construct an iterator for an iterable metadata.
Definition at line 68 of file metadata.hpp.
      
  | 
  inlinevirtual | 
Destructor.
Definition at line 71 of file metadata.hpp.
      
  | 
  pure virtual | 
check if the end is reached
      
  | 
  inline | 
Directly access the associated metadata.
Definition at line 80 of file metadata.hpp.
References deepstream::AbstractIterator< T >::data_.
      
  | 
  pure virtual | 
advances the iterator to access the next data
      
  | 
  inline | 
check if two iterator point to different position
Definition at line 92 of file metadata.hpp.
      
  | 
  inline | 
Dereference the associated metadata.
Definition at line 74 of file metadata.hpp.
References deepstream::AbstractIterator< T >::data_.
      
  | 
  inline | 
Dereference the associated metadata as a pointer.
Definition at line 77 of file metadata.hpp.
References deepstream::AbstractIterator< T >::data_.
      
  | 
  pure virtual | 
check if two iterator point to the same position
      
  | 
  protected | 
Definition at line 97 of file metadata.hpp.
Referenced by deepstream::AbstractIterator< T >::get(), deepstream::AbstractIterator< T >::operator*(), and deepstream::AbstractIterator< T >::operator->().