Logo Search packages:      
Sourcecode: poco version File versions  Download package

Public Types | Public Member Functions | Protected Member Functions | Private Types | Private Attributes

Poco::Data::Statement Class Reference

#include <Statement.h>

Inheritance diagram for Poco::Data::Statement:
Inheritance graph
Collaboration diagram for Poco::Data::Statement:
Collaboration graph

List of all members.

Public Types

typedef void(* Manipulator )(Statement &)

Public Member Functions

bool done ()
Poco::UInt32 execute ()
 Creates a string from the accumulated SQL statement.
Statementoperator, (AbstractBinding *info)
 Handles manipulators, such as now.
Statementoperator, (AbstractExtraction *extract)
 Registers the Binding at the Statement.
Statementoperator, (const Limit &extrLimit)
 Registers objects used for extracting data at the Statement.
Statementoperator, (const Range &extrRange)
Statementoperator, (Manipulator manip)
template<typename T >
Statementoperator<< (const T &t)
 Swaps the statement with another one.
Statementoperator= (const Statement &stmt)
 Copy constructor.
 Statement (StatementImpl *pImpl)
 Statement (const Statement &stmt)
 Destroys the Statement.
 Statement (Session &session)
 Creates the Statement.
void swap (Statement &other)
 Assignment operator.
std::string toString () const
 ~Statement ()

Protected Member Functions

const AbstractExtractionVec & extractions () const
const MetaColumnmetaColumn (const std::string &name) const
 Returns the type for the column at specified position.
const MetaColumnmetaColumn (std::size_t pos) const
 Returns the extractions vector.

Private Types

typedef Poco::SharedPtr
< StatementImpl
 Returns the type for the column with specified name.

Private Attributes

bool _executed
StatementImplPtr _ptr

Detailed Description

A Statement is used to execute SQL statements. It does not contain code of its own. Its main purpose is to forward calls to the concrete StatementImpl stored inside.

Definition at line 59 of file Statement.h.

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

Generated by  Doxygen 1.6.0   Back to index