LLVM 22.0.0git
llvm::cas::FileOffset Class Reference

FileOffset is a wrapper around uint64_t to represent the offset of data from the beginning of the file. More...

#include "llvm/CAS/FileOffset.h"

Public Member Functions

uint64_t get () const
 operator bool () const
 FileOffset ()=default
 FileOffset (uint64_t Offset)

Detailed Description

FileOffset is a wrapper around uint64_t to represent the offset of data from the beginning of the file.

Definition at line 24 of file FileOffset.h.

Constructor & Destructor Documentation

◆ FileOffset() [1/2]

llvm::cas::FileOffset::FileOffset ( )
default

◆ FileOffset() [2/2]

llvm::cas::FileOffset::FileOffset ( uint64_t Offset)
inlineexplicit

Definition at line 31 of file FileOffset.h.

Member Function Documentation

◆ get()

uint64_t llvm::cas::FileOffset::get ( ) const
inline

Definition at line 26 of file FileOffset.h.

◆ operator bool()

llvm::cas::FileOffset::operator bool ( ) const
inlineexplicit

Definition at line 28 of file FileOffset.h.


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