Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::ReadStream Class Referenceabstract
Inheritance diagram for duckdb::ReadStream:

Public Member Functions

virtual void ReadData (data_ptr_t buffer, idx_t read_size)=0
 
virtual void ReadData (QueryContext context, data_ptr_t buffer, idx_t read_size)=0
 
template<class T >
Read ()
 
template<class T >
Read (QueryContext context)
 

Constructor & Destructor Documentation

◆ ~ReadStream()

virtual duckdb::ReadStream::~ReadStream ( )
inlinevirtual
57591 {
57592 }

Member Function Documentation

◆ ReadData()

virtual void duckdb::ReadStream::ReadData ( data_ptr_t  buffer,
idx_t  read_size 
)
pure virtual

Implemented in duckdb::MemoryStream.

◆ Read() [1/2]

template<class T >
T duckdb::ReadStream::Read ( )
inline
57579 {
57580 return Read<T>(QueryContext());
57581 }

◆ Read() [2/2]

template<class T >
T duckdb::ReadStream::Read ( QueryContext  context)
inline
57584 {
57585 static_assert(std::is_standard_layout<T>(), "Read element must be a standard layout data type");
57586 T value;
57587 ReadData(context, data_ptr_cast(&value), sizeof(T));
57588 return value;
57589 }

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