33 friend class Transaction;
66 void attachToTransaction();
67 void disconnectFromTransaction();
76 inline static constexpr std::string_view openCursorMethodName =
"Cursor::open";
77 inline static constexpr std::string_view closeCursorMethodName =
"Cursor::close";
78 inline static constexpr std::string_view renewCursorMethodName =
"Cursor::renew";
An object to manage cursor internals and state.
Definition cursorcommon.h:32
void renew()
Renews a cursor.
Definition cursorcommon.cpp:259
bool empty() const
Returns true if the cursor is empty.
Definition cursorcommon.cpp:333
static constexpr std::string_view nextMethodName
member function name, just for exceptions in heir
Definition cursorcommon.h:83
void reset()
A private method that turns cursor into an empty one.
Definition cursorcommon.cpp:113
void terminated()
A private function called to inform the cursor he has been terminated.
Definition cursorcommon.cpp:136
static constexpr std::string_view lastOperationName
member function name, just for exceptions in heir
Definition cursorcommon.h:89
State
Definition cursorcommon.h:35
@ openedPublic
Definition cursorcommon.h:37
@ closed
Definition cursorcommon.h:36
@ openedPrivate
Definition cursorcommon.h:38
static constexpr std::string_view prevMethodName
member function name, just for exceptions in heir
Definition cursorcommon.h:84
static constexpr std::string_view nextOperationName
member function name, just for exceptions in heir
Definition cursorcommon.h:90
void dropped()
A private method that turns cursor into an empty one.
Definition cursorcommon.cpp:126
static constexpr std::string_view setMethodName
member function name, just for exceptions in heir
Definition cursorcommon.h:86
static constexpr std::string_view lastMethodName
member function name, just for exceptions in heir
Definition cursorcommon.h:82
static constexpr std::string_view firstOperationName
member function name, just for exceptions in heir
Definition cursorcommon.h:88
static constexpr std::string_view prevOperationName
member function name, just for exceptions in heir
Definition cursorcommon.h:91
CursorCommon()
Creates a empty class.
Definition cursorcommon.cpp:41
void close()
Termiates a sequence of operations with the cursor.
Definition cursorcommon.cpp:161
static constexpr std::string_view currentOperationName
member function name, just for exceptions in heir
Definition cursorcommon.h:92
bool opened() const
Tells if the cursor is open.
Definition cursorcommon.cpp:340
void open()
Opens the cursor for operations.
Definition cursorcommon.cpp:192
static constexpr std::string_view firstMethodName
member function name, just for exceptions in heir
Definition cursorcommon.h:81
virtual ~CursorCommon() noexcept
Destroys this cursor.
Definition cursorcommon.cpp:82
static constexpr std::string_view currentMethodName
member function name, just for exceptions in heir
Definition cursorcommon.h:85
Storage interface.
Definition storagecommon.h:34
Public read only transaction.
Definition transaction.h:27
Destroys a cache.
Definition base.h:36