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::StructTypeInfo Struct Reference
Inheritance diagram for duckdb::StructTypeInfo:
Collaboration diagram for duckdb::StructTypeInfo:

Public Member Functions

 StructTypeInfo (child_list_t< LogicalType > child_types_p)
void Serialize (Serializer &serializer) const override
shared_ptr< ExtraTypeInfo > Copy () const override
shared_ptr< ExtraTypeInfo > DeepCopy () const override
Public Member Functions inherited from duckdb::ExtraTypeInfo
 ExtraTypeInfo (ExtraTypeInfoType type)
 ExtraTypeInfo (ExtraTypeInfoType type, string alias)
bool Equals (ExtraTypeInfo *other_p) const
template<class TARGET>
TARGET & Cast ()
template<class TARGET>
const TARGET & Cast () const

Static Public Member Functions

static shared_ptr< ExtraTypeInfo > Deserialize (Deserializer &deserializer)
Static Public Member Functions inherited from duckdb::ExtraTypeInfo
static shared_ptr< ExtraTypeInfo > Deserialize (Deserializer &source)

Public Attributes

child_list_t< LogicalType > child_types
Public Attributes inherited from duckdb::ExtraTypeInfo
ExtraTypeInfoType type
string alias
unique_ptr< ExtensionTypeInfo > extension_info

Protected Member Functions

bool EqualsInternal (ExtraTypeInfo *other_p) const override
Protected Member Functions inherited from duckdb::ExtraTypeInfo
 ExtraTypeInfo (const ExtraTypeInfo &other)
ExtraTypeInfo & operator= (const ExtraTypeInfo &other)

Constructor & Destructor Documentation

◆ StructTypeInfo() [1/2]

duckdb::StructTypeInfo::StructTypeInfo ( child_list_t< LogicalType > child_types_p)
explicit
72327 : ExtraTypeInfo(ExtraTypeInfoType::STRUCT_TYPE_INFO), child_types(std::move(child_types_p)) {
72328}

◆ StructTypeInfo() [2/2]

duckdb::StructTypeInfo::StructTypeInfo ( )
private
72323 : ExtraTypeInfo(ExtraTypeInfoType::STRUCT_TYPE_INFO) {
72324}

Member Function Documentation

◆ Serialize()

void duckdb::StructTypeInfo::Serialize ( Serializer & serializer) const
overridevirtual

Reimplemented from duckdb::ExtraTypeInfo.

420003 {
420004 ExtraTypeInfo::Serialize(serializer);
420005 serializer.WritePropertyWithDefault<child_list_t<LogicalType>>(200, "child_types", child_types);
420006}

◆ Deserialize()

shared_ptr< ExtraTypeInfo > duckdb::StructTypeInfo::Deserialize ( Deserializer & deserializer)
static
420008 {
420009 auto result = duckdb::shared_ptr<StructTypeInfo>(new StructTypeInfo());
420010 deserializer.ReadPropertyWithDefault<child_list_t<LogicalType>>(200, "child_types", result->child_types);
420011 return std::move(result);
420012}

◆ Copy()

shared_ptr< ExtraTypeInfo > duckdb::StructTypeInfo::Copy ( ) const
overridevirtual

Reimplemented from duckdb::ExtraTypeInfo.

72335 {
72336 return make_shared_ptr<StructTypeInfo>(*this);
72337}

◆ DeepCopy()

shared_ptr< ExtraTypeInfo > duckdb::StructTypeInfo::DeepCopy ( ) const
overridevirtual

Reimplemented from duckdb::ExtraTypeInfo.

72339 {
72340 child_list_t<LogicalType> copied_child_types;
72341 for (const auto &child_type : child_types) {
72342 copied_child_types.emplace_back(child_type.first, child_type.second.DeepCopy());
72343 }
72344 return make_shared_ptr<StructTypeInfo>(std::move(copied_child_types));
72345}

◆ EqualsInternal()

bool duckdb::StructTypeInfo::EqualsInternal ( ExtraTypeInfo * other_p) const
overrideprotectedvirtual

Reimplemented from duckdb::ExtraTypeInfo.

72330 {
72331 auto &other = other_p->Cast<StructTypeInfo>();
72332 return child_types == other.child_types;
72333}

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