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::ManagedResultSet Class Reference
Inheritance diagram for duckdb::ManagedResultSet:
Collaboration diagram for duckdb::ManagedResultSet:

Public Member Functions

 ManagedResultSet (const weak_ptr< DatabaseInstance > &db, vector< shared_ptr< BlockHandle > > &handles)
bool IsValid () const
shared_ptr< DatabaseInstance > GetDatabase () const
vector< shared_ptr< BlockHandle > > & GetHandles ()
Public Member Functions inherited from duckdb::enable_shared_from_this< ManagedResultSet >
shared_ptr< ManagedResultSet > shared_from_this ()

Private Attributes

bool valid
weak_ptr< DatabaseInstance > db
optional_ptr< vector< shared_ptr< BlockHandle > > > handles

Additional Inherited Members

Protected Member Functions inherited from duckdb::enable_shared_from_this< ManagedResultSet >
enable_shared_from_this & operator= (enable_shared_from_this const &) noexcept

Constructor & Destructor Documentation

◆ ManagedResultSet() [1/2]

duckdb::ManagedResultSet::ManagedResultSet ( )
299663 : valid(false) {
299664}

◆ ManagedResultSet() [2/2]

duckdb::ManagedResultSet::ManagedResultSet ( const weak_ptr< DatabaseInstance > & db,
vector< shared_ptr< BlockHandle > > & handles )
299667 : valid(true), db(db_p), handles(handles_p) {
299668}

Member Function Documentation

◆ IsValid()

bool duckdb::ManagedResultSet::IsValid ( ) const
299670 {
299671 return valid;
299672}

◆ GetDatabase()

shared_ptr< DatabaseInstance > duckdb::ManagedResultSet::GetDatabase ( ) const
299674 {
299675 D_ASSERT(IsValid());
299676 return db.lock();
299677}

◆ GetHandles()

vector< shared_ptr< BlockHandle > > & duckdb::ManagedResultSet::GetHandles ( )
299679 {
299680 D_ASSERT(IsValid());
299681 return *handles;
299682}

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