LLVM: llvm::object::Archive::Child Class Reference (original) (raw)

#include "[llvm/Object/Archive.h](include%5F2llvm%5F2Object%5F2Archive%5F8h%5Fsource.html)"

Public Member Functions
LLVM_ABI Child (const Archive *Parent, const char *Start, Error *Err)
LLVM_ABI Child (const Archive *Parent, StringRef Data, uint16_t StartOfFile)
Child (const Child &C)
Child (Child &&C)
Child & operator= (Child &&C) noexcept
Child & operator= (const Child &C)
bool operator== (const Child &other) const
const Archive * getParent () const
LLVM_ABI Expected< Child > getNext () const
LLVM_ABI Expected< StringRef > getName () const
LLVM_ABI Expected< std::string > getFullName () const
Expected< StringRef > getRawName () const
Expected< sys::TimePoint< std::chrono::seconds > > getLastModified () const
StringRef getRawLastModified () const
Expected< unsigned > getUID () const
Expected< unsigned > getGID () const
Expected< sys::fs::perms > getAccessMode () const
LLVM_ABI Expected< uint64_t > getSize () const
LLVM_ABI Expected< uint64_t > getRawSize () const
LLVM_ABI Expected< StringRef > getBuffer () const
LLVM_ABI uint64_t getChildOffset () const
uint64_t getDataOffset () const
LLVM_ABI Expected< MemoryBufferRef > getMemoryBufferRef () const
LLVM_ABI Expected< std::unique_ptr< Binary > > getAsBinary (LLVMContext *Context=nullptr) const

Definition at line 163 of file Archive.h.

Child() [1/4]

Definition at line 467 of file Archive.cpp.

References assert(), llvm::Expected< T >::get(), llvm::StringRef::getAsInteger(), getRawName(), getRawSize(), llvm::object::Archive::isThin(), llvm::object::Archive::K_AIXBIG, malformedError(), llvm::XCOFF::NameSize, llvm::Offset, Size, and llvm::Expected< T >::takeError().

Referenced by Child(), Child(), getNext(), operator=(), operator=(), and operator==().

Child() [2/4]

Child() [3/4]

llvm::object::Archive::Child::Child ( const Child & C) inline

Child() [4/4]

llvm::object::Archive::Child::Child ( Child && C) inline

getAccessMode()

getAsBinary()

getBuffer()

getChildOffset()

uint64_t Archive::Child::getChildOffset ( ) const

getDataOffset()

uint64_t llvm::object::Archive::Child::getDataOffset ( ) const inline

getFullName()

Expected< std::string > Archive::Child::getFullName ( ) const

getGID()

getLastModified()

Expected< sys::TimePoint< std::chrono::seconds > > llvm::object::Archive::Child::getLastModified ( ) const inline

getMemoryBufferRef()

getName()

getNext()

getParent()

const Archive * llvm::object::Archive::Child::getParent ( ) const inline

getRawLastModified()

StringRef llvm::object::Archive::Child::getRawLastModified ( ) const inline

getRawName()

getRawSize()

getSize()

Returns

the size of the archive member without the header or padding.

Definition at line 540 of file Archive.cpp.

getUID()

operator=() [1/2]

Child & llvm::object::Archive::Child::operator= ( Child && C) inlinenoexcept

operator=() [2/2]

operator==()

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

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