LLVM 22.0.0git
llvm::cas::ondisk::ObjectID Class Reference

Reference to a node. More...

#include "llvm/CAS/OnDiskGraphDB.h"

Public Member Functions

uint64_t getOpaqueData () const

Static Public Member Functions

static ObjectID fromOpaqueData (uint64_t Opaque)

Friends

bool operator== (const ObjectID &LHS, const ObjectID &RHS)
bool operator!= (const ObjectID &LHS, const ObjectID &RHS)

Detailed Description

Reference to a node.

The node's data may not be stored in the database. An ObjectID instance can only be used with the OnDiskGraphDB instance it came from. ObjectIDs from different OnDiskGraphDB instances are not comparable.

Definition at line 179 of file OnDiskGraphDB.h.

Member Function Documentation

◆ fromOpaqueData()

ObjectID llvm::cas::ondisk::ObjectID::fromOpaqueData ( uint64_t Opaque)
inlinestatic

Definition at line 183 of file OnDiskGraphDB.h.

Referenced by llvm::cas::ondisk::object_refs_iterator::operator*().

◆ getOpaqueData()

uint64_t llvm::cas::ondisk::ObjectID::getOpaqueData ( ) const
inline

Definition at line 181 of file OnDiskGraphDB.h.

◆ operator!=

bool operator!= ( const ObjectID & LHS,
const ObjectID & RHS )
friend

Definition at line 188 of file OnDiskGraphDB.h.

References LHS, and RHS.

◆ operator==

bool operator== ( const ObjectID & LHS,
const ObjectID & RHS )
friend

Definition at line 185 of file OnDiskGraphDB.h.

References LHS, and RHS.


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