1 // Node.cpp 2 3 #include "Node.h" 4 5 // constructor 6 Node::Node(Volume* volume, vnode_id id) 7 : fVolume(volume), 8 fID(id), 9 fKnownToVFS(false) 10 { 11 } 12 13 // destructor 14 Node::~Node() 15 { 16 } 17 18 // SetKnownToVFS 19 void 20 Node::SetKnownToVFS(bool known) 21 { 22 fKnownToVFS = known; 23 } 24 25 // IsKnownToVFS 26 bool 27 Node::IsKnownToVFS() const 28 { 29 return fKnownToVFS; 30 } 31 32