SEDehydration.h
1 /**************************************************************************************
2 Copyright 2015 Applied Research Associates, Inc.
3 Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4 this file except in compliance with the License. You may obtain a copy of the License
5 at:
6 http://www.apache.org/licenses/LICENSE-2.0
7 Unless required by applicable law or agreed to in writing, software distributed under
8 the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
9 CONDITIONS OF ANY KIND, either express or implied. See the License for the
10 specific language governing permissions and limitations under the License.
11 **************************************************************************************/
12 
13 #pragma once
14 #include <string>
15 
16 #include <biogears/exports.h>
17 #include <biogears/cdm/patient/conditions/SEPatientCondition.h>
18 #include <biogears/schema/cdm/PatientConditions.hxx>
19 
20 namespace biogears {
21 class SEScalar0To1;
22 
23 class BIOGEARS_API SEDehydration : public SEPatientCondition {
24 public:
25  SEDehydration();
26  virtual ~SEDehydration();
27 
28  virtual void Clear(); //clear memory
29 
30  virtual bool IsValid() const;
31 
32  virtual bool Load(const CDM::DehydrationData& in);
33  virtual CDM::DehydrationData* Unload() const;
34 
35 protected:
36  virtual void Unload(CDM::DehydrationData& data) const;
37 
38 public:
39  virtual std::string GetName() const { return "Dehydration"; }
40  virtual const char* GetName_cStr() const { return "Dehydration"; }
41 
42  virtual bool HasDehydrationFraction() const;
43  virtual SEScalar0To1& GetDehydrationFraction();
44 
45  virtual void ToString(std::ostream& str) const;
46 
47 protected:
49 };
50 }
virtual const char * GetName_cStr() const
Definition: SEDehydration.h:40
virtual std::string GetName() const
Definition: SEDehydration.h:39
SEScalar0To1 * m_DehydrationFraction
Definition: SEDehydration.h:48
Definition: SEPatientCondition.h:18
Definition: SEScalar0To1.h:17
Definition: SEDehydration.h:23
Class corresponding to the DehydrationData schema type.
Definition: PatientConditions.hxx:1718
Definition: SEElectricalCircuit.h:18