SimulationInspectorWare.hpp
Go to the documentation of this file.
1 /*
2 
3  This file is part of OpenFLUID software
4  Copyright(c) 2007, INRA - Montpellier SupAgro
5 
6 
7  == GNU General Public License Usage ==
8 
9  OpenFLUID is free software: you can redistribute it and/or modify
10  it under the terms of the GNU General Public License as published by
11  the Free Software Foundation, either version 3 of the License, or
12  (at your option) any later version.
13 
14  OpenFLUID is distributed in the hope that it will be useful,
15  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  GNU General Public License for more details.
18 
19  You should have received a copy of the GNU General Public License
20  along with OpenFLUID. If not, see <http://www.gnu.org/licenses/>.
21 
22 
23  == Other Usage ==
24 
25  Other Usage means a use of OpenFLUID that is inconsistent with the GPL
26  license, and requires a written agreement between You and INRA.
27  Licensees for Other Usage of OpenFLUID may use this file in accordance
28  with the terms contained in the written agreement between You and INRA.
29 
30 */
31 
32 
33 /**
34  @file SimulationInspectorWare.hpp
35 
36  @author Jean-Christophe FABRE <jean-christophe.fabre@supagro.inra.fr>
37  */
38 
39 
40 #ifndef __OPENFLUID_WARE_SIMULATIONINSPECTORWARE_HPP__
41 #define __OPENFLUID_WARE_SIMULATIONINSPECTORWARE_HPP__
42 
43 #include <openfluid/dllexport.hpp>
49 
50 
51 namespace openfluid { namespace ware {
52 
53 
55 {
56  private:
57 
58  static bool IsUnitIDInPtrList(const openfluid::core::UnitsPtrList_t* UnitsList,
59  const openfluid::core::UnitID_t& ID);
60 
61 
62  openfluid::core::Datastore* mp_Datastore;
63 
64 
65  protected:
66 
67  // TODO check if const
68  /**
69  Pointer to the spatial graph. It should be used with care. Prefer using the OPENFLUID_Xxxx methods.
70  */
72 
73 
74  virtual bool isLinked() const
75  { return (SimulationDrivenWare::isLinked() && mp_SpatialData != nullptr && mp_Datastore != nullptr); };
76 
77 
78  /**
79  Returns true if a distributed attribute exists, false otherwise
80  @param[in] UnitPtr a Unit
81  @param[in] AttrName the name of the queried attribute
82  */
83  bool OPENFLUID_IsAttributeExist(const openfluid::core::SpatialUnit *UnitPtr,
84  const openfluid::core::AttributeName_t& AttrName) const;
85 
86 
87  /**
88  Gets attribute for a unit
89  @param[in] UnitPtr a Unit
90  @param[in] AttrName the name of the requested attribute
91  @param[out] Val the value of the requested attribute
92  */
93  void OPENFLUID_GetAttribute(const openfluid::core::SpatialUnit *UnitPtr,
94  const openfluid::core::AttributeName_t& AttrName,
95  openfluid::core::Value& Val) const;
96 
97  // TODO
98 #if 0
99  /**
100  Gets attribute for a unit, as a StringValue
101  @param[in] UnitPtr a Unit
102  @param[in] AttrName the name of the requested attribute
103  @param[out] Val the value of the requested attribute
104  */
105  void OPENFLUID_GetAttribute(const openfluid::core::SpatialUnit *UnitPtr,
106  const openfluid::core::AttributeName_t& AttrName,
107  openfluid::core::StringValue& Val) const;
108 
109  /**
110  Gets attribute for a unit, as a DoubleValue
111  @param[in] UnitPtr a Unit
112  @param[in] AttrName the name of the requested attribute
113  @param[out] Val the value of the requested attribute
114  */
115  void OPENFLUID_GetAttribute(const openfluid::core::SpatialUnit *UnitPtr,
116  const openfluid::core::AttributeName_t& AttrName,
117  openfluid::core::DoubleValue& Val) const;
118 
119  /**
120  Gets attribute for a unit, as a VectorValue
121  @param[in] UnitPtr a Unit
122  @param[in] AttrName the name of the requested attribute
123  @param[out] Val the value of the requested attribute
124  */
125  void OPENFLUID_GetAttribute(const openfluid::core::SpatialUnit *UnitPtr,
126  const openfluid::core::AttributeName_t& AttrName,
127  openfluid::core::VectorValue& Val) const;
128 
129  /**
130  Gets attribute for a unit, as a MatrixValue
131  @param[in] UnitPtr a Unit
132  @param[in] AttrName the name of the requested attribute
133  @param[out] Val the value of the requested attribute
134  */
135  void OPENFLUID_GetAttribute(const openfluid::core::SpatialUnit *UnitPtr,
136  const openfluid::core::AttributeName_t& AttrName,
137  openfluid::core::MatrixValue& Val) const;
138 #endif
139  /**
140  Gets attribute for a unit, as a double
141  @param[in] UnitPtr a Unit
142  @param[in] AttrName the name of the requested attribute
143  @param[out] Val the value of the requested attribute
144  */
145  void OPENFLUID_GetAttribute(const openfluid::core::SpatialUnit *UnitPtr,
146  const openfluid::core::AttributeName_t& AttrName,
147  double& Val) const;
148 
149  /**
150  Gets attribute for a unit, as a long integer
151  @param[in] UnitPtr a Unit
152  @param[in] AttrName the name of the requested attribute
153  @param[out] Val the value of the requested attribute
154  */
155  void OPENFLUID_GetAttribute(const openfluid::core::SpatialUnit *UnitPtr,
156  const openfluid::core::AttributeName_t& AttrName,
157  long& Val) const;
158 
159  /**
160  Gets attribute for a unit, as a string
161  @param[in] UnitPtr a Unit
162  @param[in] AttrName the name of the requested attribute
163  @param[out] Val the value of the requested attribute
164  */
165  void OPENFLUID_GetAttribute(const openfluid::core::SpatialUnit *UnitPtr,
166  const openfluid::core::AttributeName_t& AttrName,
167  std::string& Val) const;
168 
169  /**
170  Returns attribute for a unit, as a StringValue
171  @param[in] UnitPtr a Unit
172  @param[in] AttrName the name of the requested attribute
173  @return constant pointer to the value of the requested attribute
174  */
175  const openfluid::core::Value* OPENFLUID_GetAttribute(const openfluid::core::SpatialUnit *UnitPtr,
176  const openfluid::core::AttributeName_t& AttrName) const;
177 
178  /**
179  Returns true if a distributed variable exists, false otherwise
180  @param[in] UnitPtr a Unit
181  @param[in] VarName the name of the requested variable
182  */
183  bool OPENFLUID_IsVariableExist(const openfluid::core::SpatialUnit *UnitPtr,
184  const openfluid::core::VariableName_t& VarName) const;
185 
186  /**
187  Returns true if a distributed variable exists and if a value has been set for the given index, false otherwise
188  @param[in] UnitPtr a Unit
189  @param[in] VarName the name of the requested variable
190  @param[in] Index the time index for the value of the variable
191  */
192  bool OPENFLUID_IsVariableExist(const openfluid::core::SpatialUnit *UnitPtr,
193  const openfluid::core::VariableName_t& VarName,
194  const openfluid::core::TimeIndex_t Index) const;
195 
196  /**
197  Returns true if a distributed variable exists and if a value has been set for the given index
198  and if the value type is the given type, false otherwise
199  @param[in] UnitPtr a Unit
200  @param[in] VarName the name of the requested variable
201  @param[in] Index the time index for the value of the variable
202  @param[in] ValueType the type of the value
203  */
204  bool OPENFLUID_IsVariableExist(const openfluid::core::SpatialUnit *UnitPtr,
205  const openfluid::core::VariableName_t& VarName,
206  const openfluid::core::TimeIndex_t Index,
207  const openfluid::core::Value::Type ValueType) const;
208 
209  /**
210  Returns true if a distributed variable exists
211  and if the type set for this variable is the given type, false otherwise
212  @param[in] UnitPtr a Unit
213  @param[in] VarName the name of the requested variable
214  @param[in] VarType the type of the variable
215  */
216  bool OPENFLUID_IsTypedVariableExist(const openfluid::core::SpatialUnit *UnitPtr,
217  const openfluid::core::VariableName_t& VarName,
218  const openfluid::core::Value::Type VarType) const;
219 
220  /**
221  Returns true if a distributed variable exists and if a value has been set for the given index
222  and if the type set for this variable is the given type, false otherwise
223  @param[in] UnitPtr a Unit
224  @param[in] VarName the name of the requested variable
225  @param[in] Index the time index for the value of the variable
226  @param[in] VarType the type of the variable
227  */
228  bool OPENFLUID_IsTypedVariableExist(const openfluid::core::SpatialUnit *UnitPtr,
229  const openfluid::core::VariableName_t& VarName,
230  const openfluid::core::TimeIndex_t Index,
231  const openfluid::core::Value::Type VarType) const;
232 
233  /**
234  Gets the distributed variable value for a unit at a time index
235  @param[in] UnitPtr a Unit
236  @param[in] VarName the name of the requested variable
237  @param[in] Index the time index for the value of the requested variable
238  @param[out] Val the value of the requested variable
239  */
240  void OPENFLUID_GetVariable(const openfluid::core::SpatialUnit* UnitPtr,
241  const openfluid::core::VariableName_t& VarName,
242  const openfluid::core::TimeIndex_t Index,
243  openfluid::core::Value& Val) const;
244 
245  /**
246  Gets the distributed variable value for a unit at a time index
247  @param[in] UnitPtr a Unit
248  @param[in] VarName the name of the requested variable
249  @param[in] Index the time index for the value of the requested variable
250  @param[out] Val the value of the requested variable
251  */
252  void OPENFLUID_GetVariable(const openfluid::core::SpatialUnit* UnitPtr,
253  const openfluid::core::VariableName_t& VarName,
254  const openfluid::core::TimeIndex_t Index,
255  double& Val) const;
256 
257  /**
258  Gets the distributed variable value for a unit at a time index
259  @param[in] UnitPtr a Unit
260  @param[in] VarName the name of the requested variable
261  @param[in] Index the time index for the value of the requested variable
262  @param[out] Val the value of the requested variable
263  */
264  void OPENFLUID_GetVariable(const openfluid::core::SpatialUnit* UnitPtr,
265  const openfluid::core::VariableName_t& VarName,
266  const openfluid::core::TimeIndex_t Index,
267  long& Val) const;
268 
269  /**
270  Gets the distributed variable value for a unit at a time index
271  @param[in] UnitPtr a Unit
272  @param[in] VarName the name of the requested variable
273  @param[in] Index the time index for the value of the requested variable
274  @param[out] Val the value of the requested variable
275  */
276  void OPENFLUID_GetVariable(const openfluid::core::SpatialUnit* UnitPtr,
277  const openfluid::core::VariableName_t& VarName,
278  const openfluid::core::TimeIndex_t Index,
279  bool& Val) const;
280 
281  /**
282  Gets the distributed variable value for a unit at a time index
283  @param[in] UnitPtr a Unit
284  @param[in] VarName the name of the requested variable
285  @param[in] Index the time index for the value of the requested variable
286  @param[out] Val the value of the requested variable
287  */
288  void OPENFLUID_GetVariable(const openfluid::core::SpatialUnit* UnitPtr,
289  const openfluid::core::VariableName_t& VarName,
290  const openfluid::core::TimeIndex_t Index,
291  std::string& Val) const;
292 
293  /**
294  Returns the distributed variable value for a unit at a time index
295  @param[in] UnitPtr a Unit
296  @param[in] VarName the name of the requested variable
297  @param[in] Index the time index for the value of the requested variable
298  @return a constant pointer the value of the requested variable
299  */
300  const openfluid::core::Value* OPENFLUID_GetVariable(const openfluid::core::SpatialUnit* UnitPtr,
301  const openfluid::core::VariableName_t& VarName,
302  const openfluid::core::TimeIndex_t Index) const;
303 
304  /**
305  Gets the distributed variable value for a unit at the current time index
306  @param[in] UnitPtr a Unit
307  @param[in] VarName the name of the requested variable
308  @param[out] Val the value of the requested variable
309  */
310  void OPENFLUID_GetVariable(const openfluid::core::SpatialUnit* UnitPtr,
311  const openfluid::core::VariableName_t& VarName,
312  openfluid::core::Value& Val) const;
313 
314  /**
315  Gets the distributed variable value for a unit at the current time index
316  @param[in] UnitPtr a Unit
317  @param[in] VarName the name of the requested variable
318  @param[out] Val the value of the requested variable
319  */
320  void OPENFLUID_GetVariable(const openfluid::core::SpatialUnit* UnitPtr,
321  const openfluid::core::VariableName_t& VarName,
322  double& Val) const;
323 
324  /**
325  Gets the distributed variable value for a unit at the current time index
326  @param[in] UnitPtr a Unit
327  @param[in] VarName the name of the requested variable
328  @param[out] Val the value of the requested variable
329  */
330  void OPENFLUID_GetVariable(const openfluid::core::SpatialUnit* UnitPtr,
331  const openfluid::core::VariableName_t& VarName,
332  long& Val) const;
333 
334  /**
335  Gets the distributed variable value for a unit at the current time index
336  @param[in] UnitPtr a Unit
337  @param[in] VarName the name of the requested variable
338  @param[out] Val the value of the requested variable
339  */
340  void OPENFLUID_GetVariable(const openfluid::core::SpatialUnit* UnitPtr,
341  const openfluid::core::VariableName_t& VarName,
342  bool& Val) const;
343 
344  /**
345  Gets the distributed variable value for a unit at the current time index
346  @param[in] UnitPtr a Unit
347  @param[in] VarName the name of the requested variable
348  @param[out] Val the value of the requested variable
349  */
350  void OPENFLUID_GetVariable(const openfluid::core::SpatialUnit* UnitPtr,
351  const openfluid::core::VariableName_t& VarName,
352  std::string& Val) const;
353 
354  /**
355  Returns the distributed variable value for a unit at the current time index
356  @param[in] UnitPtr a Unit
357  @param[in] VarName the name of the requested variable
358  @return a constant pointer the value of the requested variable
359  */
360  const openfluid::core::Value* OPENFLUID_GetVariable(const openfluid::core::SpatialUnit* UnitPtr,
361  const openfluid::core::VariableName_t& VarName) const;
362 
363 
364  /**
365  Gets the latest available variable for a unit
366  @param[in] UnitPtr a Unit
367  @param[in] VarName the name of the requested variable
368  @param[out] IndVal the value and timeindex of the requested variable
369  */
370  void OPENFLUID_GetLatestVariable(const openfluid::core::SpatialUnit* UnitPtr,
371  const openfluid::core::VariableName_t& VarName,
372  openfluid::core::IndexedValue& IndVal) const;
373 
374  /**
375  Returns the latest available variable for a unit
376  @param[in] UnitPtr a Unit
377  @param[in] VarName the name of the requested variable
378  @return the value and timeindex of the requested variable
379  */
380  openfluid::core::IndexedValue OPENFLUID_GetLatestVariable(const openfluid::core::SpatialUnit* UnitPtr,
381  const openfluid::core::VariableName_t& VarName) const;
382 
383 
384  /**
385  Gets the latest available variables for a unit since the given time index
386  @param[in] UnitPtr a Unit
387  @param[in] VarName the name of the requested variable
388  @param[in] BeginIndex The beginning time index of the search period
389  @param[out] IndValList the list of time-indexed values of the requested variable
390  */
391  void OPENFLUID_GetLatestVariables(const openfluid::core::SpatialUnit* UnitPtr,
392  const openfluid::core::VariableName_t& VarName,
393  const openfluid::core::TimeIndex_t BeginIndex,
394  openfluid::core::IndexedValueList& IndValList) const;
395 
396  /**
397  Returns the latest available variables for a unit since the given time index
398  @param[in] UnitPtr a Unit
399  @param[in] VarName the name of the requested variable
400  @param[in] BeginIndex The beginning time index of the search period
401  @return the list of time-indexed values of the requested variable
402  */
403  openfluid::core::IndexedValueList OPENFLUID_GetLatestVariables(const openfluid::core::SpatialUnit* UnitPtr,
404  const openfluid::core::VariableName_t& VarName,
405  const openfluid::core::TimeIndex_t BeginIndex) const;
406 
407  /**
408  Gets the available variables for a unit during a given period (between two time indexes)
409  @param[in] UnitPtr a Unit
410  @param[in] VarName the name of the requested variable
411  @param[in] BeginIndex the time index for the beginning of the period
412  @param[in] EndIndex the time index for the end of the period
413  @param[out] IndValList the list of time-indexed values of the requested variable
414  */
415  void OPENFLUID_GetVariables(const openfluid::core::SpatialUnit* UnitPtr,
416  const openfluid::core::VariableName_t& VarName,
417  const openfluid::core::TimeIndex_t BeginIndex,
418  const openfluid::core::TimeIndex_t EndIndex,
419  openfluid::core::IndexedValueList& IndValList) const;
420 
421  /**
422  Returns the available variables for a unit during a given period (between two time indexes)
423  @param[in] UnitPtr a Unit
424  @param[in] VarName the name of the requested variable
425  @param[in] BeginIndex the time index for the beginning of the period
426  @param[in] EndIndex the time index for the end of the period
427  @return the list of time-indexed values of the requested variable
428  */
429  openfluid::core::IndexedValueList OPENFLUID_GetVariables(const openfluid::core::SpatialUnit* UnitPtr,
430  const openfluid::core::VariableName_t& VarName,
431  const openfluid::core::TimeIndex_t BeginIndex,
432  const openfluid::core::TimeIndex_t EndIndex) const;
433 
434  /**
435  Gets discrete events happening on a unit during a time period
436  @param[in] UnitPtr a Unit
437  @param[in] BeginDate the beginning of the time period
438  @param[in] EndDate the ending of the time period
439  @param[out] Events the collection of event corresponding to the request
440  */
441  void OPENFLUID_GetEvents(const openfluid::core::SpatialUnit *UnitPtr,
442  const openfluid::core::DateTime BeginDate,
443  const openfluid::core::DateTime EndDate,
444  openfluid::core::EventsCollection& Events) const;
445 
446  /**
447  Returns discrete events happening on a unit during a time period
448  @param[in] UnitPtr a Unit
449  @param[in] BeginDate the beginning of the time period
450  @param[in] EndDate the ending of the time period
451  @return the collection of event corresponding to the request
452  */
453  openfluid::core::EventsCollection OPENFLUID_GetEvents(const openfluid::core::SpatialUnit *UnitPtr,
454  const openfluid::core::DateTime BeginDate,
455  const openfluid::core::DateTime EndDate) const;
456 
457  /**
458  Returns true if the queried unit class exists
459  @param[in] ClassName the queried class name
460  */
461  bool OPENFLUID_IsUnitsClassExist(const openfluid::core::UnitsClass_t& ClassName) const;
462 
463  /**
464  @deprecated Since version 2.1.0.
465  Use openfluid::ware::SimulationInspectorWare::OPENFLUID_IsUnitsClassExist instead
466  */
468  { return OPENFLUID_IsUnitsClassExist(ClassName); }
469 
470  /**
471  Returns true if the queried unit exists
472  @param[in] ClassName the class of the queried unit
473  @param[in] ID the ID of the queried unit
474  */
475  bool OPENFLUID_IsUnitExist(const openfluid::core::UnitsClass_t& ClassName,
476  openfluid::core::UnitID_t ID) const;
477 
478  /**
479  Returns the total number of units
480  @param[out] UnitsCount the total units count
481  */
482  void OPENFLUID_GetUnitsCount(unsigned int& UnitsCount) const;
483 
484  /**
485  Returns the total number of units
486  @return the total units count
487  */
488  unsigned int OPENFLUID_GetUnitsCount() const;
489 
490  /**
491  Gets the number of units of the class if the queried unit class exists
492  @param[in] ClassName the queried class name
493  @param[out] UnitsCount the number of units in the queried class
494  @return false if the unit class does not exist
495  */
496  bool OPENFLUID_GetUnitsCount(const openfluid::core::UnitsClass_t& ClassName,
497  unsigned int& UnitsCount) const;
498 
499  /**
500  Returns the number of units of the class if the queried unit class exists
501  @param[in] ClassName the queried class name
502  @return the number of units in the queried class, or 0 if the units class does not exist
503  */
504  unsigned int OPENFLUID_GetUnitsCount(const openfluid::core::UnitsClass_t& ClassName) const;
505 
506  /**
507  Returns a pointer to the queried unit if exists
508  @param[in] ClassName the queried class name
509  @param[in] ID the queried unit ID
510  @param[out] aUnit a pointer to the requested Unit, nullptr if the unit does not exist
511  @return false if the unit does not exist
512  */
513  bool OPENFLUID_GetUnit(const openfluid::core::UnitsClass_t& ClassName,
514  const openfluid::core::UnitID_t& ID,
515  openfluid::core::SpatialUnit* aUnit) const;
516 
517  openfluid::core::SpatialUnit* OPENFLUID_GetUnit(const openfluid::core::UnitsClass_t& ClassName,
518  const openfluid::core::UnitID_t& ID) const;
519 
520  /**
521  Returns a list of units of the requested class
522  Returns an empty list if the units class does not exist.
523  @param[in] ClassName the requested class
524  */
525  openfluid::core::UnitsPtrList_t OPENFLUID_GetUnits(const openfluid::core::UnitsClass_t& ClassName);
526 
527  /**
528  Returns true if a given unit is connected "to" another unit
529  @param[in] aUnit the given unit
530  @param[in] ClassNameTo the class name of the other unit to test
531  @param[in] IDTo the ID of the other unit to test
532  @return true if the given unit is connected "to" the other unit
533  */
534  bool OPENFLUID_IsUnitConnectedTo(openfluid::core::SpatialUnit* aUnit,
535  const openfluid::core::UnitsClass_t& ClassNameTo,
536  const openfluid::core::UnitID_t& IDTo) const;
537 
538 
539  /**
540  Returns true if a given unit is connected "from" another unit
541  @param[in] aUnit the given unit
542  @param[in] ClassNameFrom the class name of the other unit to test
543  @param[in] IDFrom the ID of the other unit to test
544  @return true if the given unit is connected "from" the other unit
545  */
546  bool OPENFLUID_IsUnitConnectedFrom(openfluid::core::SpatialUnit* aUnit,
547  const openfluid::core::UnitsClass_t& ClassNameFrom,
548  const openfluid::core::UnitID_t& IDFrom) const;
549 
550 
551  /**
552  Returns true if a given unit is "a child of" another unit
553  @param[in] aUnit the given unit
554  @param[in] ClassNameParent the class name of the other unit to test
555  @param[in] IDParent the ID of the other unit to test
556  @return true if the given unit is "a child of" the other unit
557  */
558  bool OPENFLUID_IsUnitChildOf(openfluid::core::SpatialUnit* aUnit,
559  const openfluid::core::UnitsClass_t& ClassNameParent,
560  const openfluid::core::UnitID_t& IDParent) const;
561 
562 
563  /**
564  Returns true if a given unit is "parent of" another unit
565  @param[in] aUnit the given unit
566  @param[in] ClassNameChild the class name of the other unit to test
567  @param[in] IDChild the ID of the other unit to test
568  @return true if the given unit is "parent of" the other unit
569  */
570  bool OPENFLUID_IsUnitParentOf(openfluid::core::SpatialUnit* aUnit,
571  const openfluid::core::UnitsClass_t& ClassNameChild,
572  const openfluid::core::UnitID_t& IDChild) const;
573 
574 
576  mp_Datastore(nullptr), mp_SpatialData(nullptr)
577  { };
578 
579 
580  public:
581 
583 
585  {
586  mp_SpatialData = SGraph;
587  };
588 
590  {
591  mp_Datastore = DStore;
592  };
593 
594 };
595 
596 
597 
598 } } // openfluid::ware
599 
600 
601 #endif /* __OPENFLUID_WARE_SIMULATIONINSPECTORWARE_HPP__ */
Definition: Value.hpp:64
std::string UnitsClass_t
Definition: TypeDefs.hpp:71
Definition: IndexedValue.hpp:55
void linkToDatastore(openfluid::core::Datastore *DStore)
Definition: SimulationInspectorWare.hpp:589
std::string VariableName_t
Definition: TypeDefs.hpp:86
Definition: Datastore.hpp:54
Definition: VectorValue.hpp:118
Definition: SimulationDrivenWare.hpp:233
#define OPENFLUID_DEPRECATED
Definition: deprecation.hpp:54
std::list< SpatialUnit * > UnitsPtrList_t
Definition: SpatialUnit.hpp:70
Class defining a collection of discrete events.
Definition: EventsCollection.hpp:59
openfluid::core::SpatialGraph * mp_SpatialData
Definition: SimulationInspectorWare.hpp:71
Definition: SpatialGraph.hpp:52
Type
Definition: Value.hpp:68
void linkToSpatialGraph(openfluid::core::SpatialGraph *SGraph)
Definition: SimulationInspectorWare.hpp:584
virtual ~SimulationInspectorWare()
Definition: SimulationInspectorWare.hpp:582
bool OPENFLUID_IsUnitClassExist(const openfluid::core::UnitsClass_t &ClassName) const OPENFLUID_DEPRECATED
Definition: SimulationInspectorWare.hpp:467
Definition: SpatialUnit.hpp:107
virtual bool isLinked() const
Definition: SimulationDrivenWare.hpp:247
Definition: ApplicationException.hpp:47
std::string AttributeName_t
Definition: TypeDefs.hpp:81
SimulationInspectorWare(WareType WType)
Definition: SimulationInspectorWare.hpp:575
WareType
Definition: TypeDefs.hpp:62
#define OPENFLUID_API
Definition: dllexport.hpp:87
unsigned long long TimeIndex_t
Definition: DateTime.hpp:62
Definition: DoubleValue.hpp:102
std::list< IndexedValue > IndexedValueList
Definition: IndexedValue.hpp:133
Definition: MatrixValue.hpp:114
Definition: StringValue.hpp:91
virtual bool isLinked() const
Definition: SimulationInspectorWare.hpp:74
unsigned int UnitID_t
Definition: TypeDefs.hpp:61
Definition: SimulationInspectorWare.hpp:54
Class for management of date and time information.
Definition: DateTime.hpp:132