summaryrefslogtreecommitdiffstats
path: root/Source/cmPropertyDefinitionMap.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2007-10-22 16:49:09 (GMT)
committerKen Martin <ken.martin@kitware.com>2007-10-22 16:49:09 (GMT)
commit6cdf03250568c2150094cddfb6542945903b41a1 (patch)
treed2180686ef12105d6855203eded0505775b507ab /Source/cmPropertyDefinitionMap.h
parentcfb84d8562646662cfee9622f657e8eacdd49f8c (diff)
downloadCMake-6cdf03250568c2150094cddfb6542945903b41a1.zip
CMake-6cdf03250568c2150094cddfb6542945903b41a1.tar.gz
CMake-6cdf03250568c2150094cddfb6542945903b41a1.tar.bz2
ENH: change to make the documentation class more generic, about halfway there, also provides secitons for Variables now
Diffstat (limited to 'Source/cmPropertyDefinitionMap.h')
-rw-r--r--Source/cmPropertyDefinitionMap.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmPropertyDefinitionMap.h b/Source/cmPropertyDefinitionMap.h
index 240addf..869fe8c 100644
--- a/Source/cmPropertyDefinitionMap.h
+++ b/Source/cmPropertyDefinitionMap.h
@@ -19,6 +19,8 @@
#include "cmPropertyDefinition.h"
+class cmDocumentationSection;
+
class cmPropertyDefinitionMap :
public std::map<cmStdString,cmPropertyDefinition>
{
@@ -27,6 +29,7 @@ public:
void DefineProperty(const char *name, cmProperty::ScopeType scope,
const char *ShortDescription,
const char *FullDescription,
+ const char *DocumentaitonSection,
bool chain);
// has a named property been defined
@@ -35,7 +38,8 @@ public:
// is a named property set to chain
bool IsPropertyChained(const char *name);
- void GetPropertiesDocumentation(std::vector<cmDocumentationEntry>& v) const;
+ void GetPropertiesDocumentation(std::map<std::string,
+ cmDocumentationSection *>&) const;
};
#endif