| 51 | \*---------------------------------------------------------------------------*/ |
| 52 | |
| 53 | class IOdictionary |
| 54 | : |
| 55 | public baseIOdictionary |
| 56 | { |
| 57 | |
| 58 | public: |
| 59 | |
| 60 | // Constructors |
| 61 | |
| 62 | //- Construct given an IOobject |
| 63 | IOdictionary(const IOobject&); |
| 64 | |
| 65 | //- Construct given an IOobject and dictionary |
| 66 | IOdictionary(const IOobject&, const dictionary&); |
| 67 | |
| 68 | //- Construct given an IOobject and Istream |
| 69 | IOdictionary(const IOobject&, Istream&); |
| 70 | |
| 71 | |
| 72 | //- Destructor |
| 73 | virtual ~IOdictionary(); |
| 74 | |
| 75 | |
| 76 | // Member functions |
| 77 | |
| 78 | //- Is object global |
| 79 | virtual bool global() const |
| 80 | { |
| 81 | return true; |
| 82 | } |
| 83 | |
| 84 | //- Return complete path + object name if the file exists |
| 85 | // either in the case/processor or case otherwise null |
| 86 | virtual fileName filePath() const |
| 87 | { |
| 88 | return globalFilePath(type()); |
| 89 | } |
| 90 | }; |
| 91 | |
| 92 | |
| 93 | //- Template function for obtaining global status |
no outgoing calls
no test coverage detected