LLVM  15.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]
Collaboration diagram for llvm::object::CommonArchiveMemberHeader< T >:
Collaboration 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. More...
 
- 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. More...
 
virtual Expected< StringRefgetName (uint64_t Size) const =0
 Get the name looking up long names. More...
 
virtual Expected< uint64_tgetSize () const =0
 
virtual Expected< const char * > getNextChildLoc () const =0
 Get next file member location. More...
 
virtual Expected< bool > isThin () const =0
 
Expected< sys::fs::permsgetAccessMode () const
 
Expected< sys::TimePoint< std::chrono::seconds > > getLastModified () const
 
Expected< unsigned > getUID () const
 
Expected< unsigned > getGID () const
 

Public Attributes

const TArMemHdr
 
- 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 80 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 82 of file Archive.h.

Member Function Documentation

◆ getOffset()

template<typename T >
uint64_t CommonArchiveMemberHeader::getOffset ( ) const
overridevirtual

Implements llvm::object::AbstractArchiveMemberHeader.

Definition at line 88 of file Archive.cpp.

◆ getRawAccessMode()

template<typename T >
StringRef CommonArchiveMemberHeader::getRawAccessMode ( ) const
overridevirtual

Implements llvm::object::AbstractArchiveMemberHeader.

Definition at line 71 of file Archive.cpp.

◆ getRawGID()

template<typename T >
StringRef CommonArchiveMemberHeader::getRawGID ( ) const
overridevirtual

Implements llvm::object::AbstractArchiveMemberHeader.

Definition at line 84 of file Archive.cpp.

◆ getRawLastModified()

template<typename T >
StringRef CommonArchiveMemberHeader::getRawLastModified ( ) const
overridevirtual

Implements llvm::object::AbstractArchiveMemberHeader.

Definition at line 76 of file Archive.cpp.

◆ getRawUID()

template<typename T >
StringRef CommonArchiveMemberHeader::getRawUID ( ) const
overridevirtual

Implements llvm::object::AbstractArchiveMemberHeader.

Definition at line 80 of file Archive.cpp.

◆ 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 90 of file Archive.h.

Member Data Documentation

◆ ArMemHdr

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

Definition at line 92 of file Archive.h.


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