akregator
c4_RowRef Class Reference
#include <mk4.h>

Detailed Description
Reference to a data row, can be used on either side of an assignment.Row references are created when dereferencing a c4_Cursor or when indexing an element of a c4_View. Assignment will change the corresponding item. Rows (objects of type c4_Row) are a special case of row references, consisting of a view with exactly one item.
Internally, row references are very similar to cursors, in fact they are little more than a wrapper around them. The essential difference is one of semantics: comparing row references compares contents, copying row references copies the contents, whereas cursor comparison and copying deals with the pointer to the row, not its contents.
Definition at line 438 of file mk4.h.
Public Member Functions | |
| c4_View | Container () const |
| c4_Cursor | operator & () const |
| c4_RowRef | operator= (const c4_RowRef &) |
Protected Member Functions | |
| c4_RowRef (c4_Cursor) | |
Constructor & Destructor Documentation
| c4_RowRef::c4_RowRef | ( | c4_Cursor | ) | [protected] |
Constructor, not for general use.
Member Function Documentation
| c4_View c4_RowRef::Container | ( | ) | const |
Return the underlying container view.
| c4_Cursor c4_RowRef::operator & | ( | ) | const |
Return the cursor associated to this row.
The documentation for this class was generated from the following file:
KDE 4.2 API Reference