DumontEXE 0.0.1
Public Slots | Public Member Functions
cmcForms Class Reference

Form Collection. More...

#include <cmcForms.h>

Inheritance diagram for cmcForms:

List of all members.

Public Slots

virtual long count ()
 Number of items in the collection.
virtual cmcFormget (long index)
 Get an item by index number.
virtual cmcFormget (const QString &name)
 Get an item by item name.

Public Member Functions

virtual ~cmcForms ()
 destructor

Detailed Description

Form Collection.

Definition at line 44 of file cmcForms.h.


Constructor & Destructor Documentation

~cmcForms ( ) [virtual]

destructor

Definition at line 41 of file cmcForms.cpp.


Member Function Documentation

long count ( void  ) [virtual, slot]

Number of items in the collection.

Reimplemented from cmcObjects.

Definition at line 54 of file cmcForms.cpp.

cmcForm * get ( long  index) [virtual, slot]

Get an item by index number.

Reimplemented from cmcObjects.

Definition at line 59 of file cmcForms.cpp.

cmcForm * get ( const QString &  name) [virtual, slot]

Get an item by item name.

Bug:
This function searches, first, the object names to find a match for an item. If an item could not be found, then it searches for an item by its alias name. This, however, is a problem, because upon requesting the alias name, some of the xml code starts to run. The problem with this is, this xml code is running before we have the object document fully initialized. Therefore, we have split the search for the object name vs the alias name up into two separate searches. This way, when the object is first initializing we can pretty much count on that we are going to request an item NOT by its alias name, and that this request is going to come at the point of object initialization. This is safe. The object gets constructed, the document gets loaded, and the world is fine. After the object is loaded then regular alias searches can proceed without any trouble. Ideally, however, we would prefer that the xml system didn't suffer from this sort of anomoly, since we're really not sure why its a problem to request dom stuff before the document is loaded. It might be because we are caching dom elements and then ruining the cached items by reloading the document. Need to work on this. It is probably going to cause a problem in the system when dumont is used on an application that is not CDA Readyness.

Reimplemented from cmcObjects.

Definition at line 67 of file cmcForms.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