ObjectIterator.hpp
Go to the documentation of this file.
88 typename std::enable_if<std::is_pointer<T>::value, const typename std::remove_pointer<ElementType>::type&>::type
Definition: ObjectIterator.hpp:29
ObjectIterator(const ObjectType &object, unsigned index)
Definition: ObjectIterator.hpp:40
std::enable_if< std::is_pointer< T >::value, const typename std::remove_pointer< ElementType >::type & >::type operator*() const
Accessor returns a reference for pointer-type elements.
Definition: ObjectIterator.hpp:89
bool operator!=(const ObjectIterator &rhs) const
Definition: ObjectIterator.hpp:70
ObjectIterator()=default
std::ptrdiff_t difference_type
Definition: ObjectIterator.hpp:33
typename ObjectType::DataPtrType pointer
Definition: ObjectIterator.hpp:34
std::random_access_iterator_tag iterator_category
Definition: ObjectIterator.hpp:31
std::enable_if<!std::is_pointer< T >::value, const ElementType >::type operator*() const
Accessor returns a copy for non-pointer-type elements.
Definition: ObjectIterator.hpp:79
ObjectIterator(const ObjectIterator &)=default
bool operator==(const ObjectIterator &rhs) const
Definition: ObjectIterator.hpp:65
ObjectIterator operator+=(size_t distance)
Definition: ObjectIterator.hpp:58
Definition: Array.hpp:108
std::enable_if< sizeof(T)==1, T >::type readValue(const T *ptr)
Read a typed value from flash memory ensuring correct alignment of access.
Definition: Utility.hpp:126
ObjectType
Definition: Libraries/jerryscript/src/include/Jerryscript/Types.h:34