renamed basic_types enumerations

This commit is contained in:
2025-12-08 20:04:04 +01:00
parent d4ef97ef5a
commit 108eca4e53
26 changed files with 302 additions and 302 deletions
+8 -8
View File
@@ -23,7 +23,7 @@ identifier::base::base(const std::type_index &ti, const basic_type type)
{}
identifier::null_pk::null_pk()
: base(std::type_index(typeid(null_type_t)), basic_type::type_null)
: base(std::type_index(typeid(null_type_t)), basic_type::Null)
{}
identifier::base* identifier::null_pk::copy() const
@@ -134,31 +134,31 @@ size_t identifier::use_count() const
}
bool identifier::is_integer() const {
return id_->type_ >= basic_type::type_int8 && id_->type_ <= basic_type::type_uint64;
return id_->type_ >= basic_type::Int8 && id_->type_ <= basic_type::UInt64;
}
bool identifier::is_floating_point() const {
return id_->type_ == basic_type::type_float || id_->type_ == basic_type::type_double;
return id_->type_ == basic_type::Float || id_->type_ == basic_type::Double;
}
bool identifier::is_bool() const {
return id_->type_ == basic_type::type_bool;
return id_->type_ == basic_type::Boolean;
}
bool identifier::is_varchar() const {
return id_->type_ == basic_type::type_varchar;
return id_->type_ == basic_type::Varchar;
}
bool identifier::is_date() const {
return id_->type_ == basic_type::type_date;
return id_->type_ == basic_type::Date;
}
bool identifier::is_time() const {
return id_->type_ == basic_type::type_time;
return id_->type_ == basic_type::Time;
}
bool identifier::is_blob() const {
return id_->type_ == basic_type::type_blob;
return id_->type_ == basic_type::Blob;
}
bool identifier::is_null() const