mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
added HashPtrTable forward declaration to HashTable, entry.H cosmetics
This commit is contained in:
@ -54,6 +54,7 @@ template<class T>
|
|||||||
class List;
|
class List;
|
||||||
|
|
||||||
template<class T, class Key, class Hash> class HashTable;
|
template<class T, class Key, class Hash> class HashTable;
|
||||||
|
template<class T, class Key, class Hash> class HashPtrTable;
|
||||||
|
|
||||||
template<class T, class Key, class Hash> Istream& operator>>
|
template<class T, class Key, class Hash> Istream& operator>>
|
||||||
(
|
(
|
||||||
|
|||||||
@ -92,20 +92,20 @@ public:
|
|||||||
|
|
||||||
//- Construct on freestore as copy with reference to the
|
//- Construct on freestore as copy with reference to the
|
||||||
// dictionary the copy belongs to
|
// dictionary the copy belongs to
|
||||||
virtual Foam::autoPtr<entry> clone
|
virtual autoPtr<entry> clone
|
||||||
(
|
(
|
||||||
const dictionary& parentDict
|
const dictionary& parentDict
|
||||||
) const = 0;
|
) const = 0;
|
||||||
|
|
||||||
//- Construct on freestore as copy
|
//- Construct on freestore as copy
|
||||||
// Note: the parent directory is set to dictionary::null
|
// Note: the parent directory is set to dictionary::null
|
||||||
virtual Foam::autoPtr<entry> clone() const;
|
virtual autoPtr<entry> clone() const;
|
||||||
|
|
||||||
//- Construct from Istream and insert into dictionary
|
//- Construct from Istream and insert into dictionary
|
||||||
static bool New(dictionary& parentDict, Istream& is);
|
static bool New(dictionary& parentDict, Istream& is);
|
||||||
|
|
||||||
//- Construct on freestore from Istream and return
|
//- Construct on freestore from Istream and return
|
||||||
static Foam::autoPtr<entry> New(Istream& is);
|
static autoPtr<entry> New(Istream& is);
|
||||||
|
|
||||||
|
|
||||||
// Destructor
|
// Destructor
|
||||||
|
|||||||
Reference in New Issue
Block a user