LLVM 20.0.0git
|
#include "llvm/Object/Archive.h"
Public Member Functions | |
virtual std::unique_ptr< AbstractArchiveMemberHeader > | clone () const =0 |
virtual | ~AbstractArchiveMemberHeader ()=default |
virtual Expected< StringRef > | getRawName () const =0 |
Get the name without looking up long names. | |
virtual StringRef | getRawAccessMode () const =0 |
virtual StringRef | getRawLastModified () const =0 |
virtual StringRef | getRawUID () const =0 |
virtual StringRef | getRawGID () const =0 |
virtual Expected< StringRef > | getName (uint64_t Size) const =0 |
Get the name looking up long names. | |
virtual Expected< uint64_t > | getSize () const =0 |
virtual uint64_t | getOffset () const =0 |
virtual Expected< const char * > | getNextChildLoc () const =0 |
Get next file member location. | |
virtual Expected< bool > | isThin () const =0 |
Expected< sys::fs::perms > | getAccessMode () const |
Expected< sys::TimePoint< std::chrono::seconds > > | getLastModified () const |
Expected< unsigned > | getUID () const |
Expected< unsigned > | getGID () const |
virtual uint64_t | getSizeOf () const =0 |
Returns the size in bytes of the format-defined member header of the concrete archive type. | |
Public Attributes | |
const Archive * | Parent |
Protected Member Functions | |
AbstractArchiveMemberHeader (const Archive *Parent) | |
Friends | |
class | Archive |
|
virtualdefault |
|
pure virtual |
Implemented in llvm::object::ArchiveMemberHeader, and llvm::object::BigArchiveMemberHeader.
Expected< sys::fs::perms > AbstractArchiveMemberHeader::getAccessMode | ( | ) | const |
Definition at line 384 of file Archive.cpp.
References getArchiveMemberOctField(), getRawAccessMode(), Parent, and llvm::Expected< T >::takeError().
Definition at line 410 of file Archive.cpp.
References llvm::StringRef::empty(), getArchiveMemberDecField(), getRawGID(), and Parent.
Expected< sys::TimePoint< std::chrono::seconds > > AbstractArchiveMemberHeader::getLastModified | ( | ) | const |
Definition at line 393 of file Archive.cpp.
References getArchiveMemberDecField(), getRawLastModified(), Parent, llvm::Expected< T >::takeError(), and llvm::sys::toTimePoint().
|
pure virtual |
Get the name looking up long names.
Implemented in llvm::object::ArchiveMemberHeader, and llvm::object::BigArchiveMemberHeader.
Referenced by createMemberHeaderParseError().
|
pure virtual |
Get next file member location.
Implemented in llvm::object::ArchiveMemberHeader, and llvm::object::BigArchiveMemberHeader.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Get the name without looking up long names.
Implemented in llvm::object::ArchiveMemberHeader, and llvm::object::BigArchiveMemberHeader.
|
pure virtual |
|
pure virtual |
Implemented in llvm::object::ArchiveMemberHeader, and llvm::object::BigArchiveMemberHeader.
|
pure virtual |
Returns the size in bytes of the format-defined member header of the concrete archive type.
Implemented in llvm::object::CommonArchiveMemberHeader< T >, llvm::object::CommonArchiveMemberHeader< UnixArMemHdrType >, and llvm::object::CommonArchiveMemberHeader< BigArMemHdrType >.
Definition at line 403 of file Archive.cpp.
References getArchiveMemberDecField(), getRawUID(), and Parent.
Implemented in llvm::object::ArchiveMemberHeader, and llvm::object::BigArchiveMemberHeader.
Definition at line 73 of file Archive.h.
Referenced by llvm::object::ArchiveMemberHeader::ArchiveMemberHeader(), llvm::object::BigArchiveMemberHeader::BigArchiveMemberHeader(), createMemberHeaderParseError(), getAccessMode(), getGID(), getLastModified(), llvm::object::ArchiveMemberHeader::getName(), llvm::object::ArchiveMemberHeader::getNextChildLoc(), llvm::object::BigArchiveMemberHeader::getNextChildLoc(), llvm::object::BigArchiveMemberHeader::getNextOffset(), llvm::object::ArchiveMemberHeader::getRawName(), llvm::object::BigArchiveMemberHeader::getRawName(), llvm::object::BigArchiveMemberHeader::getRawNameSize(), llvm::object::ArchiveMemberHeader::getSize(), llvm::object::BigArchiveMemberHeader::getSize(), getUID(), and llvm::object::ArchiveMemberHeader::isThin().