SEChronicPericardialEffusion.h
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 
4 #pragma once
5 #include "patient/conditions/SEPatientCondition.h"
6 
8 {
9  friend class PBPatientCondition;//friend the serialization class
10 public:
11 
14 
15  virtual void Clear();
16  virtual void Copy(const SEChronicPericardialEffusion& src);
17 
18  virtual bool IsValid() const;
19  virtual bool IsActive() const;
20 
21  virtual std::string GetName() const { return "ChronicPericardialEffusion"; }
22 
23  virtual bool HasAccumulatedVolume() const;
24  virtual SEScalarVolume& GetAccumulatedVolume();
25  virtual double GetAccumulatedVolume(const VolumeUnit& unit) const;
26 
27  virtual void ToString(std::ostream &str) const;
28 
29 protected:
30 
32 };
virtual void ToString(std::ostream &str) const =0
Definition: SEScalarVolume.h:7
Definition: SEScalarVolume.h:23
Definition: SEChronicPericardialEffusion.h:7
virtual std::string GetName() const
Definition: SEChronicPericardialEffusion.h:21
Definition: PBPatientConditions.h:18
SEScalarVolume * m_AccumulatedVolume
Definition: SEChronicPericardialEffusion.h:31
virtual bool IsValid() const =0
Definition: SEPatientCondition.h:7
virtual bool IsActive() const =0
virtual void Clear()
Definition: SEPatientCondition.cpp:17
static void Copy(const SEChronicAnemia &src, SEChronicAnemia &dst)
Definition: PBPatientConditions.cpp:52