From 850d94bc279867d6a041d08b1f1496bc57c05f5e Mon Sep 17 00:00:00 2001 From: henry Date: Fri, 20 Jun 2008 15:33:50 +0100 Subject: [PATCH] Reformatted to conform to the 80-column rule --- src/OpenFOAM/db/dictionary/dictionary.H | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/OpenFOAM/db/dictionary/dictionary.H b/src/OpenFOAM/db/dictionary/dictionary.H index 677d9754b7..0b82825818 100644 --- a/src/OpenFOAM/db/dictionary/dictionary.H +++ b/src/OpenFOAM/db/dictionary/dictionary.H @@ -86,6 +86,7 @@ class dictionary //- Parent dictionary const dictionary& parent_; + public: //- Read dictionary from Istream @@ -181,7 +182,10 @@ public: //- Find and return an entry data stream pointer if present // otherwise return NULL. // If recursive search parent dictionaries - const entry* lookupEntryPtr(const word&, bool recursive=false) const; + const entry* lookupEntryPtr + ( + const word&, bool recursive=false + ) const; //- Find and return an entry data stream pointer for manipulation // if present otherwise return NULL. @@ -196,7 +200,8 @@ public: // If recursive search parent dictionaries ITstream& lookup(const word&, bool recursive=false) const; - //- Find and return a T, if not found return the given default value + //- Find and return a T, + // if not found return the given default value // If recursive search parent dictionaries template T lookupOrDefault @@ -206,8 +211,9 @@ public: bool recursive=false ) const; - //- Find and return a T, if not found return the given default value, - // and add to dictionary. If recursive search parent dictionaries + //- Find and return a T, if not found return the given + // default value, and add to dictionary. + // If recursive search parent dictionaries template T lookupOrAddDefault (