1 #ifndef __NDS_ITERATE_HANDLER_HH__
2 #define __NDS_ITERATE_HANDLER_HH__
20 :
public std::enable_shared_from_this< iterate_handler >
24 std::shared_ptr< NDS::detail::conn_p_type >&& conn_p )
44 std::shared_ptr< buffers_type >
cache_;
54 std::shared_ptr< NDS::detail::conn_p_type >
conn_p_;
61 #endif // __NDS_ITERATE_HANDLER_HH__
Definition: nds_iterate_handler.hh:19
void next()
Definition: nds_iterate_handler.cc:12
std::shared_ptr< NDS::detail::conn_p_type > conn_p_
Definition: nds_iterate_handler.hh:54
virtual bool has_next()=0
iterate_handler(std::shared_ptr< NDS::detail::conn_p_type > &&conn_p)
Definition: nds_iterate_handler.hh:23
virtual ~iterate_handler()
void abort()
Definition: nds_iterate_handler.cc:32
std::shared_ptr< buffers_type > cache_
Definition: nds_iterate_handler.hh:44
NDS::detail::conn_p_type * conn()
Definition: nds_iterate_handler.hh:48
virtual bool done()
Definition: nds_iterate_handler.hh:37
std::vector< buffer > buffers_type
Definition: nds_buffer.hh:356
Definition: nds_connection_ptype.hh:148
void invalidate()
Definition: nds_iterate_handler.cc:46