OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

Dictionary< T > Class Template Reference

Gerneral purpose template dictionary class which manages the storage associated with it. More...

Inheritance diagram for Dictionary< T >:
Collaboration diagram for Dictionary< T >:

List of all members.


Public Member Functions

 Dictionary ()
 Null constructor.
 Dictionary (const Dictionary &)
 Copy construct.
bool erase (const word &keyword)
 Remove an entry specified by keyword and delete the pointer.

Detailed Description

template<class T>
class Foam::Dictionary< T >

Gerneral purpose template dictionary class which manages the storage associated with it.

It is derived from DictionaryBase instantiated on a memory managed form of intrusive doubly-linked list of <T>.

Source files

Definition at line 50 of file Dictionary.H.


Constructor & Destructor Documentation

Dictionary (  )  [inline]

Null constructor.

Definition at line 26 of file Dictionary.C.

Dictionary ( const Dictionary< T > &  dict  )  [inline]

Copy construct.

Definition at line 31 of file Dictionary.C.


Member Function Documentation

bool erase ( const word keyword  )  [inline]

Remove an entry specified by keyword and delete the pointer.

Returns true if the keyword was found

Definition at line 40 of file Dictionary.C.


The documentation for this class was generated from the following files:
  • src/OpenFOAM/containers/Dictionaries/Dictionary/Dictionary.H
  • src/OpenFOAM/containers/Dictionaries/Dictionary/Dictionary.C
Copyright © 2000-2009 OpenCFD Ltd