Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
onnx::detail::WireReader Class Reference

Definition at line 37 of file onnx.hxx.

Public Member Functions

 WireReader (const char *data, std::size_t n)
 
bool eof () const
 
bool ok () const
 
uint32_t ReadFixed32 ()
 
uint64_t ReadFixed64 ()
 
std::pair< const char *, std::size_t > ReadLen ()
 
bool ReadTag (uint32_t &field, uint32_t &wire)
 
uint64_t ReadVarint ()
 
void SkipField (uint32_t wire)
 

Private Attributes

const uint8_t * fEnd
 
bool fOk = true
 
const uint8_t * fP
 

#include </github/home/ROOT-CI/src/tmva/sofie_parsers/src/onnx.hxx>

Constructor & Destructor Documentation

◆ WireReader()

onnx::detail::WireReader::WireReader ( const char * data,
std::size_t n )
inline

Definition at line 43 of file onnx.hxx.

Member Function Documentation

◆ eof()

bool onnx::detail::WireReader::eof ( ) const
inline

Definition at line 46 of file onnx.hxx.

◆ ok()

bool onnx::detail::WireReader::ok ( ) const
inline

Definition at line 45 of file onnx.hxx.

◆ ReadFixed32()

uint32_t onnx::detail::WireReader::ReadFixed32 ( )
inline

Definition at line 66 of file onnx.hxx.

◆ ReadFixed64()

uint64_t onnx::detail::WireReader::ReadFixed64 ( )
inline

Definition at line 77 of file onnx.hxx.

◆ ReadLen()

std::pair< const char *, std::size_t > onnx::detail::WireReader::ReadLen ( )
inline

Definition at line 91 of file onnx.hxx.

◆ ReadTag()

bool onnx::detail::WireReader::ReadTag ( uint32_t & field,
uint32_t & wire )
inline

Definition at line 103 of file onnx.hxx.

◆ ReadVarint()

uint64_t onnx::detail::WireReader::ReadVarint ( )
inline

Definition at line 48 of file onnx.hxx.

◆ SkipField()

void onnx::detail::WireReader::SkipField ( uint32_t wire)
inline

Definition at line 115 of file onnx.hxx.

Member Data Documentation

◆ fEnd

const uint8_t* onnx::detail::WireReader::fEnd
private

Definition at line 39 of file onnx.hxx.

◆ fOk

bool onnx::detail::WireReader::fOk = true
private

Definition at line 40 of file onnx.hxx.

◆ fP

const uint8_t* onnx::detail::WireReader::fP
private

Definition at line 38 of file onnx.hxx.

  • tmva/sofie_parsers/src/onnx.hxx