LLVM 20.0.0git
Public Member Functions | List of all members
llvm::object::BigArchiveMemberHeader Class Reference

#include "llvm/Object/Archive.h"

Inheritance diagram for llvm::object::BigArchiveMemberHeader:
Inheritance graph
[legend]

Public Member Functions

 BigArchiveMemberHeader (Archive const *Parent, const char *RawHeaderPtr, uint64_t Size, Error *Err)
 
std::unique_ptr< AbstractArchiveMemberHeaderclone () const override
 
Expected< StringRefgetRawName () const override
 Get the name without looking up long names.
 
Expected< uint64_tgetRawNameSize () const
 
Expected< StringRefgetName (uint64_t Size) const override
 Get the name looking up long names.
 
Expected< uint64_tgetSize () const override
 
Expected< const char * > getNextChildLoc () const override
 Get next file member location.
 
Expected< uint64_tgetNextOffset () const
 
Expected< boolisThin () const override
 
- Public Member Functions inherited from llvm::object::CommonArchiveMemberHeader< BigArMemHdrType >
 CommonArchiveMemberHeader (const Archive *Parent, const BigArMemHdrType *RawHeaderPtr)
 
StringRef getRawAccessMode () const override
 
StringRef getRawLastModified () const override
 
StringRef getRawUID () const override
 
StringRef getRawGID () const override
 
uint64_t getOffset () const override
 
uint64_t getSizeOf () const override
 Returns the size in bytes of the format-defined member header of the concrete archive type.
 
- Public Member Functions inherited from llvm::object::AbstractArchiveMemberHeader
virtual std::unique_ptr< AbstractArchiveMemberHeaderclone () const =0
 
virtual ~AbstractArchiveMemberHeader ()=default
 
virtual Expected< StringRefgetRawName () 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< StringRefgetName (uint64_t Size) const =0
 Get the name looking up long names.
 
virtual Expected< uint64_tgetSize () const =0
 
virtual uint64_t getOffset () const =0
 
virtual Expected< const char * > getNextChildLoc () const =0
 Get next file member location.
 
virtual Expected< boolisThin () const =0
 
Expected< sys::fs::permsgetAccessMode () const
 
Expected< sys::TimePoint< std::chrono::seconds > > getLastModified () const
 
Expected< unsignedgetUID () const
 
Expected< unsignedgetGID () const
 
virtual uint64_t getSizeOf () const =0
 Returns the size in bytes of the format-defined member header of the concrete archive type.
 

Additional Inherited Members

- Public Attributes inherited from llvm::object::CommonArchiveMemberHeader< BigArMemHdrType >
BigArMemHdrType constArMemHdr
 
- Public Attributes inherited from llvm::object::AbstractArchiveMemberHeader
const ArchiveParent
 
- Protected Member Functions inherited from llvm::object::AbstractArchiveMemberHeader
 AbstractArchiveMemberHeader (const Archive *Parent)
 

Detailed Description

Definition at line 136 of file Archive.h.

Constructor & Destructor Documentation

◆ BigArchiveMemberHeader()

BigArchiveMemberHeader::BigArchiveMemberHeader ( Archive const Parent,
const char RawHeaderPtr,
uint64_t  Size,
Error Err 
)

Member Function Documentation

◆ clone()

std::unique_ptr< AbstractArchiveMemberHeader > llvm::object::BigArchiveMemberHeader::clone ( ) const
inlineoverridevirtual

Implements llvm::object::AbstractArchiveMemberHeader.

Definition at line 142 of file Archive.h.

◆ getName()

Expected< StringRef > BigArchiveMemberHeader::getName ( uint64_t  Size) const
overridevirtual

Get the name looking up long names.

Implements llvm::object::AbstractArchiveMemberHeader.

Definition at line 353 of file Archive.cpp.

References getRawName().

◆ getNextChildLoc()

Expected< const char * > BigArchiveMemberHeader::getNextChildLoc ( ) const
overridevirtual

◆ getNextOffset()

Expected< uint64_t > BigArchiveMemberHeader::getNextOffset ( ) const

◆ getRawName()

Expected< StringRef > BigArchiveMemberHeader::getRawName ( ) const
overridevirtual

◆ getRawNameSize()

Expected< uint64_t > BigArchiveMemberHeader::getRawNameSize ( ) const

◆ getSize()

Expected< uint64_t > BigArchiveMemberHeader::getSize ( ) const
overridevirtual

◆ isThin()

Expected< bool > llvm::object::BigArchiveMemberHeader::isThin ( ) const
inlineoverridevirtual

Implements llvm::object::AbstractArchiveMemberHeader.

Definition at line 153 of file Archive.h.


The documentation for this class was generated from the following files: