1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 1991-2008 OpenCFD Ltd.
7 -------------------------------------------------------------------------------
9 This file is part of OpenFOAM.
11 OpenFOAM is free software; you can redistribute it and/or modify it
12 under the terms of the GNU General Public License as published by the
13 Free Software Foundation; either version 2 of the License, or (at your
14 option) any later version.
16 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21 You should have received a copy of the GNU General Public License
22 along with OpenFOAM; if not, write to the Free Software Foundation,
23 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
26 Foam::surfacePatchIOList
29 IOobject for a surfacePatchList
34 \*---------------------------------------------------------------------------*/
36 #ifndef surfacePatchIOList_H
37 #define surfacePatchIOList_H
39 #include "surfacePatchList.H"
40 #include "regIOobject.H"
42 #include "className.H"
44 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
49 // Forward declaration of classes
51 /*---------------------------------------------------------------------------*\
52 Class surfacePatchIOList Declaration
53 \*---------------------------------------------------------------------------*/
55 class surfacePatchIOList
57 public surfacePatchList,
63 // Private Member Functions
65 //- Disallow default bitwise copy construct
66 surfacePatchIOList(const surfacePatchIOList&);
68 //- Disallow default bitwise assignment
69 void operator=(const surfacePatchIOList&);
74 //- Runtime type information
75 TypeName("surfacePatchIOList");
78 // Static data members
80 //- Static data someStaticData
84 //- Construct from IOobject
85 explicit surfacePatchIOList(const IOobject& io);
87 //- Construct from IOobject
88 surfacePatchIOList(const IOobject& io, const surfacePatchList&);
92 ~surfacePatchIOList();
97 //- writeData member function required by regIOobject
98 bool writeData(Ostream&) const;
107 // IOstream Operators
109 friend Ostream& operator<<(Ostream&, const surfacePatchIOList&);
113 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
115 } // End namespace Foam
117 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
121 // ************************************************************************* //