LLVM  15.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]
Collaboration diagram for llvm::object::BigArchiveMemberHeader:
Collaboration 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. More...
 
Expected< uint64_tgetRawNameSize () const
 
Expected< StringRefgetName (uint64_t Size) const override
 Get the name looking up long names. More...
 
Expected< uint64_tgetSize () const override
 
Expected< const char * > getNextChildLoc () const override
 Get next file member location. More...
 
Expected< uint64_tgetNextOffset () const
 
Expected< bool > isThin () 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. More...
 
- Public Member Functions inherited from llvm::object::AbstractArchiveMemberHeader
virtual ~AbstractArchiveMemberHeader ()=default
 
virtual StringRef getRawAccessMode () const =0
 
virtual StringRef getRawLastModified () const =0
 
virtual StringRef getRawUID () const =0
 
virtual StringRef getRawGID () const =0
 
virtual uint64_t getOffset () const =0
 
Expected< sys::fs::permsgetAccessMode () 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. More...
 

Additional Inherited Members

- Public Attributes inherited from llvm::object::CommonArchiveMemberHeader< BigArMemHdrType >
const BigArMemHdrTypeArMemHdr
 
- 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 139 of file Archive.h.

Constructor & Destructor Documentation

◆ BigArchiveMemberHeader()

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

Definition at line 130 of file Archive.cpp.

Member Function Documentation

◆ clone()

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

Implements llvm::object::AbstractArchiveMemberHeader.

Definition at line 145 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 339 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 156 of file Archive.h.


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