mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Reformatted to conform to the 80-column rule
This commit is contained in:
@ -86,6 +86,7 @@ class dictionary
|
|||||||
//- Parent dictionary
|
//- Parent dictionary
|
||||||
const dictionary& parent_;
|
const dictionary& parent_;
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
//- Read dictionary from Istream
|
//- Read dictionary from Istream
|
||||||
@ -181,7 +182,10 @@ public:
|
|||||||
//- Find and return an entry data stream pointer if present
|
//- Find and return an entry data stream pointer if present
|
||||||
// otherwise return NULL.
|
// otherwise return NULL.
|
||||||
// If recursive search parent dictionaries
|
// 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
|
//- Find and return an entry data stream pointer for manipulation
|
||||||
// if present otherwise return NULL.
|
// if present otherwise return NULL.
|
||||||
@ -196,7 +200,8 @@ public:
|
|||||||
// If recursive search parent dictionaries
|
// If recursive search parent dictionaries
|
||||||
ITstream& lookup(const word&, bool recursive=false) const;
|
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
|
// If recursive search parent dictionaries
|
||||||
template<class T>
|
template<class T>
|
||||||
T lookupOrDefault
|
T lookupOrDefault
|
||||||
@ -206,8 +211,9 @@ public:
|
|||||||
bool recursive=false
|
bool recursive=false
|
||||||
) const;
|
) 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
|
||||||
// and add to dictionary. If recursive search parent dictionaries
|
// default value, and add to dictionary.
|
||||||
|
// If recursive search parent dictionaries
|
||||||
template<class T>
|
template<class T>
|
||||||
T lookupOrAddDefault
|
T lookupOrAddDefault
|
||||||
(
|
(
|
||||||
|
|||||||
Reference in New Issue
Block a user