Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-06-02 08:51:49

0001 #ifndef BASE_TYPE_H
0002 #define BASE_TYPE_H
0003 
0004 /**
0005  * @file BaseType.h
0006  * @author Bryan BERTHOU (SPhN / CEA Saclay)
0007  * @date 19 January 2016
0008  * @version 1.0
0009  */
0010 
0011 #include <string>
0012 
0013 namespace PARTONS {
0014 
0015 /**
0016  * @class BaseType
0017  *
0018  * @brief
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 } /* namespace PARTONS */
0038 
0039 #endif /* BASE_TYPE_H */