File indexing completed on 2026-06-02 08:51:49
0001 #ifndef BASE_TYPE_H
0002 #define BASE_TYPE_H
0003
0004
0005
0006
0007
0008
0009
0010
0011 #include <string>
0012
0013 namespace PARTONS {
0014
0015
0016
0017
0018
0019
0020 class BaseType {
0021 public:
0022 BaseType();
0023 BaseType(bool initialized);
0024
0025 virtual ~BaseType();
0026
0027 bool isInitialized() const;
0028 void setInitialized(bool initialized);
0029 const std::string& getUnit() const;
0030 void setUnit(const std::string& unit);
0031
0032 private:
0033 bool m_initialized;
0034 std::string m_unit;
0035 };
0036
0037 }
0038
0039 #endif