• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

akregator

c4_RowRef Class Reference

#include <mk4.h>

Inheritance diagram for c4_RowRef:

Inheritance graph
[legend]

List of all members.


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.

c4_RowRef c4_RowRef::operator= ( const c4_RowRef &   ) 

Assign the value of another row to this one.

Reimplemented in c4_Row.


The documentation for this class was generated from the following file:
  • mk4.h

akregator

Skip menu "akregator"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal