LLVM  8.0.1
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 580 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 583 of file YAMLParser.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 591 of file YAMLParser.h.

◆ operator*()

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

Definition at line 606 of file YAMLParser.h.

◆ operator++()

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

Definition at line 595 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 608 of file YAMLParser.h.

◆ operator==()

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

Definition at line 585 of file YAMLParser.h.


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