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

Public Member Functions

 IntegerLiteralTypeInfo (Value constant_value)
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

Value constant_value
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

◆ IntegerLiteralTypeInfo() [1/2]

duckdb::IntegerLiteralTypeInfo::IntegerLiteralTypeInfo ( Value constant_value)
explicit
72619 : ExtraTypeInfo(ExtraTypeInfoType::INTEGER_LITERAL_TYPE_INFO), constant_value(std::move(constant_value_p)) {
72620 if (constant_value.IsNull()) {
72621 throw InternalException("Integer literal cannot be NULL");
72622 }
72623}

◆ IntegerLiteralTypeInfo() [2/2]

duckdb::IntegerLiteralTypeInfo::IntegerLiteralTypeInfo ( )
private
72615 : ExtraTypeInfo(ExtraTypeInfoType::INTEGER_LITERAL_TYPE_INFO) {
72616}

Member Function Documentation

◆ Serialize()

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

Reimplemented from duckdb::ExtraTypeInfo.

419958 {
419959 ExtraTypeInfo::Serialize(serializer);
419960 serializer.WriteProperty<Value>(200, "constant_value", constant_value);
419961}

◆ Deserialize()

shared_ptr< ExtraTypeInfo > duckdb::IntegerLiteralTypeInfo::Deserialize ( Deserializer & source)
static
419963 {
419964 auto result = duckdb::shared_ptr<IntegerLiteralTypeInfo>(new IntegerLiteralTypeInfo());
419965 deserializer.ReadProperty<Value>(200, "constant_value", result->constant_value);
419966 return std::move(result);
419967}

◆ Copy()

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

Reimplemented from duckdb::ExtraTypeInfo.

72630 {
72631 return make_shared_ptr<IntegerLiteralTypeInfo>(*this);
72632}

◆ EqualsInternal()

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

Reimplemented from duckdb::ExtraTypeInfo.

72625 {
72626 auto &other = other_p->Cast<IntegerLiteralTypeInfo>();
72627 return constant_value == other.constant_value;
72628}

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