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

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

aggregate_state_t state_type
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

◆ AggregateStateTypeInfo() [1/2]

duckdb::AggregateStateTypeInfo::AggregateStateTypeInfo ( aggregate_state_t state_type_p)
explicit
72354 : ExtraTypeInfo(ExtraTypeInfoType::AGGREGATE_STATE_TYPE_INFO), state_type(std::move(state_type_p)) {
72355}

◆ AggregateStateTypeInfo() [2/2]

duckdb::AggregateStateTypeInfo::AggregateStateTypeInfo ( )
private
72350 : ExtraTypeInfo(ExtraTypeInfoType::AGGREGATE_STATE_TYPE_INFO) {
72351}

Member Function Documentation

◆ Serialize()

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

Reimplemented from duckdb::ExtraTypeInfo.

419881 {
419882 ExtraTypeInfo::Serialize(serializer);
419883 serializer.WritePropertyWithDefault<string>(200, "function_name", state_type.function_name);
419884 serializer.WriteProperty<LogicalType>(201, "return_type", state_type.return_type);
419885 serializer.WritePropertyWithDefault<vector<LogicalType>>(202, "bound_argument_types", state_type.bound_argument_types);
419886}

◆ Deserialize()

shared_ptr< ExtraTypeInfo > duckdb::AggregateStateTypeInfo::Deserialize ( Deserializer & source)
static
419888 {
419889 auto result = duckdb::shared_ptr<AggregateStateTypeInfo>(new AggregateStateTypeInfo());
419890 deserializer.ReadPropertyWithDefault<string>(200, "function_name", result->state_type.function_name);
419891 deserializer.ReadProperty<LogicalType>(201, "return_type", result->state_type.return_type);
419892 deserializer.ReadPropertyWithDefault<vector<LogicalType>>(202, "bound_argument_types", result->state_type.bound_argument_types);
419893 return std::move(result);
419894}

◆ Copy()

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

Reimplemented from duckdb::ExtraTypeInfo.

72364 {
72365 return make_shared_ptr<AggregateStateTypeInfo>(*this);
72366}

◆ EqualsInternal()

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

Reimplemented from duckdb::ExtraTypeInfo.

72357 {
72358 auto &other = other_p->Cast<AggregateStateTypeInfo>();
72359 return state_type.function_name == other.state_type.function_name &&
72360 state_type.return_type == other.state_type.return_type &&
72361 state_type.bound_argument_types == other.state_type.bound_argument_types;
72362}

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