DynamicList.H File Reference
Detailed Description
View DynamicList.H - License
This file is part of OpenFOAM.
OpenFOAM is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with OpenFOAM; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- Description
A dynamic list is a 1-D vector of objects of type T which resizes
itself as necessary to accept the new objects. Internal storage
is a compact array and the list can be shrunk to compact storage.
The increase of list size is controlled by three template parameters,
which allows the list storage to either increase by the given increment
or the given multiplier and divider (allowing non-integer multiples).
- Source files
-
Definition in file DynamicList.H.
Go to the source code of this file.
|
Namespaces |
| namespace | Foam |
Classes |
| class | DynamicList |
Functions |
| template<class T, unsigned SizeInc, unsigned SizeMult, unsigned SizeDiv> |
| Ostream & | operator<< (Ostream &, const DynamicList< T, SizeInc, SizeMult, SizeDiv > &) |
| template<class T, unsigned SizeInc, unsigned SizeMult, unsigned SizeDiv> |
| Istream & | operator>> (Istream &, DynamicList< T, SizeInc, SizeMult, SizeDiv > &) |
Copyright © 2000-2007 OpenCFD Ltd
|