MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / regIOobject

Class regIOobject

src/OpenFOAM/db/regIOobject/regIOobject.H:66–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64\*---------------------------------------------------------------------------*/
65
66class regIOobject
67:
68 public IOobject
69{
70protected:
71 //- Helper: check readOpt flags and read if necessary
72 bool readHeaderOk
73 (
74 const IOstream::streamFormat PstreamFormat,
75 const word& typeName
76 );
77
78 //- To flag master-only reading of objects
79 static bool masterOnlyReading;
80
81
82private:
83
84 // Private data
85
86 //- Is this object registered with the registry
87 bool registered_;
88
89 //- Is this object owned by the registry
90 bool ownedByRegistry_;
91
92 //- List of modification watch indices
93 mutable labelList watchIndices_;
94
95 //- eventNo of last update
96 label eventNo_;
97
98 //- Istream for reading
99 autoPtr<ISstream> isPtr_;
100
101
102 // Private Member Functions
103
104 //- Return Istream
105 Istream& readStream(const bool valid = true);
106
107 //- Dissallow assignment
108 void operator=(const regIOobject&);
109
110
111public:
112
113 //- Declare friendship with any classes that need access to
114 // masterOnlyReading
115 friend class functionEntries::codeStream;
116 friend class fileOperations::uncollatedFileOperation;
117 friend class fileOperations::masterUncollatedFileOperation;
118
119
120 // Static data
121
122 //- Runtime type information
123 TypeName("regIOobject");

Callers 15

regIOobject.CFile · 0.70
PDRDragModel.CFile · 0.50
dragModel.CFile · 0.50
dragModel.CFile · 0.50
porosityModel.CFile · 0.50
IOPosition.CFile · 0.50
surfZoneIOList.CFile · 0.50
polyTopoChanger.CFile · 0.50
polyBoundaryMesh.CFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected