Public Member Functions
PtrMap< T > Class Template Reference

A HashTable of pointers to objects of type <T> with a label key. More...

Inheritance diagram for PtrMap< T >:
Inheritance graph
[legend]
Collaboration diagram for PtrMap< T >:
Collaboration graph
[legend]

Public Member Functions

 PtrMap (const label size=128)
 Construct given initial map size. More...
 
 PtrMap (Istream &is)
 Construct from Istream. More...
 
 PtrMap (const PtrMap< T > &map)
 Construct as copy. More...
 
- Public Member Functions inherited from HashPtrTable< T, label, Hash< label > >
 HashPtrTable (const label size=128)
 Construct given initial table size. More...
 
 HashPtrTable (Istream &, const INew &)
 Construct from Istream using given Istream constructor class. More...
 
 HashPtrTable (Istream &)
 Construct from Istream using default Istream constructor class. More...
 
 HashPtrTable (const dictionary &)
 Construct from dictionary using default dictionary constructor. More...
 
 HashPtrTable (const HashPtrTable< T, Key, Hash > &)
 Construct as copy. More...
 
 ~HashPtrTable ()
 Destructor. More...
 
Tremove (iterator &)
 Remove and return the pointer specified by given iterator. More...
 
bool erase (iterator &)
 Erase an hashedEntry specified by given iterator. More...
 
void clear ()
 Clear all entries from table. More...
 
void write (Ostream &os) const
 Write. More...
 
void operator= (const HashPtrTable< T, Key, Hash > &)
 

Additional Inherited Members

- Public Types inherited from HashPtrTable< T, label, Hash< label > >
typedef HashTable< T *, Key, Hash >::iterator iterator
 
typedef HashTable< T *, Key, Hash >::const_iterator const_iterator
 

Detailed Description

template<class T>
class Foam::PtrMap< T >

A HashTable of pointers to objects of type <T> with a label key.

See also
Map, HashPtrTable

Definition at line 49 of file PtrMap.H.

Constructor & Destructor Documentation

◆ PtrMap() [1/3]

PtrMap ( const label  size = 128)
inline

Construct given initial map size.

Definition at line 59 of file PtrMap.H.

◆ PtrMap() [2/3]

PtrMap ( Istream is)
inline

Construct from Istream.

Definition at line 65 of file PtrMap.H.

◆ PtrMap() [3/3]

PtrMap ( const PtrMap< T > &  map)
inline

Construct as copy.

Definition at line 71 of file PtrMap.H.


The documentation for this class was generated from the following file: