DumontEXE 0.0.1
Public Slots | Public Member Functions
cmcCdaItem Class Reference

Commence CDA Item. More...

#include <cmcCdaItem.h>

Inheritance diagram for cmcCdaItem:

List of all members.

Public Slots

virtual cmcCdacda ()
 cda engine reference
virtual cmcCursorgetCursor ()
 Return a cursor for this item.
virtual QUuid id ()
 Return the item ID.
virtual cmcCdaItemparentItem ()
 Return a reference to the parent item.

Public Member Functions

 cmcCdaItem (QObject *parent=NULL)
 empty constructor
 cmcCdaItem (const QUuid &uuid, cmcCda *cda, cmcCdaItem *parent=NULL)
 Item ID Constructor.
 cmcCdaItem (const QString &name, cmcCda *cda, cmcCdaItem *parent=NULL)
 Item Name Constructor.
virtual ~cmcCdaItem ()
 Default Destructor.

Detailed Description

Commence CDA Item.

Definition at line 47 of file cmcCdaItem.h.


Constructor & Destructor Documentation

cmcCdaItem ( QObject *  parent = NULL)

empty constructor

Definition at line 49 of file cmcCdaItem.cpp.

cmcCdaItem ( const QString &  name,
cmcCda cda,
cmcCdaItem parent = NULL 
)

Item Name Constructor.

This constructor is used when we know the name of the item, but we do not know the guid of the item.

Definition at line 60 of file cmcCdaItem.cpp.

cmcCdaItem ( const QUuid &  uuid,
cmcCda cda,
cmcCdaItem parent = NULL 
)

Item ID Constructor.

This constructor is used when we know the guid of the item. We might also know the name of the item, but the guid method of item-fetch is preferred since it's more reliable.

Definition at line 83 of file cmcCdaItem.cpp.

~cmcCdaItem ( ) [virtual]

Default Destructor.

Definition at line 106 of file cmcCdaItem.cpp.


Member Function Documentation

cmcCda * cda ( ) [virtual, slot]

cda engine reference

This makes reference back to the cda engine. Every item references an engine, which provides the connectivity to the database.

Definition at line 116 of file cmcCdaItem.cpp.

cmcCursor * getCursor ( ) [virtual, slot]

Return a cursor for this item.

This returned cursor is automatically filtered on this item. The filter is based upon either the itemName or the id.

Definition at line 399 of file cmcCdaItem.cpp.

QUuid id ( ) [virtual, slot]

Return the item ID.

Definition at line 147 of file cmcCdaItem.cpp.

cmcCdaItem * parentItem ( ) [virtual, slot]

Return a reference to the parent item.

Not every item has a parent - it's not required.

Definition at line 152 of file cmcCdaItem.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties




~ ~ ~ ~ ~ ~
Source Code without Comments is like a Cranberry Garland
without the berries. Comment your Code!
 
Commence Database User Support Group Forum
http://newsgroup.showoff-db.org/
~ ~ ~ ~ ~ ~
Author: Mark Petryk
Lorimark Solutions, LLC
mark@lorimarksolutions.com