LLVM 23.0.0git
llvm::cas::NamedValuesEntry Struct Reference

Represents an entry in NamedValuesSchema. More...

#include "llvm/CAS/NamedValuesSchema.h"

Public Member Functions

 NamedValuesEntry (StringRef Name, ObjectRef Ref)

Public Attributes

StringRef Name
ObjectRef Ref

Friends

bool operator== (const NamedValuesEntry &LHS, const NamedValuesEntry &RHS)
bool operator< (const NamedValuesEntry &LHS, const NamedValuesEntry &RHS)
 Ordering the entries by name. Items should have unique names.

Detailed Description

Represents an entry in NamedValuesSchema.

Definition at line 28 of file NamedValuesSchema.h.

Constructor & Destructor Documentation

◆ NamedValuesEntry()

llvm::cas::NamedValuesEntry::NamedValuesEntry ( StringRef Name,
ObjectRef Ref )
inline

Definition at line 29 of file NamedValuesSchema.h.

References Name, and Ref.

Referenced by operator<, and operator==.

◆ operator<

bool operator< ( const NamedValuesEntry & LHS,
const NamedValuesEntry & RHS )
friend

Ordering the entries by name. Items should have unique names.

Definition at line 40 of file NamedValuesSchema.h.

References LHS, NamedValuesEntry(), and RHS.

◆ operator==

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

Definition at line 34 of file NamedValuesSchema.h.

References LHS, NamedValuesEntry(), and RHS.

Member Data Documentation

◆ Name

StringRef llvm::cas::NamedValuesEntry::Name

Definition at line 31 of file NamedValuesSchema.h.

Referenced by NamedValuesEntry().

◆ Ref

ObjectRef llvm::cas::NamedValuesEntry::Ref

Definition at line 32 of file NamedValuesSchema.h.

Referenced by NamedValuesEntry().


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