| 70 | \*---------------------------------------------------------------------------*/ |
| 71 | |
| 72 | class coordinateSystems |
| 73 | : |
| 74 | public IOPtrList<coordinateSystem> |
| 75 | { |
| 76 | |
| 77 | // Private Member Functions |
| 78 | |
| 79 | //- Disallow default bitwise copy construct |
| 80 | coordinateSystems(const coordinateSystems&); |
| 81 | |
| 82 | //- Disallow default bitwise assignment |
| 83 | void operator=(const coordinateSystems&); |
| 84 | |
| 85 | |
| 86 | public: |
| 87 | |
| 88 | //- Runtime type information |
| 89 | TypeName("coordinateSystems"); |
| 90 | |
| 91 | // Constructors |
| 92 | |
| 93 | //- Read construct from IOobject |
| 94 | explicit coordinateSystems(const IOobject&); |
| 95 | |
| 96 | //- Construct from IOobject and a PtrList |
| 97 | coordinateSystems |
| 98 | ( |
| 99 | const IOobject&, |
| 100 | const PtrList<coordinateSystem>& |
| 101 | ); |
| 102 | |
| 103 | //- Construct from IOobject and transferring the PtrList contents |
| 104 | coordinateSystems |
| 105 | ( |
| 106 | const IOobject&, |
| 107 | const Xfer<PtrList<coordinateSystem>>& |
| 108 | ); |
| 109 | |
| 110 | |
| 111 | // Selectors |
| 112 | |
| 113 | //- Return previously registered or read construct from "constant" |
| 114 | static const coordinateSystems& New(const objectRegistry&); |
| 115 | |
| 116 | |
| 117 | // Member Functions |
| 118 | |
| 119 | //- Find and return indices for all matches |
| 120 | labelList findIndices(const keyType& key) const; |
| 121 | |
| 122 | //- Find and return index for the first match, return -1 if not found |
| 123 | label findIndex(const keyType& key) const; |
| 124 | |
| 125 | //- Search for given key |
| 126 | bool found(const keyType& key) const; |
| 127 | |
| 128 | //- Return the table of contents (list of all keywords) |
| 129 | wordList toc() const; |