From f72d666a7bd7a1b58db5f08b5ee9124f6768fa2a Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Wed, 24 Oct 2007 14:43:10 -0400 Subject: ENH: add ability to get documentaiton of a property from a script --- Source/cmPropertyDefinition.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Source/cmPropertyDefinition.h') diff --git a/Source/cmPropertyDefinition.h b/Source/cmPropertyDefinition.h index a299cb3da3..b2b42de2f6 100644 --- a/Source/cmPropertyDefinition.h +++ b/Source/cmPropertyDefinition.h @@ -46,6 +46,12 @@ public: cmProperty::ScopeType GetScope() const { return this->Scope; }; + // get the docs + const std::string &GetShortDescription() const { + return this->ShortDescription; }; + const std::string &GetFullDescription() const { + return this->FullDescription; }; + protected: std::string Name; std::string ShortDescription; -- cgit v1.2.1