00001 /* 00002 ***************************************************************** 00003 ***************************************************************** 00004 ******* ******** 00005 ******* (C) Copyright 1989-2007 by Tecplot Inc. ******** 00006 ******* All Rights Reserved. ******** 00007 ******* ******** 00008 ***************************************************************** 00009 ***************************************************************** 00010 */ 00011 #ifndef TECPLOT_TOOLBOX_STATECHANGEEVENTINTERFACE_H 00012 #define TECPLOT_TOOLBOX_STATECHANGEEVENTINTERFACE_H 00013 00014 #if defined MSWIN 00015 #pragma once 00016 #endif 00017 00018 #include <string> 00019 #include "TECADDON.h" 00020 #include "ToolboxFwd.h" 00021 00022 namespace tecplot 00023 { 00024 namespace toolbox 00025 { 00026 00034 class StateChangeEventInterface 00035 { 00036 public: 00037 virtual ~StateChangeEventInterface() {} 00038 00039 virtual const StateChangeEventInterface* clone() const = 0; 00040 00045 virtual bool hasIndex() const = 0; 00046 00051 virtual bool hasVarSet() const = 0; 00052 00057 virtual bool hasZoneSet() const = 0; 00058 00063 virtual bool hasArbEnum() const = 0; 00064 00069 virtual bool hasMap() const = 0; 00070 00075 virtual bool hasZone() const = 0; 00076 00081 virtual bool hasVar() const = 0; 00082 00087 virtual bool hasName() const = 0; 00088 00093 virtual bool hasPageUniqueID() const = 0; 00094 00099 virtual bool hasFrameUniqueID() const = 0; 00100 00105 virtual bool hasDataSetUniqueID() const = 0; 00106 00111 virtual bool hasUniqueID() const = 0; 00112 00117 virtual bool hasLineMapSet() const = 0; 00118 00123 virtual bool hasFieldMapSet() const = 0; 00124 00129 virtual bool hasStyleParams() const = 0; 00130 00135 virtual bool hasOffset1() const = 0; 00136 00141 virtual bool hasOffset2() const = 0; 00142 00143 00149 virtual StateChange_e getStateChange() const = 0; 00150 00166 virtual LgIndex_t getIndex() const = 0; 00167 00184 virtual const Set& getVarSet() const = 0; 00185 00213 virtual const Set& getZoneSet() const = 0; 00214 00232 virtual const Set& getLineMapSet() const = 0; 00233 00251 virtual const Set& getFieldMapSet() const = 0; 00252 00272 virtual LgIndex_t getArbEnum() const = 0; 00273 00291 virtual const StringList& getStyleParams() const = 0; 00292 00308 virtual std::string getStyleParam(int paramIndex) const = 0; 00309 00322 virtual EntIndex_t getMap() const = 0; 00323 00336 virtual EntIndex_t getZone() const = 0; 00337 00352 virtual EntIndex_t getVar() const = 0; 00353 00376 virtual std::string getName() const = 0; 00377 00410 virtual UniqueID_t getPageUniqueID() const = 0; 00411 00458 virtual UniqueID_t getFrameUniqueID() const = 0; 00459 00506 virtual UniqueID_t getDataSetUniqueID() const = 0; 00507 00524 virtual UniqueID_t getUniqueID() const = 0; 00525 00542 virtual LgIndex_t getOffset1() const = 0; 00543 00560 virtual LgIndex_t getOffset2() const = 0; 00561 }; 00562 00563 } 00564 } 00565 00566 #endif