SEChronicPericardialEffusion.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 SEScalarVolume;
22 
23 class BIOGEARS_API SEChronicPericardialEffusion : public SEPatientCondition {
24 public:
27 
28  virtual void Clear();
29 
30  virtual bool IsValid() const;
31 
32  virtual bool Load(const CDM::ChronicPericardialEffusionData& in);
33  virtual CDM::ChronicPericardialEffusionData* Unload() const;
34 
35 protected:
36  virtual void Unload(CDM::ChronicPericardialEffusionData& data) const;
37 
38 public:
39  virtual std::string GetName() const { return "ChronicPericardialEffusion"; }
40  virtual const char* GetName_cStr() const { return "ChronicPericardialEffusion"; }
41 
42  virtual bool HasAccumulatedVolume() const;
43  virtual SEScalarVolume& GetAccumulatedVolume();
44 
45  virtual void ToString(std::ostream& str) const;
46 
47 protected:
49 };
50 }
Definition: SEChronicPericardialEffusion.h:23
Definition: SEPatientCondition.h:18
virtual const char * GetName_cStr() const
Definition: SEChronicPericardialEffusion.h:40
Definition: SEScalarVolume.h:37
virtual std::string GetName() const
Definition: SEChronicPericardialEffusion.h:39
Class corresponding to the ChronicPericardialEffusionData schema type.
Definition: PatientConditions.hxx:1301
Definition: SEElectricalCircuit.h:18
SEScalarVolume * m_AccumulatedVolume
Definition: SEChronicPericardialEffusion.h:48