PtrMap< T > Class Template Reference

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

Inheritance diagram for PtrMap< T >:
[legend]

Public Types

typedef PtrMap< Tthis_type
 The template instance used for this PtrMap. More...
 
typedef HashPtrTable< T, label, Hash< label > > parent_type
 The template instance used for the parent HashTable. More...
 

Public Member Functions

 PtrMap ()
 Default construct with default table capacity. More...
 
 PtrMap (const label size)
 Construct with given initial table capacity. More...
 
 PtrMap (Istream &is)
 Construct from Istream. More...
 
 PtrMap (const this_type &map)
 Copy construct. More...
 
 PtrMap (this_type &&map)
 Move construct. More...
 
void operator= (const this_type &rhs)
 Copy assignment. More...
 
void operator= (this_type &&rhs)
 Move assignment. More...
 

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 48 of file HashTableFwd.H.

Member Typedef Documentation

◆ this_type

typedef PtrMap<T> this_type

The template instance used for this PtrMap.

Definition at line 59 of file PtrMap.H.

◆ parent_type

typedef HashPtrTable<T, label, Hash<label> > parent_type

The template instance used for the parent HashTable.

Definition at line 62 of file PtrMap.H.

Constructor & Destructor Documentation

◆ PtrMap() [1/5]

PtrMap ( )
inline

Default construct with default table capacity.

Definition at line 68 of file PtrMap.H.

◆ PtrMap() [2/5]

PtrMap ( const label  size)
inlineexplicit

Construct with given initial table capacity.

Definition at line 74 of file PtrMap.H.

◆ PtrMap() [3/5]

PtrMap ( Istream is)
inline

Construct from Istream.

Definition at line 80 of file PtrMap.H.

◆ PtrMap() [4/5]

PtrMap ( const this_type map)
inline

Copy construct.

Definition at line 86 of file PtrMap.H.

◆ PtrMap() [5/5]

PtrMap ( this_type &&  map)
inline

Move construct.

Definition at line 92 of file PtrMap.H.

Member Function Documentation

◆ operator=() [1/2]

void operator= ( const this_type rhs)
inline

Copy assignment.

Definition at line 101 of file PtrMap.H.

◆ operator=() [2/2]

void operator= ( this_type &&  rhs)
inline

Move assignment.

Definition at line 107 of file PtrMap.H.


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