surfacePatchIOList.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration | Website: https://openfoam.org
5  \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8 License
9  This file is part of OpenFOAM.
10 
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
13  the Free Software Foundation, either version 3 of the License, or
14  (at your option) any later version.
15 
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.
20 
21  You should have received a copy of the GNU General Public License
22  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
23 
24 Class
25  Foam::surfacePatchIOList
26 
27 Description
28  IOobject for a surfacePatchList
29 
30 SourceFiles
31  surfacePatchIOList.C
32 
33 \*---------------------------------------------------------------------------*/
34 
35 #ifndef surfacePatchIOList_H
36 #define surfacePatchIOList_H
37 
38 #include "surfacePatchList.H"
39 #include "regIOobject.H"
40 #include "faceList.H"
41 #include "className.H"
42 
43 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
44 
45 namespace Foam
46 {
47 
48 // Forward declaration of friend functions and operators
49 
50 class surfacePatchIOList;
51 
52 Ostream& operator<<(Ostream&, const surfacePatchIOList&);
53 
54 
55 /*---------------------------------------------------------------------------*\
56  Class surfacePatchIOList Declaration
57 \*---------------------------------------------------------------------------*/
58 
60 :
61  public surfacePatchList,
62  public regIOobject
63 {
64 public:
65 
66  //- Runtime type information
67  TypeName("surfacePatchIOList");
68 
69 
70  // Constructors
71 
72  //- Construct from IOobject
73  explicit surfacePatchIOList(const IOobject& io);
74 
75  //- Construct from IOobject
76  surfacePatchIOList(const IOobject& io, const surfacePatchList&);
77 
78  //- Disallow default bitwise copy construction
79  surfacePatchIOList(const surfacePatchIOList&) = delete;
80 
81 
82  //- Destructor
84 
85 
86  // Member Functions
87 
88  //- writeData member function required by regIOobject
89  bool writeData(Ostream&) const;
90 
91 
92  // Member Operators
93 
94  //- Disallow default bitwise assignment
95  void operator=(const surfacePatchIOList&) = delete;
96 
97 
98  // IOstream Operators
99 
100  friend Ostream& operator<<(Ostream&, const surfacePatchIOList&);
101 };
102 
103 
104 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
105 
106 } // End namespace Foam
107 
108 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
109 
110 #endif
111 
112 // ************************************************************************* //
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
Definition: IOobject.H:99
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Definition: List.H:91
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Definition: Ostream.H:57
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
Definition: regIOobject.H:55
IOobject for a surfacePatchList.
friend Ostream & operator<<(Ostream &, const surfacePatchIOList &)
bool writeData(Ostream &) const
writeData member function required by regIOobject
TypeName("surfacePatchIOList")
Runtime type information.
void operator=(const surfacePatchIOList &)=delete
Disallow default bitwise assignment.
surfacePatchIOList(const IOobject &io)
Construct from IOobject.
Macro definitions for declaring ClassName(), NamespaceName(), etc.
Namespace for OpenFOAM.
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)