00001 /*---------------------------------------------------------------------------*\ 00002 ========= | 00003 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox 00004 \\ / O peration | 00005 \\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd. 00006 \\/ M anipulation | 00007 ------------------------------------------------------------------------------- 00008 License 00009 This file is part of OpenFOAM. 00010 00011 OpenFOAM is free software: you can redistribute it and/or modify it 00012 under the terms of the GNU General Public License as published by 00013 the Free Software Foundation, either version 3 of the License, or 00014 (at your option) any later version. 00015 00016 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT 00017 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00018 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 00019 for more details. 00020 00021 You should have received a copy of the GNU General Public License 00022 along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>. 00023 00024 Class 00025 Foam::surfacePatchIOList 00026 00027 Description 00028 IOobject for a surfacePatchList 00029 00030 SourceFiles 00031 surfacePatchIOList.C 00032 00033 \*---------------------------------------------------------------------------*/ 00034 00035 #ifndef surfacePatchIOList_H 00036 #define surfacePatchIOList_H 00037 00038 #include "surfacePatchList.H" 00039 #include <OpenFOAM/regIOobject.H> 00040 #include <OpenFOAM/faceList.H> 00041 #include <OpenFOAM/className.H> 00042 00043 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00044 00045 namespace Foam 00046 { 00047 00048 // Forward declaration of classes 00049 00050 /*---------------------------------------------------------------------------*\ 00051 Class surfacePatchIOList Declaration 00052 \*---------------------------------------------------------------------------*/ 00053 00054 class surfacePatchIOList 00055 : 00056 public surfacePatchList, 00057 public regIOobject 00058 { 00059 // Private data 00060 00061 00062 // Private Member Functions 00063 00064 //- Disallow default bitwise copy construct 00065 surfacePatchIOList(const surfacePatchIOList&); 00066 00067 //- Disallow default bitwise assignment 00068 void operator=(const surfacePatchIOList&); 00069 00070 00071 public: 00072 00073 //- Runtime type information 00074 TypeName("surfacePatchIOList"); 00075 00076 00077 // Static data members 00078 00079 //- Static data someStaticData 00080 00081 // Constructors 00082 00083 //- Construct from IOobject 00084 explicit surfacePatchIOList(const IOobject& io); 00085 00086 //- Construct from IOobject 00087 surfacePatchIOList(const IOobject& io, const surfacePatchList&); 00088 00089 // Destructor 00090 00091 ~surfacePatchIOList(); 00092 00093 00094 // Member Functions 00095 00096 //- writeData member function required by regIOobject 00097 bool writeData(Ostream&) const; 00098 00099 00100 // Member Operators 00101 00102 // Friend Functions 00103 00104 // Friend Operators 00105 00106 // IOstream Operators 00107 00108 friend Ostream& operator<<(Ostream&, const surfacePatchIOList&); 00109 }; 00110 00111 00112 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00113 00114 } // End namespace Foam 00115 00116 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00117 00118 #endif 00119 00120 // ************************ vim: set sw=4 sts=4 et: ************************ //