12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- #ifndef cmPropertyDefinition_h
- #define cmPropertyDefinition_h
- #include "cmConfigure.h"
- #include "cmProperty.h"
- #include <string>
- class cmPropertyDefinition
- {
- public:
-
- void DefineProperty(const std::string& name, cmProperty::ScopeType scope,
- const char* ShortDescription,
- const char* FullDescription, bool chained);
-
- cmPropertyDefinition() { this->Chained = false; }
-
- bool IsChained() const { return this->Chained; }
-
- cmProperty::ScopeType GetScope() const { return this->Scope; }
-
- const std::string& GetShortDescription() const
- {
- return this->ShortDescription;
- }
-
- const std::string& GetFullDescription() const
- {
- return this->FullDescription;
- }
- protected:
- std::string Name;
- std::string ShortDescription;
- std::string FullDescription;
- cmProperty::ScopeType Scope;
- bool Chained;
- };
- #endif
|