1 // $Id: constraint_interface.h,v 1.5 2011/03/08 19:22:01 bobgian Exp $ 2 3 /* 4 * Copyright 2002 Peter Beerli, Mary Kuhner, Jon Yamato and Joseph Felsenstein 5 * 6 * This software is distributed free of charge for non-commercial use 7 * and is copyrighted. Of course, we do not guarantee that the software 8 * works, and are not responsible for any damage you may cause or have. 9 * 10 */ 11 12 #ifndef CONSTRAINT_INTERFACE_H 13 #define CONSTRAINT_INTERFACE_H 14 15 #include <string> 16 #include "setget.h" 17 18 class UIVars; 19 20 class uiParameterStatus : public SetGetIndividualParamstatus 21 { 22 public: 23 uiParameterStatus(); 24 virtual ~uiParameterStatus(); 25 virtual ParamStatus Get(UIVars& vars, UIId id); 26 virtual void Set(UIVars& vars, UIId id, ParamStatus val); 27 virtual string Description(UIVars& vars, UIId id); 28 }; 29 30 class uiAddParamToGroup : public SetGetNoval 31 { 32 public: 33 uiAddParamToGroup(); 34 virtual ~uiAddParamToGroup(); 35 virtual void Set(UIVars& vars, UIId id, noval val); 36 }; 37 38 class uiAddParamToNewGroup : public SetGetNoval 39 { 40 public: 41 uiAddParamToNewGroup(); 42 virtual ~uiAddParamToNewGroup(); 43 virtual void Set(UIVars& vars, UIId id, noval val); 44 }; 45 46 class uiRemoveParamFromGroup : public SetGetNoval 47 { 48 public: 49 uiRemoveParamFromGroup(); 50 virtual ~uiRemoveParamFromGroup(); 51 virtual void Set(UIVars& vars, UIId id, noval val); 52 }; 53 54 class uiGroupParameterStatus : public SetGetGroupParamstatus 55 { 56 public: 57 uiGroupParameterStatus(); 58 virtual ~uiGroupParameterStatus(); 59 virtual ParamStatus Get(UIVars& vars, UIId id); 60 virtual void Set(UIVars& vars, UIId id, ParamStatus val); 61 virtual string Description(UIVars& vars, UIId id); 62 }; 63 64 class uiGroupParameterList : public SetGetLongVec1d 65 { 66 public: 67 uiGroupParameterList(); 68 virtual ~uiGroupParameterList(); 69 virtual LongVec1d Get(UIVars& vars, UIId id); 70 virtual void Set(UIVars& vars, UIId id, LongVec1d val); 71 }; 72 73 class uiUngroupedParamsForOneForce : public GetUIIdVec1d 74 { 75 public: 76 uiUngroupedParamsForOneForce(); 77 virtual ~uiUngroupedParamsForOneForce(); 78 virtual UIIdVec1d Get(UIVars& vars, UIId id); 79 }; 80 81 class uiGroupedParamsForOneForce : public GetUIIdVec2d 82 { 83 public: 84 uiGroupedParamsForOneForce(); 85 virtual ~uiGroupedParamsForOneForce(); 86 virtual UIIdVec2d Get(UIVars& vars, UIId id); 87 }; 88 89 #endif // CONSTRAINT_INTERFACE_H 90 91 //____________________________________________________________________________________ 92