#include <df_types.h>
Definition at line 283 of file df_types.h.
Public Member Functions | |
| df_StandardAttr_t () | |
| ~df_StandardAttr_t () | |
| void | Dump (ostream &os) |
| void | NetToHost () |
Public Attributes | |
| UInt32_t | numLinks |
| number of hard links | |
| UInt64_t | idOnFS |
| unique ID on FS (inode# + generation or file index) | |
| UInt64_t | type |
| file type (ivd_FileType_e) | |
| UInt64_t | size |
| file size (total) | |
| UInt64_t | attr |
| mode+rdev (UX), attr (Win) | |
| UInt32_t | owner |
| owner UID (UX only) | |
| UInt32_t | group |
| group UID (UX only) | |
| UInt32_t | changeFlags |
| UInt32_t | flags |
| ivd_Time_t | timeCreate |
| ivd_Time_t | timeAccess |
| ivd_Time_t | timeModify |
| ivd_Time_t | timeChange |
| df_StandardAttr_t::df_StandardAttr_t | ( | ) | [inline] |
| df_StandardAttr_t::~df_StandardAttr_t | ( | ) | [inline] |
| void df_StandardAttr_t::Dump | ( | ostream & | os | ) |
Definition at line 59 of file df_StandardAttr_t.cpp.
References attr, changeFlags, cmn_ConvToTime_t(), flags, idOnFS, IVD_PRINT_ID_FS, numLinks, owner, size, cmn_Time::Time2YMDhms(), timeAccess, timeChange, timeCreate, timeModify, and type.
Referenced by fsc_nsAttrStream::Dump().
00059 { 00060 cmn_Time tcr(cmn_ConvToTime_t(timeCreate)); 00061 cmn_Time tac(cmn_ConvToTime_t(timeAccess)); 00062 cmn_Time tmo(cmn_ConvToTime_t(timeModify)); 00063 cmn_Time tch(cmn_ConvToTime_t(timeChange)); 00064 os << " standard attributes: " 00065 << "\n numLinks = " << numLinks 00066 << "\n idOnFS = " << IVD_PRINT_ID_FS(idOnFS) 00067 << "\n type = " << type 00068 << "\n size = " << size 00069 << "\n attr = 0" << oct << attr << dec 00070 << "\n owner = " << owner 00071 << "\n group = " << group 00072 00073 << "\n changeFlags = " << changeFlags 00074 << "\n flags = " << flags 00075 00076 << "\n timeCreate = " << tcr.Time2YMDhms() 00077 << "\n timeAccess = " << tac.Time2YMDhms() 00078 << "\n timeModify = " << tmo.Time2YMDhms() 00079 << "\n timeChange = " << tch.Time2YMDhms() 00080 << endl; 00081 }


| void df_StandardAttr_t::NetToHost | ( | ) |
Definition at line 38 of file df_StandardAttr_t.cpp.
References attr, changeFlags, flags, idOnFS, ntoh(), numLinks, owner, size, timeAccess, timeChange, timeCreate, timeModify, and type.
Referenced by fsc_RawScan::DirTreeWalk(), fsc_nsAttrStream::Dump(), and hsm_IVDFSRecoverer::ProcRecFileHdr().
00038 { 00039 numLinks = ntoh(numLinks); 00040 idOnFS = ntoh(idOnFS); 00041 type = ntoh(static_cast<UInt64_t>(type)); 00042 size = ntoh(static_cast<UInt64_t>(size)); 00043 attr = ntoh(attr); 00044 00045 owner = ntoh(owner); 00046 group = ntoh(group); 00047 00048 changeFlags = ntoh(changeFlags); 00049 flags = ntoh(flags); 00050 00051 timeCreate = ntoh(timeCreate); 00052 timeAccess = ntoh(timeAccess); 00053 timeModify = ntoh(timeModify); 00054 timeChange = ntoh(timeChange); 00055 }


number of hard links
Definition at line 292 of file df_types.h.
Referenced by Dump(), DumpFile(), NetToHost(), ParseFile(), df_SplitInfoUnpacker::ProcRecFileHdr(), df_FRIDistiller::ProcRecFileHdr(), and df_Unpacker::ReadRecFile().
unique ID on FS (inode# + generation or file index)
Definition at line 294 of file df_types.h.
Referenced by Dump(), DumpFile(), NetToHost(), ParseFile(), and df_Unpacker::ReadRecFile().
file type (ivd_FileType_e)
Definition at line 296 of file df_types.h.
Referenced by Dump(), DumpFile(), NetToHost(), ParseFile(), hsm_IVDFSRecoverer::ProcRecFileHdr(), df_SplitInfoUnpacker::ProcRecFileHdr(), df_FRIDistiller::ProcRecFileHdr(), df_Filter::ProcRecFileHdr(), and df_Unpacker::ReadRecFile().
file size (total)
Definition at line 298 of file df_types.h.
Referenced by df_FRI::BlockWritten(), fsc_nsElement::CheckLastGen(), fsc_VolumeCheck::DisplayMessage(), Dump(), DumpFile(), fsc_nsElement::GetFileSize(), NetToHost(), ParseFile(), hsm_IVDFSRecoverer::ProcRecFileHdr(), df_SplitInfoUnpacker::ProcRecFileHdr(), df_FRIDistiller::ProcRecFileHdr(), df_Filter::ProcRecFileHdr(), and df_Unpacker::ReadRecFile().
mode+rdev (UX), attr (Win)
Definition at line 300 of file df_types.h.
Referenced by Dump(), DumpFile(), NetToHost(), ParseFile(), hsm_IVDFSRecoverer::ProcRecFileHdr(), and df_Unpacker::ReadRecFile().
owner UID (UX only)
Definition at line 302 of file df_types.h.
Referenced by Dump(), DumpFile(), NetToHost(), ParseFile(), hsm_IVDFSRecoverer::ProcRecFileHdr(), and df_Unpacker::ReadRecFile().
group UID (UX only)
Definition at line 304 of file df_types.h.
Referenced by DumpFile(), ParseFile(), hsm_IVDFSRecoverer::ProcRecFileHdr(), and df_Unpacker::ReadRecFile().
Definition at line 306 of file df_types.h.
Referenced by Dump(), DumpFile(), NetToHost(), ParseFile(), and df_Unpacker::ReadRecFile().
Definition at line 307 of file df_types.h.
Referenced by Dump(), DumpFile(), NetToHost(), ParseFile(), df_Filter::ProcRecFileHdr(), and df_Unpacker::ReadRecFile().
Definition at line 309 of file df_types.h.
Referenced by Dump(), DumpFile(), NetToHost(), ParseFile(), hsm_IVDFSRecoverer::ProcRecFileHdr(), and df_Unpacker::ReadRecFile().
Definition at line 310 of file df_types.h.
Referenced by Dump(), DumpFile(), NetToHost(), ParseFile(), hsm_IVDFSRecoverer::ProcRecFileHdr(), and df_Unpacker::ReadRecFile().
Definition at line 311 of file df_types.h.
Referenced by Dump(), DumpFile(), NetToHost(), ParseFile(), fsc_ColectorExpFile::ProcDirElement(), hsm_IVDFSRecoverer::ProcRecFileHdr(), and df_Unpacker::ReadRecFile().
Definition at line 312 of file df_types.h.
Referenced by Dump(), DumpFile(), NetToHost(), ParseFile(), hsm_IVDFSRecoverer::ProcRecFileHdr(), and df_Unpacker::ReadRecFile().
1.5.6