LLVM: llvm::cas::ObjectProxy Class Reference (original) (raw)

Reference to an abstract hierarchical node, with data and references. More...

#include "[llvm/CAS/ObjectStore.h](ObjectStore%5F8h%5Fsource.html)"

Public Member Functions
ObjectStore & getCAS () const
CASID getID () const
ObjectRef getRef () const
size_t getNumReferences () const
ObjectRef getReference (size_t I) const
operator CASID () const
CASID getReferenceID (size_t I) const
Error forEachReference (function_ref< Error(ObjectRef)> Callback) const
Visit each reference in order, returning an error from Callback to stop early.
std::unique_ptr< MemoryBuffer > getMemoryBuffer (StringRef Name="", bool RequiresNullTerminator=true) const
StringRef getData () const
Get the content of the node. Valid as long as the CAS is valid.
ObjectProxy ()=delete

Reference to an abstract hierarchical node, with data and references.

Reference is passed by value and is expected to be valid as long as the ObjectStore is.

Definition at line 275 of file ObjectStore.h.

llvm::cas::ObjectProxy::ObjectProxy ( ) delete

forEachReference()

Visit each reference in order, returning an error from Callback to stop early.

Definition at line 292 of file ObjectStore.h.

getCAS()

ObjectStore & llvm::cas::ObjectProxy::getCAS ( ) const inline

getData()

StringRef llvm::cas::ObjectProxy::getData ( ) const inline

Get the content of the node. Valid as long as the CAS is valid.

Definition at line 301 of file ObjectStore.h.

getID()

CASID llvm::cas::ObjectProxy::getID ( ) const inline

getMemoryBuffer()

std::unique_ptr< MemoryBuffer > ObjectProxy::getMemoryBuffer ( StringRef Name = "",
bool RequiresNullTerminator = true ) const

getNumReferences()

size_t llvm::cas::ObjectProxy::getNumReferences ( ) const inline

getRef()

ObjectRef llvm::cas::ObjectProxy::getRef ( ) const inline

getReference()

ObjectRef llvm::cas::ObjectProxy::getReference ( size_t I) const inline

getReferenceID()

CASID llvm::cas::ObjectProxy::getReferenceID ( size_t I) const inline

load()

operator CASID()

llvm::cas::ObjectProxy::operator CASID ( ) const inline

operator!= [1/2]

operator!= [2/2]

operator== [1/2]

operator== [2/2]


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