LLVM API Documentation

Public Member Functions
llvm::object::Archive::Child Class Reference

#include <Archive.h>

List of all members.

Public Member Functions

 Child (const Archive *Parent, const char *Start)
bool operator== (const Child &other) const
bool operator< (const Child &other) const
Child getNext () const
ErrorOr< StringRefgetName () const
StringRef getRawName () const
sys::TimeValue getLastModified () const
unsigned getUID () const
unsigned getGID () const
sys::fs::perms getAccessMode () const
uint64_t getSize () const
StringRef getBuffer () const
ErrorOr< MemoryBufferRefgetMemoryBufferRef () const
ErrorOr< std::unique_ptr
< Binary > > 
getAsBinary (LLVMContext *Context=nullptr) const

Detailed Description

Definition at line 50 of file Archive.h.


Constructor & Destructor Documentation

Archive::Child::Child ( const Archive Parent,
const char *  Start 
)

Member Function Documentation

Definition at line 82 of file Archive.h.

References llvm::object::ArchiveMemberHeader::getAccessMode().

ErrorOr< std::unique_ptr< Binary > > Archive::Child::getAsBinary ( LLVMContext Context = nullptr) const

Definition at line 81 of file Archive.h.

References llvm::object::ArchiveMemberHeader::getGID().

Definition at line 77 of file Archive.h.

References llvm::object::ArchiveMemberHeader::getLastModified().

Definition at line 76 of file Archive.h.

References llvm::object::ArchiveMemberHeader::getName().

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

uint64_t llvm::object::Archive::Child::getSize ( ) const [inline]
Returns:
the size of the archive member without the header or padding.

Definition at line 86 of file Archive.h.

References llvm::StringRef::size().

Referenced by getBuffer().

Definition at line 80 of file Archive.h.

References llvm::object::ArchiveMemberHeader::getUID().

bool llvm::object::Archive::Child::operator< ( const Child other) const [inline]

Definition at line 69 of file Archive.h.

References llvm::StringRef::begin().

bool llvm::object::Archive::Child::operator== ( const Child other) const [inline]

Definition at line 64 of file Archive.h.

References llvm::StringRef::begin().


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