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

Public Member Functions

 TypeInfo (const LogicalType &type)
 
 TypeInfo (string alias)
 
hash_t GetHash () const
 
bool operator== (const TypeInfo &other) const
 

Public Attributes

string alias
 
LogicalTypeId type
 

Constructor & Destructor Documentation

◆ TypeInfo() [1/3]

duckdb::TypeInfo::TypeInfo ( )
45006 : type() {
45007}

◆ TypeInfo() [2/3]

duckdb::TypeInfo::TypeInfo ( const LogicalType type)
explicit
45009 : alias(type_p.GetAlias()), type(type_p.id()) {
45010}

◆ TypeInfo() [3/3]

duckdb::TypeInfo::TypeInfo ( string  alias)
explicit
45012 : alias(std::move(alias)), type(LogicalTypeId::ANY) {
45013}

Member Function Documentation

◆ GetHash()

hash_t duckdb::TypeInfo::GetHash ( ) const
45015 {
45016 const auto h_type_id = Hash(type);
45017 const auto h_alias = Hash(alias.c_str());
45018 return CombineHash(h_type_id, h_alias);
45019}
hash_t CombineHash(hash_t left, hash_t right)
Combine two hashes by XORing them.
Definition duckdb.hpp:4635

◆ operator==()

bool duckdb::TypeInfo::operator== ( const TypeInfo other) const
45021 {
45022 return alias == other.alias && type == other.type;
45023}

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