proxygen
folly::dynamic::item_iterator Struct Reference

#include <dynamic-inl.h>

Inheritance diagram for folly::dynamic::item_iterator:
folly::detail::IteratorAdaptor< dynamic::item_iterator, dynamic::ObjectImpl::iterator, std::pair< dynamic const, dynamic >, std::forward_iterator_tag > folly::detail::IteratorFacade< dynamic::item_iterator, std::pair< dynamic const, dynamic >, std::forward_iterator_tag >

Public Types

using Super = detail::IteratorAdaptor< dynamic::item_iterator, dynamic::ObjectImpl::iterator, std::pair< dynamic const, dynamic >, std::forward_iterator_tag >
 
using object_type = dynamic::ObjectImpl
 
- Public Types inherited from folly::detail::IteratorAdaptor< dynamic::item_iterator, dynamic::ObjectImpl::iterator, std::pair< dynamic const, dynamic >, std::forward_iterator_tag >
using Super = IteratorFacade< dynamic::item_iterator, std::pair< dynamic const, dynamic >, std::forward_iterator_tag >
 
using value_type = typename Super::value_type
 
using iterator_category = typename Super::iterator_category
 
using reference = typename Super::reference
 
using pointer = typename Super::pointer
 
using difference_type = typename Super::difference_type
 
- Public Types inherited from folly::detail::IteratorFacade< dynamic::item_iterator, std::pair< dynamic const, dynamic >, std::forward_iterator_tag >
using value_type = std::pair< dynamic const, dynamic >
 
using reference = value_type &
 
using pointer = value_type *
 
using difference_type = ssize_t
 
using iterator_category = std::forward_iterator_tag
 

Public Member Functions

 item_iterator (dynamic::ObjectImpl::iterator b)
 
- Public Member Functions inherited from folly::detail::IteratorAdaptor< dynamic::item_iterator, dynamic::ObjectImpl::iterator, std::pair< dynamic const, dynamic >, std::forward_iterator_tag >
 IteratorAdaptor (dynamic::ObjectImpl::iteratorbase)
 
void increment ()
 
void decrement ()
 
std::pair< dynamic const, dynamic > & dereference () const
 
bool equal (dynamic::item_iteratorconst &rhs) const
 
dynamic::ObjectImpl::iteratorconst & base () const
 
dynamic::ObjectImpl::iterator & base ()
 
- Public Member Functions inherited from folly::detail::IteratorFacade< dynamic::item_iterator, std::pair< dynamic const, dynamic >, std::forward_iterator_tag >
bool operator== (dynamic::item_iteratorconst &rhs) const
 
std::enable_if< std::is_convertible< dynamic::item_iterator, D2 >::value, bool >::type operator== (D2 const &rhs) const
 
bool operator!= (dynamic::item_iteratorconst &rhs) const
 
bool operator!= (D2 const &rhs) const
 
std::pair< dynamic const, dynamic > & operator* () const
 
std::pair< dynamic const, dynamic > * operator-> () const
 
dynamic::item_iteratoroperator++ ()
 
dynamic::item_iterator operator++ (int)
 
dynamic::item_iteratoroperator-- ()
 
dynamic::item_iterator operator-- (int)
 

Detailed Description

Definition at line 249 of file dynamic-inl.h.

Member Typedef Documentation

using folly::dynamic::item_iterator::Super = detail::IteratorAdaptor< dynamic::item_iterator, dynamic::ObjectImpl::iterator, std::pair<dynamic const, dynamic>, std::forward_iterator_tag>

Definition at line 258 of file dynamic-inl.h.

Constructor & Destructor Documentation

folly::dynamic::item_iterator::item_iterator ( dynamic::ObjectImpl::iterator  b)
inline

Definition at line 259 of file dynamic-inl.h.

259 : Super(b) {}
detail::IteratorAdaptor< dynamic::item_iterator, dynamic::ObjectImpl::iterator, std::pair< dynamic const, dynamic >, std::forward_iterator_tag > Super
Definition: dynamic-inl.h:258
char b

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