LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
llvm::object::Archive::Child Class Reference

#include <Archive.h>

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
 
error_code getName (StringRef &Result) 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
 
error_code getMemoryBuffer (OwningPtr< MemoryBuffer > &Result, bool FullPath=false) const
 
error_code getAsBinary (OwningPtr< Binary > &Result) const
 

Detailed Description

Definition at line 49 of file Archive.h.

Constructor & Destructor Documentation

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

Member Function Documentation

sys::fs::perms llvm::object::Archive::Child::getAccessMode ( ) const
inline

Definition at line 81 of file Archive.h.

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

error_code Archive::Child::getAsBinary ( OwningPtr< Binary > &  Result) const
StringRef llvm::object::Archive::Child::getBuffer ( ) const
inline
unsigned llvm::object::Archive::Child::getGID ( ) const
inline

Definition at line 80 of file Archive.h.

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

sys::TimeValue llvm::object::Archive::Child::getLastModified ( ) const
inline

Definition at line 76 of file Archive.h.

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

error_code Archive::Child::getMemoryBuffer ( OwningPtr< MemoryBuffer > &  Result,
bool  FullPath = false 
) const
error_code Archive::Child::getName ( StringRef Result) const
Archive::Child Archive::Child::getNext ( ) const
StringRef llvm::object::Archive::Child::getRawName ( ) const
inline

Definition at line 75 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 85 of file Archive.h.

References llvm::StringRef::size().

Referenced by getBuffer().

unsigned llvm::object::Archive::Child::getUID ( ) const
inline

Definition at line 79 of file Archive.h.

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

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

Definition at line 68 of file Archive.h.

References llvm::StringRef::begin().

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

Definition at line 63 of file Archive.h.

References llvm::StringRef::begin().


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