MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / DevNode

Class DevNode

src/common/isc_sync.cpp:192–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190 };
191
192 class DevNode
193 {
194 public:
195 DevNode()
196 : f_dev(0), f_ino(0)
197 { }
198
199 DevNode(dev_t d, ino_t i)
200 : f_dev(d), f_ino(i)
201 { }
202
203 DevNode(const DevNode& v)
204 : f_dev(v.f_dev), f_ino(v.f_ino)
205 { }
206
207 dev_t f_dev;
208 ino_t f_ino;
209
210 bool operator==(const DevNode& v) const
211 {
212 return f_dev == v.f_dev && f_ino == v.f_ino;
213 }
214
215 bool operator>(const DevNode& v) const
216 {
217 return f_dev > v.f_dev ? true :
218 f_dev < v.f_dev ? false :
219 f_ino > v.f_ino;
220 }
221
222 const DevNode& operator=(const DevNode& v)
223 {
224 f_dev = v.f_dev;
225 f_ino = v.f_ino;
226 return *this;
227 }
228 };
229
230 DevNode getNode(const char* name)
231 {

Callers 1

getNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected