[cmake-commits] king committed cmDocumentation.h 1.18 1.19
cmake-commits at cmake.org
cmake-commits at cmake.org
Fri Feb 2 09:11:44 EST 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv31735
Modified Files:
cmDocumentation.h
Log Message:
STYLE: Fixed line length and this-> convention violations from yesterday's patch.
Index: cmDocumentation.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmDocumentation.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- cmDocumentation.h 1 Feb 2007 15:38:42 -0000 1.18
+++ cmDocumentation.h 2 Feb 2007 14:11:41 -0000 1.19
@@ -98,22 +98,28 @@
: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,
More information about the Cmake-commits
mailing list