irods  4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

irods::query< connection_type > Class Template Reference

#include <irods_query.hpp>

Collaboration diagram for irods::query< connection_type >:
[legend]

Classes

class  gen_query_impl
 
class  iterator
 
class  query_impl_base
 
class  spec_query_impl
 

Public Types

enum  query_type { GENERAL = 0, SPECIFIC = 1 }
 
typedef std::vector< std::string > value_type
 

Public Member Functions

 query (connection_type *_comm, const std::string &_query_string, const std::vector< std::string > *_specific_query_args, const std::string &_zone_hint, uintmax_t _query_limit, uintmax_t _row_offset, query_type _query_type)
 
 query (connection_type *_comm, const std::string &_query_string, uintmax_t _query_limit=0, uintmax_t _row_offset=0, query_type _query_type=GENERAL)
 
 query (query &&)=default
 
queryoperator= (query &&)=default
 
 ~query ()
 
iterator begin ()
 
iterator end ()
 
value_type front ()
 
size_t size ()
 

Static Public Member Functions

static query_type convert_string_to_query_type (const std::string &_str)
 

Private Attributes

std::unique_ptr< iteratoriter_
 
std::shared_ptr< query_impl_basequery_impl_
 

Detailed Description

template<typename connection_type>
class irods::query< connection_type >

Definition at line 25 of file irods_query.hpp.

Member Typedef Documentation

◆ value_type

template<typename connection_type >
typedef std::vector<std::string> irods::query< connection_type >::value_type

Definition at line 27 of file irods_query.hpp.

Member Enumeration Documentation

◆ query_type

template<typename connection_type >
enum irods::query::query_type
Enumerator
GENERAL 
SPECIFIC 

Definition at line 29 of file irods_query.hpp.

Constructor & Destructor Documentation

◆ query() [1/3]

template<typename connection_type >
irods::query< connection_type >::query ( connection_type *  _comm,
const std::string &  _query_string,
const std::vector< std::string > *  _specific_query_args,
const std::string &  _zone_hint,
uintmax_t  _query_limit,
uintmax_t  _row_offset,
query_type  _query_type 
)
inline

Definition at line 426 of file irods_query.hpp.

◆ query() [2/3]

template<typename connection_type >
irods::query< connection_type >::query ( connection_type *  _comm,
const std::string &  _query_string,
uintmax_t  _query_limit = 0,
uintmax_t  _row_offset = 0,
query_type  _query_type = GENERAL 
)
inline

Definition at line 476 of file irods_query.hpp.

◆ query() [3/3]

template<typename connection_type >
irods::query< connection_type >::query ( query< connection_type > &&  )
default

◆ ~query()

template<typename connection_type >
irods::query< connection_type >::~query ( )
inline

Definition at line 488 of file irods_query.hpp.

Member Function Documentation

◆ begin()

template<typename connection_type >
iterator irods::query< connection_type >::begin ( void  )
inline

Definition at line 491 of file irods_query.hpp.

◆ convert_string_to_query_type()

template<typename connection_type >
static query_type irods::query< connection_type >::convert_string_to_query_type ( const std::string &  _str)
inlinestatic

Definition at line 34 of file irods_query.hpp.

◆ end()

template<typename connection_type >
iterator irods::query< connection_type >::end ( void  )
inline

Definition at line 495 of file irods_query.hpp.

◆ front()

template<typename connection_type >
value_type irods::query< connection_type >::front ( )
inline

Definition at line 499 of file irods_query.hpp.

◆ operator=()

template<typename connection_type >
query& irods::query< connection_type >::operator= ( query< connection_type > &&  )
default

◆ size()

template<typename connection_type >
size_t irods::query< connection_type >::size ( )
inline

Definition at line 503 of file irods_query.hpp.

Member Data Documentation

◆ iter_

template<typename connection_type >
std::unique_ptr<iterator> irods::query< connection_type >::iter_
private

◆ query_impl_

template<typename connection_type >
std::shared_ptr<query_impl_base> irods::query< connection_type >::query_impl_
private

Definition at line 509 of file irods_query.hpp.

Referenced by irods::query< ConnectionType >::size().


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