VHISTlib
1.84.0.3018
|
00001 /* $HEADERS 00002 $Id: workflowtreenode.h 2179 2011-06-24 09:03:24Z ahuesgen $ 00003 */ 00004 00005 #ifndef WORKFLOWTREENODE_INCLUDED 00006 #define WORKFLOWTREENODE_INCLUDED 00007 00008 #include <QString> 00009 00010 #include "../shared/misc_defines.h" 00011 #include "diffdefines.h" 00012 #include "../unvhistlib/summary.h" 00013 00014 namespace vhist 00015 { 00016 00017 class VHIST_EXTERN WorkflowTreeNode 00018 { 00019 public: // construction & destruction 00020 WorkflowTreeNode(); 00021 WorkflowTreeNode(const WorkflowTreeNode& rhs); 00022 WorkflowTreeNode(NodeId nodeId, NodeId parentId, 00023 const Workflowstep& wfs, const QString& vhistfile, 00024 const QString& fileOnDisk); 00025 ~WorkflowTreeNode(); 00026 00027 WorkflowTreeNode& operator=(const WorkflowTreeNode& rhs); 00028 00029 public: // getter 00030 NodeId nodeId() const; 00031 NodeId parentId() const; 00032 const Workflowstep* workflowstep() const; 00033 QString vhistfile() const; 00034 QString fileOnDisk() const; 00035 00036 private: // member variables 00037 NodeId m_nodeId; 00038 NodeId m_parentId; 00039 Workflowstep m_wfs; 00040 QString m_vhistfile; 00041 QString m_fileOnDisk; 00042 }; 00043 00044 } // namespace vhist 00045 00046 #endif // WORKFLOWTREENODE_INCLUDED