OKlibrary  0.2.1.6
DatabaseHandler01::Select Class Reference

#include <DatabaseHandler01.hpp>

List of all members.

Classes

class  AttributeIteratorInit1

Public Member Functions

 Select (const Connection &connection, const int df=1000)
void issue (const std::string &command, const bool use_cursor=false)
int current_row () const
int number_rows () const
int number_columns () const
const Attribute get_Attribute (const int index) const
const Attribute get_Attribute (const std::string &name) const
 operator PGresult * () const
 operator bool () const
Selectoperator++ ()
Selectset_row (int n)
const row_mapvalues () const
const Value value (const std::string &attribute) const
void set_cursor_step (const int s)
void truncate_result ()
 ~Select ()

Detailed Description

Definition at line 498 of file DatabaseHandler01.hpp.


Constructor & Destructor Documentation

DatabaseHandler01::Select::Select ( const Connection connection,
const int  df = 1000 
) [inline]

Definition at line 502 of file DatabaseHandler01.hpp.

Definition at line 625 of file DatabaseHandler01.hpp.


Member Function Documentation

Definition at line 529 of file DatabaseHandler01.hpp.

const Attribute DatabaseHandler01::Select::get_Attribute ( const int  index) const [inline]

Definition at line 535 of file DatabaseHandler01.hpp.

Referenced by main().

const Attribute DatabaseHandler01::Select::get_Attribute ( const std::string &  name) const [inline]

Definition at line 538 of file DatabaseHandler01.hpp.

References DatabaseHandler01::Connection::getName().

DatabaseHandler01::Select::operator bool ( ) const [inline]

Definition at line 549 of file DatabaseHandler01.hpp.

DatabaseHandler01::Select::operator PGresult * ( ) const [inline]

Definition at line 547 of file DatabaseHandler01.hpp.

Select& DatabaseHandler01::Select::operator++ ( ) [inline]

Definition at line 553 of file DatabaseHandler01.hpp.

void DatabaseHandler01::Select::set_cursor_step ( const int  s) [inline]

Definition at line 618 of file DatabaseHandler01.hpp.

References s.

Definition at line 589 of file DatabaseHandler01.hpp.

Definition at line 620 of file DatabaseHandler01.hpp.

const Value DatabaseHandler01::Select::value ( const std::string &  attribute) const [inline]

Definition at line 611 of file DatabaseHandler01.hpp.

References DatabaseHandler01::Connection::getName().

const row_map& DatabaseHandler01::Select::values ( ) const [inline]

Definition at line 610 of file DatabaseHandler01.hpp.

Referenced by DatabaseHandler01::TableHandler::completion().


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