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

Public Member Functions

 ArrayTypeInfo (LogicalType child_type_p, uint32_t size_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 &reader)
Static Public Member Functions inherited from duckdb::ExtraTypeInfo
static shared_ptr< ExtraTypeInfo > Deserialize (Deserializer &source)

Public Attributes

LogicalType child_type
uint32_t size
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

◆ ArrayTypeInfo()

duckdb::ArrayTypeInfo::ArrayTypeInfo ( LogicalType child_type_p,
uint32_t size_p )
explicit
72573 : ExtraTypeInfo(ExtraTypeInfoType::ARRAY_TYPE_INFO), child_type(std::move(child_type_p)), size(size_p) {
72574}

Member Function Documentation

◆ Serialize()

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

Reimplemented from duckdb::ExtraTypeInfo.

419909 {
419910 ExtraTypeInfo::Serialize(serializer);
419911 serializer.WriteProperty<LogicalType>(200, "child_type", child_type);
419912 serializer.WritePropertyWithDefault<uint32_t>(201, "size", size);
419913}
::uint32_t uint32_t

◆ Deserialize()

shared_ptr< ExtraTypeInfo > duckdb::ArrayTypeInfo::Deserialize ( Deserializer & reader)
static
419915 {
419916 auto child_type = deserializer.ReadProperty<LogicalType>(200, "child_type");
419917 auto size = deserializer.ReadPropertyWithDefault<uint32_t>(201, "size");
419918 auto result = duckdb::shared_ptr<ArrayTypeInfo>(new ArrayTypeInfo(std::move(child_type), size));
419919 return std::move(result);
419920}

◆ Copy()

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

Reimplemented from duckdb::ExtraTypeInfo.

72581 {
72582 return make_shared_ptr<ArrayTypeInfo>(*this);
72583}

◆ DeepCopy()

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

Reimplemented from duckdb::ExtraTypeInfo.

72585 {
72586 return make_shared_ptr<ArrayTypeInfo>(child_type.DeepCopy(), size);
72587}

◆ EqualsInternal()

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

Reimplemented from duckdb::ExtraTypeInfo.

72576 {
72577 auto &other = other_p->Cast<ArrayTypeInfo>();
72578 return child_type == other.child_type && size == other.size;
72579}

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