LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::yaml::document_iterator Class Reference

Iterator abstraction for Documents over a Stream. More...

#include "llvm/Support/YAMLParser.h"

Public Member Functions

 document_iterator ()=default
 
 document_iterator (std::unique_ptr< Document > &D)
 
bool operator== (const document_iterator &Other) const
 
bool operator!= (const document_iterator &Other) const
 
document_iterator operator++ ()
 
Documentoperator* ()
 
std::unique_ptr< Document > & operator-> ()
 

Detailed Description

Iterator abstraction for Documents over a Stream.

Definition at line 570 of file YAMLParser.h.

Constructor & Destructor Documentation

◆ document_iterator() [1/2]

llvm::yaml::document_iterator::document_iterator ( )
default

◆ document_iterator() [2/2]

llvm::yaml::document_iterator::document_iterator ( std::unique_ptr< Document > &  D)
inline

Definition at line 573 of file YAMLParser.h.

Member Function Documentation

◆ operator!=()

bool llvm::yaml::document_iterator::operator!= ( const document_iterator Other) const
inline

Definition at line 581 of file YAMLParser.h.

◆ operator*()

Document& llvm::yaml::document_iterator::operator* ( )
inline

Definition at line 596 of file YAMLParser.h.

◆ operator++()

document_iterator llvm::yaml::document_iterator::operator++ ( )
inline

Definition at line 585 of file YAMLParser.h.

References assert(), and llvm::yaml::Stream::Document.

◆ operator->()

std::unique_ptr<Document>& llvm::yaml::document_iterator::operator-> ( )
inline

Definition at line 598 of file YAMLParser.h.

◆ operator==()

bool llvm::yaml::document_iterator::operator== ( const document_iterator Other) const
inline

Definition at line 575 of file YAMLParser.h.


The documentation for this class was generated from the following file: