Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

OmgGuid Class Reference
[Library]

#include <omgguid.h>

Inheritance diagram for OmgGuid:

Inheritance graph
[legend]
Collaboration diagram for OmgGuid:

Collaboration graph
[legend]
List of all members.

Detailed Description

An abstract base class for any class that has a globally unique identifier (GUID) to represent a unique instance.

Author:
Tim Sutton

Definition at line 28 of file omgguid.h.

Public Member Functions

 OmgGuid ()
virtual ~OmgGuid ()
QString guid () const
void setGuid (QString theGuid="")

Private Attributes

QString mGuid


Constructor & Destructor Documentation

OmgGuid::OmgGuid  ) 
 

Constructor .

Definition at line 21 of file omgguid.cpp.

References mGuid.

OmgGuid::~OmgGuid  )  [virtual]
 

Desctructor .

Definition at line 25 of file omgguid.cpp.


Member Function Documentation

QString OmgGuid::guid  )  const
 

Retrieve the globally unique identifier

Definition at line 28 of file omgguid.cpp.

References mGuid.

Referenced by OmgAlgorithmSet::getAlgorithm(), OmgExperiment::getModel(), OmgExperiment::OmgExperiment(), OmgExperimentDesigner::OmgExperimentDesigner(), OmgLayerSetManager::on_pbnApply_clicked(), OmgLayerSetManager::on_toolCopy_clicked(), OmgRasterThreshold::populateTree(), OmgMainWindow::populateTree(), OmgAlgorithmManager::refreshAlgorithmTable(), OmgLayerSetManager::refreshLayerSetTable(), OmguiTest::regression1728367(), OmgExperiment::removeModel(), OmgExperiment::run(), OmgLayerSet::save(), OmgExperiment::save(), OmgAlgorithmSet::saveAlgorithms(), OmgExperimentTest::saveAndLoadExperiment(), OmgModelTest::saveAndLoadModel(), OmgModel::toHtml(), OmgAlgorithm::toHtml(), OmgLayerSet::toString(), OmgAlgorithm::toString(), OmgModel::toXml(), OmgLayerSet::toXml(), OmgExperiment::toXml(), and OmgAlgorithm::toXml().

void OmgGuid::setGuid QString  theGuid = ""  ) 
 

Set the globally unique identifier for this object. If no Parameter is passed a guid will be self assigned

Parameters:
theGuid - a guid for this model

Definition at line 33 of file omgguid.cpp.

References mGuid.

Referenced by OmgModel::fromXml(), OmgLayerSet::fromXml(), OmgExperiment::fromXml(), OmgAlgorithm::fromXml(), OmgModellerLocalPlugin::getAlgorithm(), OmgExperimentDesigner::getExperiment(), OmgExperiment::OmgExperiment(), OmgLayerSetManager::on_pbnApply_clicked(), OmgAlgorithmManager::on_pbnClone_clicked(), OmgLayerSetManager::on_pbnImport_clicked(), OmgLayerSetManager::on_toolCopy_clicked(), and OmgLayerSetManager::on_toolNew_clicked().


Member Data Documentation

QString OmgGuid::mGuid [private]
 

A globally unique identifier for this model

Definition at line 44 of file omgguid.h.

Referenced by guid(), OmgGuid(), and setGuid().


The documentation for this class was generated from the following files:
Generated on Mon Apr 28 15:13:15 2008 for openModellerDesktop by  doxygen 1.4.1-20050210