5 #ifndef ODB_SECTION_HXX
6 #define ODB_SECTION_HXX
11 #include <odb/details/export.hxx>
21 loaded ()
const {
return state_.loaded;}
83 if (t != 0 && !state_.armed)
85 t->callback_register (&transacion_callback,
86 const_cast<section*> (
this));
90 state_.restore = (t != 0);
98 transacion_callback (
unsigned short,
void* key,
unsigned long long);
103 unsigned char loaded : 1;
104 unsigned char changed : 1;
105 unsigned char armed : 1;
106 unsigned char restore: 1;
107 unsigned char user : 4;
114 #endif // ODB_SECTION_HXX
section()
Definition: section.hxx:58
Definition: transaction.hxx:22
~section()
Definition: section.hxx:66
void change()
Definition: section.hxx:43
unsigned char user_data() const
Definition: section.hxx:52
bool loaded() const
Definition: section.hxx:21
void reset(bool l=false, bool c=false, transaction *t=0) const
Definition: section.hxx:78
bool changed() const
Definition: section.hxx:38
void user_data(unsigned char u)
Definition: section.hxx:55
Definition: section.hxx:15
void unload()
Definition: section.hxx:28