LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
llvm::yaml::basic_collection_iterator< BaseT, ValueT > Class Template Reference

This is an iterator abstraction over YAML collections shared by both sequences and maps. More...

#include <YAMLParser.h>

Inheritance diagram for llvm::yaml::basic_collection_iterator< BaseT, ValueT >:
Inheritance graph
[legend]
Collaboration diagram for llvm::yaml::basic_collection_iterator< BaseT, ValueT >:
Collaboration graph
[legend]

Public Member Functions

 basic_collection_iterator ()
 
 basic_collection_iterator (BaseT *B)
 
ValueT * operator-> () const
 
ValueT & operator* () const
 
 operator ValueT * () const
 
bool operator!= (const basic_collection_iterator &Other) const
 
basic_collection_iteratoroperator++ ()
 

Detailed Description

template<class BaseT, class ValueT>
class llvm::yaml::basic_collection_iterator< BaseT, ValueT >

This is an iterator abstraction over YAML collections shared by both sequences and maps.

BaseT must have a ValueT* member named CurrentEntry and a member function increment() which must set CurrentEntry to 0 to create an end iterator.

Definition at line 279 of file YAMLParser.h.

Constructor & Destructor Documentation

template<class BaseT , class ValueT >
llvm::yaml::basic_collection_iterator< BaseT, ValueT >::basic_collection_iterator ( )
inline

Definition at line 282 of file YAMLParser.h.

template<class BaseT , class ValueT >
llvm::yaml::basic_collection_iterator< BaseT, ValueT >::basic_collection_iterator ( BaseT *  B)
inline

Definition at line 283 of file YAMLParser.h.

Member Function Documentation

template<class BaseT , class ValueT >
llvm::yaml::basic_collection_iterator< BaseT, ValueT >::operator ValueT * ( ) const
inline

Definition at line 296 of file YAMLParser.h.

template<class BaseT , class ValueT >
bool llvm::yaml::basic_collection_iterator< BaseT, ValueT >::operator!= ( const basic_collection_iterator< BaseT, ValueT > &  Other) const
inline

Definition at line 301 of file YAMLParser.h.

template<class BaseT , class ValueT >
ValueT& llvm::yaml::basic_collection_iterator< BaseT, ValueT >::operator* ( ) const
inline

Definition at line 290 of file YAMLParser.h.

template<class BaseT , class ValueT >
basic_collection_iterator& llvm::yaml::basic_collection_iterator< BaseT, ValueT >::operator++ ( )
inline

Definition at line 308 of file YAMLParser.h.

template<class BaseT , class ValueT >
ValueT* llvm::yaml::basic_collection_iterator< BaseT, ValueT >::operator-> ( ) const
inline

Definition at line 285 of file YAMLParser.h.


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