// RoutineDesinDoc.h : interface of the CRoutineDesinDoc class // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_ROUTINEDESINDOC_H__C501269B_4B66_11D2_A01B_0080C81A042E__INCLUDED_) #define AFX_ROUTINEDESINDOC_H__C501269B_4B66_11D2_A01B_0080C81A042E__INCLUDED_ #if _MSC_VER >= 1000 #pragma once #endif // _MSC_VER >= 1000 typedef CTypedPtrMap CAttList; class COp : public CObject { public: COp(); DECLARE_SERIAL(COp) // Attributes public: CAttList AttList; // Operations public: // Implementation public: virtual ~COp(); virtual void Serialize(CArchive& ar); }; class CConstraint : public CObject { public: CConstraint(); DECLARE_SERIAL(CConstraint) // Attributes public: CString Name; CString FirstAttribute; CString SecondAttribute; CString LogicalOperator; // Operations public: // Implementation public: virtual ~CConstraint(); virtual void Serialize(CArchive& ar); }; class CAbstractClass : public CObject { public: CAbstractClass(); DECLARE_SERIAL(CAbstractClass) // Attributes public: CString Name; CString Parent; CConstraint* pConstraints; // Operations public: // Implementation public: virtual ~CAbstractClass(); virtual void Serialize(CArchive& ar); }; class CSpecialist : public CAbstractClass { public: CSpecialist(); DECLARE_SERIAL(CSpecialist) // Attributes public: CConstraint* pFinalConstraint; // CObjectiveFunction* pObjectiveFunction; // Operations public: // Implementation public: virtual ~CSpecialist(); virtual void Serialize(CArchive& ar); }; class CSponsor : public CObject { public: CSponsor(); DECLARE_SERIAL(CSponsor) // Attributes public: CObArray Rows; CString Result; // Operations public: // Implementation public: virtual ~CSponsor(); virtual void Serialize(CArchive& ar); }; class CPlan : public CAbstractClass { public: CPlan(); DECLARE_SERIAL(CPlan) // Attributes public: CSponsor* pSponsor; CStringArray AttList; CString PlanType; // Operations public: // Implementation public: virtual ~CPlan(); virtual void Serialize(CArchive& ar); }; class CTask : public CAbstractClass { public: CTask(); DECLARE_SERIAL(CTask) // Attributes public: // Operations public: // Implementation public: virtual ~CTask(); virtual void Serialize(CArchive& ar); }; class CExp : public CObject { public: CExp(); DECLARE_SERIAL(CExp) // Attributes public: CString Type; CString op; CString VarVal; double Value; // Operations public: // Implementation public: virtual ~CExp(); virtual void Serialize(CArchive& ar); }; class CColumn : public CObject { public: CColumn(); DECLARE_SERIAL(CColumn) // Attributes public: CString Operator; CString Attribute; CString Value; // Operations public: // Implementation public: virtual ~CColumn(); virtual void Serialize(CArchive& ar); }; class CRow : public CObject { public: CRow(); DECLARE_SERIAL(CRow) // Attributes public: CObArray Columns; // Array of CColumn CString Result; CObArray ExpList; // Operations public: // Implementation public: virtual ~CRow(); virtual void Serialize(CArchive& ar); }; class CEvaluationAgent : public CObject { public: CEvaluationAgent(); DECLARE_SERIAL(CEvaluationAgent) // Attributes public: CObArray Rows; // Array of CRow // Operations public: // Implementation public: virtual ~CEvaluationAgent(); virtual void Serialize(CArchive& ar); }; class CStep : public CAbstractClass { public: CStep(); DECLARE_SERIAL(CStep) // Attributes public: CString AttributeName; CEvaluationAgent* pEvaluationAgent; CStringArray AttList; // Operations public: // Implementation public: virtual ~CStep(); virtual void Serialize(CArchive& ar); }; class CPSAndSpec : public CObject { public: CPSAndSpec(); DECLARE_SERIAL(CPSAndSpec) // Attributes public: CString PS; CString TopSpec; // Operations public: // Implementation public: virtual ~CPSAndSpec(); virtual void Serialize(CArchive& ar); }; typedef CTypedPtrMap COpList; class CPSAndTask : public CObject { public: CPSAndTask(); DECLARE_SERIAL(CPSAndTask) // Attributes public: CString PS; CString Task; COpList OpList; // Operations public: // Implementation public: virtual ~CPSAndTask(); virtual void Serialize(CArchive& ar); }; class CAgent : public CObject { public: CAgent(); DECLARE_SERIAL(CAgent) // Attributes public: CString Name; CString AgentType; CString Parent; // Operations public: // Implementation public: virtual ~CAgent(); virtual void Serialize(CArchive& ar); }; class CAttribute : public CObject { public: CAttribute(); DECLARE_SERIAL(CAttribute) // Attributes public: CString Name; CString ClassType; BOOL HasNoInput; BOOL input; BOOL output; BOOL intermediate; BOOL both; BOOL db; CString Group; CStringList LegalValue; CString Question; CString Comment; CString Value; CStringList Values; // Operations public: // Implementation public: virtual ~CAttribute(); virtual void Serialize(CArchive& ar); }; class CObList1 : public CObList { public: CAgent * Lookup(CString str); }; class CObList0 : public CObject { public: CString Attribute; CString Value; CObList * Sons; POSITION Pos; }; class CNodeOfStack : public CObject { public: CNodeOfStack(); // Attributes public: CString AttributeName; CString Type; // Operations public: // Implementation public: virtual ~CNodeOfStack(); }; class CNode : public CObject { public: CNode(); // Attributes public: CString AttributeName; CString Value; // Operations public: // Implementation public: virtual ~CNode(); }; class CHItem : public CObject { public: CHItem(); // Attributes public: HTREEITEM hItem; // Operations public: // Implementation public: virtual ~CHItem(); }; class CInt : public CObject { public: CInt(); // Attributes public: int Sel; int Sol; // Operations public: // Implementation public: virtual ~CInt(); }; class CNodeTree : public CObject { public: CNodeTree(); // Attributes public: CNode* Node; CObList *SonList ; // Operations public: // Implementation public: virtual ~CNodeTree(); }; typedef CTypedPtrMap CSpecList; typedef CTypedPtrMap CPlanList; typedef CTypedPtrMap CTaskList; typedef CTypedPtrMap CStepList; typedef CTypedPtrMap CPSAndSpecList; typedef CTypedPtrMap CVarList; typedef CTypedPtrMap CTaskPSList; typedef CArray< HTREEITEM,HTREEITEM> Array; class CCase : public CObject { public: CCase(); // Attributes public: CString Case; CVarList VarList; // Operations void Serialize(CArchive& ar); public: // Implementation public: virtual ~CCase(); }; typedef CTypedPtrMap CCaseList; class CRoutineDesinDoc : public CDocument { public: CRoutineDesinDoc(); protected: // create from serialization only DECLARE_DYNCREATE(CRoutineDesinDoc) // Attributes public: CSpecList SpecList; CPlanList PlanList; CTaskList TaskList; CStepList StepList; CPSAndSpecList PSAndSpecList; CObList1 CollectionList; CVarList VarList; CCaseList CaseList; CStringList PSStringList; CTaskPSList TaskPSList; // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CRoutineDesinDoc) public: virtual BOOL OnNewDocument(); virtual void Serialize(CArchive& ar); //}}AFX_VIRTUAL // Implementation public: virtual ~CRoutineDesinDoc(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: //{{AFX_MSG(CRoutineDesinDoc) // NOTE - the ClassWizard will add and remove member functions here. // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Developer Studio will insert additional declarations immediately before the previous line. #endif // !defined(AFX_ROUTINEDESINDOC_H__C501269B_4B66_11D2_A01B_0080C81A042E__INCLUDED_)