Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

pqxx::cursor_base Class Reference

Common definitions for cursor types. More...

#include <cursor.hxx>

Inheritance diagram for pqxx::cursor_base:

pqxx::icursorstream List of all members.

Public Types

typedef result::size_type size_type
typedef result::difference_type difference_type

Public Member Functions

 operator void * () const
 Does it make sense to try reading from this cursor again?
bool operator! () const
 Is this cursor finished?
const PGSTD::string & name () const throw ()
 Name of underlying SQL cursor.

Static Public Member Functions

static difference_type all () throw ()
 Special value: read until end.
static difference_type next () throw ()
 Special value: read one row only.
static difference_type prior () throw ()
 Special value: read backwards, one row only.
static difference_type backward_all () throw ()
 Special value: read backwards from current position back to origin.

Protected Member Functions

 cursor_base (transaction_base *, const PGSTD::string &cname, bool embellish_name=true)

Protected Attributes

transaction_basem_context
bool m_done

Detailed Description

Common definitions for cursor types.


Member Typedef Documentation

typedef result::difference_type pqxx::cursor_base::difference_type
 

typedef result::size_type pqxx::cursor_base::size_type
 


Constructor & Destructor Documentation

pqxx::cursor_base::cursor_base transaction_base ,
const PGSTD::string &  cname,
bool  embellish_name = true
[protected]
 


Member Function Documentation

cursor_base::difference_type pqxx::cursor_base::all  )  throw () [static]
 

Special value: read until end.

Returns:
Maximum value for result::difference_type, so the cursor will attempt to read the largest possible result set.

cursor_base::difference_type pqxx::cursor_base::backward_all  )  throw () [static]
 

Special value: read backwards from current position back to origin.

Returns:
Minimum value for result::difference_type

const PGSTD::string& pqxx::cursor_base::name  )  const throw ()
 

Name of underlying SQL cursor.

Returns:
Name of SQL cursor, which may differ from the given name.
Warning:
Don't use this to access"el" href="classpqxx_1_1internal_1_1namedclass.html">pqxx::internal::namedclass
namedclass(const PGSTD::string &Name, const PGSTD::string &Classname)pqxx::internal::namedclass
process_notice(const char Msg[]) const pqxx::transaction_base
process_notice(const PGSTD::string &Msg) const pqxx::transaction_base
set_variable(const PGSTD::string &Var, const PGSTD::string &Val)pqxx::transaction_base
start_backend_transaction()pqxx::dbtransaction [protected]
transaction_base(connection_base &, const PGSTD::string &TName, const PGSTD::string &CName)pqxx::transaction_base [explicit, protected]
~dbtransaction()pqxx::dbtransaction [protected, virtual]
~transaction_base()=0pqxx::transaction_base [pure virtual]


Generated on Tue Feb 8 09:17:14 2005 for libpqxx by  doxygen 1.4.1
./usr/share/doc/libpqxx-dev/html/Reference/classpqxx_1_1cursor__base.png0000644000000000000000000000067210202020452026511 0ustar rootroot00000000000000PNG  IHDRxP PLTE`{tRNS@fPIDATXQn ˞oAwJr# ')(DS&'M/68>aλa 9&5{g@y`?)zI[bEgp[ {E-Nwabw0f<cÞ7 MK=jk6ݦ6xC!y>c|sr,Ԟ'< ;k_ݬaM&]m8A8FFDhhFIKJ䦬] f[=օ&9U0j=pa_5篝a` v{N jC iMmuT.-؝Wcãp۷oh_ծIENDB`./usr/share/doc/libpqxx-dev/html/Reference/classpqxx_1_1cursor__base.html0000644000000000000000000004267610202020452026703 0ustar rootroot00000000000000 libpqxx: pqxx::cursor_base Class Reference
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

pqxx::cursor_base Class Reference

Common definitions for cursor types. More...

#include <cursor.hxx>

Inheritance diagram for pqxx::cursor_base: