| 64 | \*---------------------------------------------------------------------------*/ |
| 65 | |
| 66 | class regIOobject |
| 67 | : |
| 68 | public IOobject |
| 69 | { |
| 70 | protected: |
| 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 | |
| 82 | private: |
| 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 | |
| 111 | public: |
| 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"); |
no outgoing calls
no test coverage detected