1 // NodeInfo.cpp 2 3 #include "NodeInfo.h" 4 5 // ShowAround 6 void 7 NodeInfo::ShowAround(RequestMemberVisitor* visitor) 8 { 9 // stat members 10 visitor->Visit(this, st.st_dev); 11 visitor->Visit(this, st.st_ino); 12 visitor->Visit(this, *(int32*)&st.st_mode); 13 visitor->Visit(this, *(int32*)&st.st_nlink); 14 visitor->Visit(this, *(int32*)&st.st_uid); 15 visitor->Visit(this, *(int32*)&st.st_gid); 16 visitor->Visit(this, st.st_size); 17 visitor->Visit(this, st.st_rdev); 18 visitor->Visit(this, *(int32*)&st.st_blksize); 19 visitor->Visit(this, st.st_atime); 20 visitor->Visit(this, st.st_mtime); 21 visitor->Visit(this, st.st_ctime); 22 visitor->Visit(this, st.st_crtime); 23 // TODO: Would this be needed as well? 24 // visitor->Visit(this, *(uint32*)&st.st_type); 25 // visitor->Visit(this, *(int64*)&st.st_blocks); 26 27 // revision 28 visitor->Visit(this, revision); 29 } 30