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

Class objectRegistry

src/OpenFOAM/db/objectRegistry/objectRegistry.H:51–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49\*---------------------------------------------------------------------------*/
50
51class objectRegistry
52:
53 public regIOobject,
54 public HashTable<regIOobject*>
55{
56 // Private Data
57
58 //- Master time objectRegistry
59 const Time& time_;
60
61 //- Parent objectRegistry
62 const objectRegistry& parent_;
63
64 //- Local directory path of this objectRegistry relative to time
65 fileName dbDir_;
66
67 //- Current event
68 mutable label event_;
69
70
71 // Private Member Functions
72
73 //- Is the objectRegistry parent_ different from time_
74 // Used to terminate searching within the ancestors
75 bool parentNotTime() const;
76
77 //- Disallow Copy constructor
78 objectRegistry(const objectRegistry&);
79
80 //- Disallow default bitwise copy construct and assignment
81 void operator=(const objectRegistry&);
82
83
84public:
85
86 //- Declare type name for this IOobject
87 TypeName("objectRegistry");
88
89
90 // Constructors
91
92 //- Construct the time objectRegistry given an initial estimate
93 // for the number of entries
94 explicit objectRegistry
95 (
96 const Time& db,
97 const label nIoObjects = 128
98 );
99
100 //- Construct a sub-registry given an IObject to describe the registry
101 // and an initial estimate for the number of entries
102 explicit objectRegistry
103 (
104 const IOobject& io,
105 const label nIoObjects = 128
106 );
107
108

Callers 2

objectRegistry.CFile · 0.70
subRegistryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected