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 *p, StringRef d)
bool operator== (const Child &other) const
bool operator< (const Child &other) const
Child getNext () const
error_code getName (StringRef &Result) const
int getLastModified () const
int getUID () const
int getGID () const
int 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 67 of file Object/Archive.h.


Constructor & Destructor Documentation

llvm::object::Archive::Child::Child ( const Archive p,
StringRef  d 
) [inline]

Member Function Documentation

int llvm::object::Archive::Child::getAccessMode ( ) const
error_code Archive::Child::getAsBinary ( OwningPtr< Binary > &  Result) const
StringRef llvm::object::Archive::Child::getBuffer ( ) const [inline]

Definition at line 124 of file Object/Archive.h.

References llvm::StringRef::data(), and getSize().

Referenced by getMemoryBuffer().

int llvm::object::Archive::Child::getGID ( ) const
int llvm::object::Archive::Child::getLastModified ( ) const
error_code llvm::object::Archive::Child::getMemoryBuffer ( OwningPtr< MemoryBuffer > &  Result,
bool  FullPath = false 
) const [inline]
error_code Archive::Child::getName ( StringRef Result) const
Child llvm::object::Archive::Child::getNext ( ) const [inline]
uint64_t llvm::object::Archive::Child::getSize ( ) const [inline]
Returns:
the size of the archive member without the header or padding.

Definition at line 122 of file Object/Archive.h.

References llvm::StringRef::size().

Referenced by getBuffer().

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

Definition at line 94 of file Object/Archive.h.

References llvm::StringRef::begin().

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

Definition at line 90 of file Object/Archive.h.

References llvm::StringRef::begin().


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