initial commit for version 1.5.x patch release
[OpenFOAM-1.5.x.git] / src / triSurface / triSurface / surfacePatch / surfacePatchIOList.H
blob923c42b6ba4bb143aff8be1d16aa7d749c16d33f
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4    \\    /   O peration     |
5     \\  /    A nd           | Copyright (C) 1991-2008 OpenCFD Ltd.
6      \\/     M anipulation  |
7 -------------------------------------------------------------------------------
8 License
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
19     for more details.
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
25 Class
26     Foam::surfacePatchIOList
28 Description
29     IOobject for a surfacePatchList
31 SourceFiles
32     surfacePatchIOList.C
34 \*---------------------------------------------------------------------------*/
36 #ifndef surfacePatchIOList_H
37 #define surfacePatchIOList_H
39 #include "surfacePatchList.H"
40 #include "regIOobject.H"
41 #include "faceList.H"
42 #include "className.H"
44 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
46 namespace Foam
49 // Forward declaration of classes
51 /*---------------------------------------------------------------------------*\
52                            Class surfacePatchIOList Declaration
53 \*---------------------------------------------------------------------------*/
55 class surfacePatchIOList
57     public surfacePatchList,
58     public regIOobject
60     // Private data
63     // Private Member Functions
65         //- Disallow default bitwise copy construct
66         surfacePatchIOList(const surfacePatchIOList&);
68         //- Disallow default bitwise assignment
69         void operator=(const surfacePatchIOList&);
72 public:
74     //- Runtime type information
75     TypeName("surfacePatchIOList");
78     // Static data members
80         //- Static data someStaticData
82     // Constructors
84         //- Construct from IOobject
85         explicit surfacePatchIOList(const IOobject& io);
87         //- Construct from IOobject
88         surfacePatchIOList(const IOobject& io, const surfacePatchList&);
90     // Destructor
92         ~surfacePatchIOList();
95     // Member Functions
97         //- writeData member function required by regIOobject
98         bool writeData(Ostream&) const;
101     // Member Operators
103     // Friend Functions
105     // Friend Operators
107     // IOstream Operators
109         friend Ostream& operator<<(Ostream&, const surfacePatchIOList&);
113 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
115 } // End namespace Foam
117 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
119 #endif
121 // ************************************************************************* //