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