head	1.1;
access;
symbols
	REL7_3_STABLE:1.1.0.2;
locks; strict;
comment	@# @;


1.1
date	2002.08.10.21.03.37;	author jtv;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Added Ray Dassen's Debian stuff, autoconf updates, and .cvsignore files;
added doxygen-generated reference documentation
@
text
@<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>nontransaction.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.2.16 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>nontransaction.h</h1><a href="nontransaction_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="comment">/*-------------------------------------------------------------------------</font>
00002 <font class="comment"> *</font>
00003 <font class="comment"> *   FILE</font>
00004 <font class="comment"> *      pqxx/nontransaction.h</font>
00005 <font class="comment"> *</font>
00006 <font class="comment"> *   DESCRIPTION</font>
00007 <font class="comment"> *      definition of the pqxx::NonTransaction class.</font>
00008 <font class="comment"> *   pqxx::NonTransaction provides nontransactional database access</font>
00009 <font class="comment"> *</font>
00010 <font class="comment"> * Copyright (c) 2002, Jeroen T. Vermeulen &lt;jtv@@xs4all.nl&gt;</font>
00011 <font class="comment"> *</font>
00012 <font class="comment"> *-------------------------------------------------------------------------</font>
00013 <font class="comment"> */</font>
00014 <font class="preprocessor">#ifndef PQXX_NONTRANSACTION_H</font>
00015 <font class="preprocessor"></font><font class="preprocessor">#define PQXX_NONTRANSACTION_H</font>
00016 <font class="preprocessor"></font>
00017 <font class="preprocessor">#include "<a class="code" href="connection_8h.html">pqxx/connection.h</a>"</font>
00018 <font class="preprocessor">#include "<a class="code" href="result_8h.html">pqxx/result.h</a>"</font>
00019 <font class="preprocessor">#include "<a class="code" href="transactionitf_8h.html">pqxx/transactionitf.h</a>"</font>
00020 
00021 <font class="comment">/* Methods tested in eg. self-test program test1 are marked with "//[t1]"</font>
00022 <font class="comment"> */</font>
00023 
00024 
00025 <font class="keyword">namespace </font>pqxx
00026 {
00028 
<a name="l00035"></a><a class="code" href="classpqxx_1_1NonTransaction.html">00035</a> <font class="keyword">class </font><a class="code" href="compiler_8h.html#a0">PQXX_LIBEXPORT</a> <a class="code" href="classpqxx_1_1NonTransaction.html">NonTransaction</a> : <font class="keyword">public</font> <a class="code" href="classpqxx_1_1TransactionItf.html">TransactionItf</a>
00036 {
00037 <font class="keyword">public</font>:
00039 
<a name="l00044"></a><a class="code" href="classpqxx_1_1NonTransaction.html#a0">00044</a>   <font class="keyword">explicit</font> <a class="code" href="classpqxx_1_1NonTransaction.html">NonTransaction</a>(<a class="code" href="classpqxx_1_1Connection.html">Connection</a> &amp;C, 
00045                           PGSTD::string NName=PGSTD::string()) :        <font class="comment">//[t14]</font>
00046     <a class="code" href="classpqxx_1_1TransactionItf.html">TransactionItf</a>(C, NName) { Begin(); }
00047 
00048   <font class="keyword">virtual</font> ~NonTransaction();                                            <font class="comment">//[t14]</font>
00049 
00050 <font class="keyword">private</font>:
00051   <font class="keyword">virtual</font> <font class="keywordtype">void</font> DoBegin() {}                                             <font class="comment">//[t14]</font>
00052   <font class="keyword">virtual</font> Result DoExec(<font class="keyword">const</font> <font class="keywordtype">char</font> C[]);                                <font class="comment">//[t14]</font>
00053   <font class="keyword">virtual</font> <font class="keywordtype">void</font> DoCommit() {}                                            <font class="comment">//[t14]</font>
00054   <font class="keyword">virtual</font> <font class="keywordtype">void</font> DoAbort() {}                                             <font class="comment">//[t20]</font>
00055 };
00056 
00057 }
00058 
00059 <font class="preprocessor">#endif</font>
00060 <font class="preprocessor"></font>
</pre></div><hr><address align="right"><small>Generated on Sat Aug 10 21:52:38 2002 for libpqxx by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 
width=110 height=53></a>1.2.16 </small></address>
</body>
</html>
@
