Skip to content
API Documentation
BastionGuard™
hfs::CatalogFile Struct Reference

#include <hfs_catalog.hpp>

Public Member Functions

bool is_symlink () const
bool is_hardlink () const

Public Attributes

uint16_t flags {0}
uint32_t fileID {0}
uint32_t createDate {0}
uint32_t contentModDate {0}
uint32_t attributeModDate {0}
uint32_t accessDate {0}
uint32_t backupDate {0}
BSDInfo permissions {}
FinderInfo16 userInfo {}
uint32_t textEncoding {0}
ForkData dataFork {}
ForkData resourceFork {}

Detailed Description

Definition at line 76 of file hfs_catalog.hpp.

Member Function Documentation

◆ is_hardlink()

bool hfs::CatalogFile::is_hardlink ( ) const
inline

Definition at line 94 of file hfs_catalog.hpp.

94 {
97 }
constexpr uint32_t kHFSPlusCreator
constexpr uint32_t kHardLinkFileType
FinderInfo16 userInfo

References hfs::FinderInfo16::fileCreator, hfs::FinderInfo16::fileType, hfs::kHardLinkFileType, hfs::kHFSPlusCreator, and userInfo.

◆ is_symlink()

bool hfs::CatalogFile::is_symlink ( ) const
inline

Definition at line 90 of file hfs_catalog.hpp.

90 {
93 }
constexpr uint32_t kSymLinkCreator
constexpr uint32_t kSymLinkFileType

References hfs::FinderInfo16::fileCreator, hfs::FinderInfo16::fileType, hfs::kSymLinkCreator, hfs::kSymLinkFileType, and userInfo.

Member Data Documentation

◆ accessDate

uint32_t hfs::CatalogFile::accessDate {0}

Definition at line 82 of file hfs_catalog.hpp.

Referenced by hfs::parse_catalog_file().

◆ attributeModDate

uint32_t hfs::CatalogFile::attributeModDate {0}

Definition at line 81 of file hfs_catalog.hpp.

Referenced by hfs::parse_catalog_file().

◆ backupDate

uint32_t hfs::CatalogFile::backupDate {0}

Definition at line 83 of file hfs_catalog.hpp.

Referenced by hfs::parse_catalog_file().

◆ contentModDate

uint32_t hfs::CatalogFile::contentModDate {0}

Definition at line 80 of file hfs_catalog.hpp.

Referenced by hfs::parse_catalog_file().

◆ createDate

uint32_t hfs::CatalogFile::createDate {0}

Definition at line 79 of file hfs_catalog.hpp.

Referenced by hfs::parse_catalog_file().

◆ dataFork

ForkData hfs::CatalogFile::dataFork {}

Definition at line 87 of file hfs_catalog.hpp.

Referenced by hfs::parse_catalog_file(), and HfsRecovery::recover().

◆ fileID

uint32_t hfs::CatalogFile::fileID {0}

Definition at line 78 of file hfs_catalog.hpp.

Referenced by hfs::parse_catalog_file(), and HfsRecovery::recover().

◆ flags

uint16_t hfs::CatalogFile::flags {0}

Definition at line 77 of file hfs_catalog.hpp.

Referenced by hfs::parse_catalog_file(), and HfsRecovery::recover().

◆ permissions

BSDInfo hfs::CatalogFile::permissions {}

Definition at line 84 of file hfs_catalog.hpp.

Referenced by hfs::parse_catalog_file(), and HfsRecovery::recover().

◆ resourceFork

ForkData hfs::CatalogFile::resourceFork {}

Definition at line 88 of file hfs_catalog.hpp.

Referenced by hfs::parse_catalog_file(), and HfsRecovery::recover().

◆ textEncoding

uint32_t hfs::CatalogFile::textEncoding {0}

Definition at line 86 of file hfs_catalog.hpp.

Referenced by hfs::parse_catalog_file().

◆ userInfo

FinderInfo16 hfs::CatalogFile::userInfo {}

The documentation for this struct was generated from the following file: