LLVM  6.0.0svn
Classes | Public Member Functions | Friends | List of all members
llvm::object::ArchiveMemberHeader Class Reference

#include "llvm/Object/Archive.h"

Public Member Functions

 ArchiveMemberHeader (Archive const *Parent, const char *RawHeaderPtr, uint64_t Size, Error *Err)
 
Expected< StringRefgetRawName () const
 Get the name without looking up long names. More...
 
Expected< StringRefgetName (uint64_t Size) const
 Get the name looking up long names. More...
 
Expected< uint32_tgetSize () const
 Members are not larger than 4GB. More...
 
Expected< sys::fs::permsgetAccessMode () const
 
Expected< sys::TimePoint< std::chrono::seconds > > getLastModified () const
 
StringRef getRawLastModified () const
 
Expected< unsignedgetUID () const
 
Expected< unsignedgetGID () const
 
uint64_t getSizeOf () const
 

Friends

class Archive
 

Detailed Description

Definition at line 37 of file Archive.h.

Constructor & Destructor Documentation

◆ ArchiveMemberHeader()

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

Member Function Documentation

◆ getAccessMode()

Expected< sys::fs::perms > ArchiveMemberHeader::getAccessMode ( ) const

◆ getGID()

Expected< unsigned > ArchiveMemberHeader::getGID ( ) const

◆ getLastModified()

Expected< sys::TimePoint< std::chrono::seconds > > ArchiveMemberHeader::getLastModified ( ) const

◆ getName()

Expected< StringRef > ArchiveMemberHeader::getName ( uint64_t  Size) const

◆ getRawLastModified()

StringRef llvm::object::ArchiveMemberHeader::getRawLastModified ( ) const
inline

Definition at line 57 of file Archive.h.

References getGID(), getUID(), and llvm::StringRef::rtrim().

Referenced by llvm::object::Archive::Child::getRawLastModified().

◆ getRawName()

Expected< StringRef > ArchiveMemberHeader::getRawName ( ) const

◆ getSize()

Expected< uint32_t > ArchiveMemberHeader::getSize ( ) const

◆ getSizeOf()

uint64_t llvm::object::ArchiveMemberHeader::getSizeOf ( ) const
inline

◆ getUID()

Expected< unsigned > ArchiveMemberHeader::getUID ( ) const

Friends And Related Function Documentation

◆ Archive

friend class Archive
friend

Definition at line 39 of file Archive.h.

Referenced by llvm::object::Archive::symbol_iterator::operator++().


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