drogon
C++14/17-based HTTP application framework
Loading...
Searching...
No Matches
drogon::orm::ConstRowIterator Class Reference
Inheritance diagram for drogon::orm::ConstRowIterator:
Collaboration diagram for drogon::orm::ConstRowIterator:

Public Types

using pointer = const Field *
using reference = const Field &
using value_type = const Field
using size_type = Row::SizeType
using difference_type = Row::DifferenceType
using iterator_category = std::random_access_iterator_tag

Public Member Functions

pointer operator-> ()
reference operator* ()
ConstRowIterator operator++ (int)
ConstRowIterator & operator++ ()
ConstRowIterator operator-- (int)
ConstRowIterator & operator-- ()
ConstRowIterator & operator+= (difference_type i)
ConstRowIterator & operator-= (difference_type i)
bool operator== (const ConstRowIterator &other) const
bool operator!= (const ConstRowIterator &other) const
bool operator> (const ConstRowIterator &other) const
bool operator< (const ConstRowIterator &other) const
bool operator>= (const ConstRowIterator &other) const
bool operator<= (const ConstRowIterator &other) const

Friends

class Row

Additional Inherited Members

Protected Types inherited from drogon::orm::Field
using SizeType = unsigned long
Protected Member Functions inherited from drogon::orm::Field
 Field (const Row &row, Row::SizeType columnNum) noexcept
const char * name () const
 Column name.
bool isNull () const
 Is this field's value null?
const char * c_str () const
 Read as plain C string.
size_t length () const
 Get the length of the plain C string.
template<typename T>
as () const
 Convert to a type T value.
ArrayParser getArrayParser () const
 Parse the field as an SQL array.
template<typename T>
std::vector< std::shared_ptr< T > > asArray () const
template<>
DROGON_EXPORT const char * as () const
template<>
DROGON_EXPORT char * as () const
template<>
float as () const
template<>
double as () const
template<>
bool as () const
template<>
int as () const
template<>
long as () const
template<>
int8_t as () const
template<>
long long as () const
template<>
unsigned int as () const
template<>
unsigned long as () const
template<>
uint8_t as () const
template<>
unsigned long long as () const
Protected Attributes inherited from drogon::orm::Field
Result::SizeType row_
long column_

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