proxygen
folly::dynamic::value_iterator Struct Reference

#include <dynamic-inl.h>

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

Public Types

using Super = detail::IteratorAdaptor< dynamic::value_iterator, dynamic::ObjectImpl::iterator, dynamic, std::forward_iterator_tag >
 
using object_type = dynamic::ObjectImpl
 
- Public Types inherited from folly::detail::IteratorAdaptor< dynamic::value_iterator, dynamic::ObjectImpl::iterator, dynamic, std::forward_iterator_tag >
using Super = IteratorFacade< dynamic::value_iterator, 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::value_iterator, dynamic, std::forward_iterator_tag >
using value_type = dynamic
 
using reference = value_type &
 
using pointer = value_type *
 
using difference_type = ssize_t
 
using iterator_category = std::forward_iterator_tag
 

Public Member Functions

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

Detailed Description

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

Member Typedef Documentation

using folly::dynamic::value_iterator::Super = detail::IteratorAdaptor< dynamic::value_iterator, dynamic::ObjectImpl::iterator, dynamic, std::forward_iterator_tag>

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

Constructor & Destructor Documentation

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

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

274 : Super(b) {}
char b
detail::IteratorAdaptor< dynamic::value_iterator, dynamic::ObjectImpl::iterator, dynamic, std::forward_iterator_tag > Super
Definition: dynamic-inl.h:273

Member Function Documentation

dynamic& folly::dynamic::value_iterator::dereference ( ) const
inline

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

278  {
279  return base()->second;
280  }

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