DumontEXE 0.0.1
Public Slots | Public Member Functions
cmcViewDefs Class Reference

Form Definition Collection. More...

#include <cmcViewDefs.h>

Inheritance diagram for cmcViewDefs:

List of all members.

Public Slots

cmcCategoryDefcategoryDef ()
 Reference to Category Definition.
QString categoryName ()
 Reference to Category Name.
virtual long count ()
 Number of items in the collection.
cmcViewDefget (const QString &name)
 Get an item by item name.
cmcViewDefget (long index)
 Get an item by index number.

Public Member Functions

 cmcViewDefs (const cmcViewDefs &copy)
 Copy Constructor.
 cmcViewDefs (cmcCategoryDef *categoryDef)
 Standard Constructor.
virtual ~cmcViewDefs ()
 Standard Destructor.

Detailed Description

Form Definition Collection.

Definition at line 43 of file cmcViewDefs.h.

Constructor & Destructor Documentation

cmcViewDefs ( const cmcViewDefs copy)

Copy Constructor.

Definition at line 36 of file cmcViewDefs.cpp.

cmcViewDefs ( cmcCategoryDef categoryDef)

Standard Constructor.

Definition at line 41 of file cmcViewDefs.cpp.

~cmcViewDefs ( ) [virtual]

Standard Destructor.

Definition at line 58 of file cmcViewDefs.cpp.

Member Function Documentation

cmcCategoryDef * categoryDef ( void  ) [slot]

Reference to Category Definition.

Definition at line 68 of file cmcViewDefs.cpp.

QString categoryName ( void  ) [slot]

Reference to Category Name.

Definition at line 63 of file cmcViewDefs.cpp.

long count ( void  ) [virtual, slot]

Number of items in the collection.

Reimplemented from cmcObjects.

Definition at line 73 of file cmcViewDefs.cpp.

cmcViewDef * get ( const QString &  name) [slot]

Get an item by item name.

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 79 of file cmcViewDefs.cpp.

cmcViewDef * get ( long  index) [slot]

Get an item by index number.

Reimplemented from cmcObjects.

Definition at line 92 of file cmcViewDefs.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
~ ~ ~ ~ ~ ~
Author: Mark Petryk
Lorimark Solutions, LLC