surfZoneIOList.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::surfZoneIOList
26 
27 Description
28  IOobject for a surfZoneList
29 
30 SourceFiles
31  surfZoneIOList.C
32 
33 \*---------------------------------------------------------------------------*/
34 
35 #ifndef surfZoneIOList_H
36 #define surfZoneIOList_H
37 
38 #include "surfZoneList.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 surfZoneIOList;
51 
52 Ostream& operator<<(Ostream&, const surfZoneIOList&);
53 
54 
55 /*---------------------------------------------------------------------------*\
56  Class surfZoneIOList Declaration
57 \*---------------------------------------------------------------------------*/
58 
59 class surfZoneIOList
60 :
61  public surfZoneList,
62  public regIOobject
63 {
64 public:
65 
66  //- Runtime type information
67  TypeName("surfZoneList");
68 
69 
70  // Constructors
71 
72  //- Construct from IOobject
73  explicit surfZoneIOList(const IOobject&);
74 
75  //- Construct from IOobject and surfZoneList
76  surfZoneIOList(const IOobject&, const surfZoneList&);
77 
78  //- Construct from IOobject and surfZoneList
80 
81  //- Disallow default bitwise copy construction
82  surfZoneIOList(const surfZoneIOList&) = delete;
83 
84 
85  //- Destructor
87 
88 
89  // Member Functions
90 
91  //- writeData member function required by regIOobject
92  bool writeData(Ostream&) const;
93 
94 
95  // Member Operators
96 
97  //- Disallow default bitwise assignment
98  void operator=(const surfZoneIOList&) = delete;
99 
100 
101  // IOstream Operators
102 
103  friend Ostream& operator<<(Ostream&, const surfZoneIOList&);
104 };
105 
106 
107 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
108 
109 } // End namespace Foam
110 
111 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
112 
113 #endif
114 
115 // ************************************************************************* //
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 surfZoneList.
bool writeData(Ostream &) const
writeData member function required by regIOobject
void operator=(const surfZoneIOList &)=delete
Disallow default bitwise assignment.
~surfZoneIOList()
Destructor.
TypeName("surfZoneList")
Runtime type information.
surfZoneIOList(const IOobject &)
Construct from IOobject.
friend Ostream & operator<<(Ostream &, const surfZoneIOList &)
Macro definitions for declaring ClassName(), NamespaceName(), etc.
Namespace for OpenFOAM.
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)