LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::object::CommonArchiveMemberHeader< T > Class Template Reference

#include "llvm/Object/Archive.h"

Inheritance diagram for llvm::object::CommonArchiveMemberHeader< T >:
Inheritance graph
[legend]

Public Member Functions

 CommonArchiveMemberHeader (const Archive *Parent, const T *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.
 

Public Attributes

T constArMemHdr
 
- Public Attributes inherited from llvm::object::AbstractArchiveMemberHeader
const ArchiveParent
 

Additional Inherited Members

- Protected Member Functions inherited from llvm::object::AbstractArchiveMemberHeader
 AbstractArchiveMemberHeader (const Archive *Parent)
 

Detailed Description

template<typename T>
class llvm::object::CommonArchiveMemberHeader< T >

Definition at line 77 of file Archive.h.

Constructor & Destructor Documentation

◆ CommonArchiveMemberHeader()

template<typename T >
llvm::object::CommonArchiveMemberHeader< T >::CommonArchiveMemberHeader ( const Archive Parent,
const T RawHeaderPtr 
)
inline

Definition at line 79 of file Archive.h.

Member Function Documentation

◆ getOffset()

template<class T >
uint64_t CommonArchiveMemberHeader::getOffset
overridevirtual

Implements llvm::object::AbstractArchiveMemberHeader.

Definition at line 87 of file Archive.cpp.

◆ getRawAccessMode()

template<class T >
StringRef CommonArchiveMemberHeader::getRawAccessMode
overridevirtual

Implements llvm::object::AbstractArchiveMemberHeader.

Definition at line 70 of file Archive.cpp.

References getFieldRawString().

◆ getRawGID()

template<class T >
StringRef CommonArchiveMemberHeader::getRawGID
overridevirtual

Implements llvm::object::AbstractArchiveMemberHeader.

Definition at line 83 of file Archive.cpp.

◆ getRawLastModified()

template<class T >
StringRef CommonArchiveMemberHeader::getRawLastModified
overridevirtual

Implements llvm::object::AbstractArchiveMemberHeader.

Definition at line 75 of file Archive.cpp.

References getFieldRawString().

◆ getRawUID()

template<class T >
StringRef CommonArchiveMemberHeader::getRawUID
overridevirtual

Implements llvm::object::AbstractArchiveMemberHeader.

Definition at line 79 of file Archive.cpp.

References getFieldRawString().

◆ getSizeOf()

template<typename T >
uint64_t llvm::object::CommonArchiveMemberHeader< T >::getSizeOf ( ) const
inlineoverridevirtual

Returns the size in bytes of the format-defined member header of the concrete archive type.

Implements llvm::object::AbstractArchiveMemberHeader.

Definition at line 87 of file Archive.h.

References T.

Member Data Documentation

◆ ArMemHdr

template<typename T >
T const* llvm::object::CommonArchiveMemberHeader< T >::ArMemHdr

Definition at line 89 of file Archive.h.


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