diff options
author | Brad King <brad.king@kitware.com> | 2007-02-02 14:11:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-02-02 14:11:41 (GMT) |
commit | f8b898fa6de495f7164996ec5a5c8e6049b1a28c (patch) | |
tree | b6a30ac79f0fb4e18de56af74a419574459f730e /Source | |
parent | 8f6b49f7b18b576851fc4c2b14b265e8e7aed577 (diff) | |
download | CMake-f8b898fa6de495f7164996ec5a5c8e6049b1a28c.zip CMake-f8b898fa6de495f7164996ec5a5c8e6049b1a28c.tar.gz CMake-f8b898fa6de495f7164996ec5a5c8e6049b1a28c.tar.bz2 |
STYLE: Fixed line length and this-> convention violations from yesterday's patch.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmDocumentation.h | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/Source/cmDocumentation.h b/Source/cmDocumentation.h index 0820042..f0d1126 100644 --- a/Source/cmDocumentation.h +++ b/Source/cmDocumentation.h @@ -98,22 +98,28 @@ public: :Name(name), ManName(manName) {} /** Has any content been added to this section or is it empty ? */ - bool IsEmpty() const {return Entries.empty();} + bool IsEmpty() const + { return this->Entries.empty(); } /** Clear contents. */ - void Clear() {Entries.clear();} + void Clear() + { this->Entries.clear(); } /** Return the name of this section for the given output form. */ - const char* GetName(Form form) const {return (form==ManForm?ManName.c_str():Name.c_str());} + const char* GetName(Form form) const + { return (form==ManForm?this->ManName.c_str():this->Name.c_str()); } /** Return a pointer to the first entry of this section. */ - cmDocumentationEntry *GetEntries() {return &Entries[0];} + cmDocumentationEntry *GetEntries() + { return &this->Entries[0]; } /** Return a pointer to the first entry of this section. */ - const cmDocumentationEntry *GetEntries() const {return &Entries[0];} + const cmDocumentationEntry *GetEntries() const + { return &this->Entries[0]; } /** Append an entry to this section. */ - void Append(const cmDocumentationEntry& entry){Entries.push_back(entry);} + void Append(const cmDocumentationEntry& entry) + { return this->Entries.push_back(entry); } /** Set the contents of this section. */ void Set(const cmDocumentationEntry* header, |