SourceXtractorPlusPlus  0.14
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ExternalFlag.h
Go to the documentation of this file.
1 
23 #ifndef _SEIMPLEMENTATION_PROPERTY_EXTERNALFLAG_H
24 #define _SEIMPLEMENTATION_PROPERTY_EXTERNALFLAG_H
25 
26 #include <cstdint>
27 #include <memory>
28 #include <limits>
29 
31 
38 
39 namespace SourceXtractor {
40 
46 class ExternalFlag : public Property {
47 
48 public:
49 
53  virtual ~ExternalFlag() = default;
54 
55  ExternalFlag(std::int64_t flag, int count) : m_flag(flag), m_count(count) { }
56 
57  int getCount() const {
58  return m_count;
59  }
60 
62  return m_flag;
63  }
64 
65 private:
66 
68  int m_count;
69 
70 }; /* End of ExternalFlag class */
71 
72 
73 } /* namespace SourceXtractor */
74 
75 
76 #endif
virtual ~ExternalFlag()=default
Destructor.
ExternalFlag(std::int64_t flag, int count)
Definition: ExternalFlag.h:55
Base class for all Properties. (has no actual content)
Definition: Property.h:33
std::int64_t getFlag() const
Definition: ExternalFlag.h:61