YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
DatabaseTransaction.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_DATABASETRANSACTION_HPP
2
# define YAPOG_DATABASETRANSACTION_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/System/IO/IWriter.hpp
"
6
# include "
YAPOG/System/IO/IReader.hpp
"
7
# include "
pgstream/pgstream.hpp
"
8
9
namespace
yap
10
{
11
class
YAPOG_LIB
DatabaseTransaction
12
{
13
DISALLOW_COPY
(
DatabaseTransaction
);
14
public
:
15
DatabaseTransaction
(
pgs::pg_cnx
& databaseConnection);
16
19
void
Commit();
20
void
RollBack();
22
23
private
:
24
pgs::pg_trans
transaction_
;
25
};
26
}
// namespace yap
27
28
#endif // YAPOG_DATABASETRANSACTION_HPP
YAPOG
include
YAPOG
Database
DatabaseTransaction.hpp
Generated on Mon Sep 17 2012 22:24:22 for YAPOG by
1.8.1.1