Hyper API for C++
0.0.16377
Hyper client library for C++ applications
|
Go to the documentation of this file.
5 #ifndef TABLEAU_HYPER_NAME_HPP
6 #define TABLEAU_HYPER_NAME_HPP
23 std::string unescaped;
32 Name(std::string name);
38 Name(
const char* name);
41 const std::string&
toString()
const {
return name; }
44 bool isEmpty() const noexcept {
return name.empty(); }
59 inline bool operator<(
const Name& a,
const Name& b) noexcept {
return a.getUnescaped() < b.getUnescaped(); }
61 inline bool operator==(
const Name& a,
const Name& b) noexcept {
return a.getUnescaped() == b.getUnescaped(); }
71 #include <hyperapi/impl/Name.impl.hpp>
bool operator<(const DatabaseName &a, const DatabaseName &b) noexcept
Smaller operator.
bool isEmpty() const noexcept
Name(std::string name)
Constructs a properly quoted and escaped SQL name.
bool operator<=(const DatabaseName &a, const DatabaseName &b) noexcept
Smaller or equal operator.
bool operator>=(const DatabaseName &a, const DatabaseName &b) noexcept
Greater or equal operator.
Represents an escaped SQL name.
bool operator>(const DatabaseName &a, const DatabaseName &b) noexcept
Greater operator.
const std::string & toString() const
std::ostream & operator<<(std::ostream &os, const DatabaseName &name)
Stream output operator.
bool operator==(const DatabaseName &a, const DatabaseName &b) noexcept
Equality operator.
bool operator!=(const DatabaseName &a, const DatabaseName &b) noexcept
Not equal operator.
The primary namespace of the Hyper API for C++.
const std::string & getUnescaped() const