OmniSciDB
94e8789169
|
Classes | |
struct | PrintContainer |
struct | is_std_container |
struct | is_std_container< std::deque< T, A > > |
struct | is_std_container< std::list< T, A > > |
struct | is_std_container< std::set< T, A > > |
struct | is_std_container< std::unordered_set< T, A > > |
struct | is_std_container< std::vector< T, A > > |
struct | DivUMod |
Functions | |
std::string | decode_base64_uri (const std::string &data, bool trim_nulls) |
std::string | decode_base64 (const std::string &val, bool trim_nulls) |
std::string | decode_base64 (const std::string &val) |
static std::string | encode_base64 (const std::string &val) |
bool | isPowOfTwo (unsigned n) |
unsigned | getExpOfTwo (unsigned n) |
size_t | formatDate (char *buf, size_t const max, int64_t const unixtime) |
size_t | formatDateTime (char *buf, size_t const max, int64_t const timestamp, int const dimension) |
size_t | formatHMS (char *buf, size_t const max, int64_t const unixtime) |
template<typename T > | |
size_t | appendMove (std::vector< T > &destination, std::vector< T > &source) |
template<typename... Ts, typename T > | |
bool | dynamic_castable_to_any (T const *ptr) |
template<typename CONTAINER > | |
PrintContainer< CONTAINER > | printContainer (CONTAINER &container) |
template<typename OSTREAM , typename CONTAINER > | |
OSTREAM & | operator<< (OSTREAM &os, PrintContainer< CONTAINER > pc) |
DivUMod | divUMod (int64_t num, int64_t den) |
uint64_t | unsignedMod (int64_t num, int64_t den) |
size_t shared::appendMove | ( | std::vector< T > & | destination, |
std::vector< T > & | source | ||
) |
|
inline |
Definition at line 27 of file base64.h.
Referenced by decode_base64(), and decode_base64_uri().
|
inline |
Definition at line 41 of file base64.h.
References decode_base64().
std::string shared::decode_base64_uri | ( | const std::string & | data, |
bool | trim_nulls | ||
) |
Definition at line 21 of file base64.cpp.
References decode_base64().
|
inline |
Definition at line 128 of file misc.h.
References shared::DivUMod::quot.
Referenced by formatDate(), and formatDateTime().
bool shared::dynamic_castable_to_any | ( | T const * | ptr | ) |
|
inlinestatic |
size_t shared::formatDate | ( | char * | buf, |
size_t const | max, | ||
int64_t const | unixtime | ||
) |
Definition at line 25 of file misc.cpp.
References divUMod(), shared::DivUMod::quot, and shared::DivUMod::rem.
Referenced by DatumToString().
size_t shared::formatDateTime | ( | char * | buf, |
size_t const | max, | ||
int64_t const | timestamp, | ||
int const | dimension | ||
) |
Definition at line 43 of file misc.cpp.
References divUMod(), shared::DivUMod::quot, and shared::DivUMod::rem.
Referenced by DatumToString().
size_t shared::formatHMS | ( | char * | buf, |
size_t const | max, | ||
int64_t const | unixtime | ||
) |
Definition at line 80 of file misc.cpp.
References unsignedMod().
Referenced by DatumToString(), import_export::QueryExporterCSV::exportResults(), import_export::anonymous_namespace{QueryExporterGDAL.cpp}::insert_array_column(), and import_export::anonymous_namespace{QueryExporterGDAL.cpp}::insert_scalar_column().
unsigned shared::getExpOfTwo | ( | unsigned | n | ) |
bool shared::isPowOfTwo | ( | unsigned | n | ) |
Definition at line 19 of file MathUtils.cpp.
OSTREAM& shared::operator<< | ( | OSTREAM & | os, |
PrintContainer< CONTAINER > | pc | ||
) |
Definition at line 82 of file misc.h.
References printContainer().
PrintContainer<CONTAINER> shared::printContainer | ( | CONTAINER & | container | ) |
Definition at line 64 of file misc.h.
Referenced by QueryFragmentDescriptor::buildFragmentPerKernelMapForUnion(), RelAlgExecutor::createCompoundWorkUnit(), RelAlgExecutor::createUnionWorkUnit(), Executor::executePlanWithGroupBy(), Executor::fetchUnionChunks(), import_export::import_thread_delimited(), operator<<(), operator<<(), foreign_storage::csv_file_buffer_parser::parse_buffer(), ddl_utils::set_whitelisted_paths(), and anonymous_namespace{RelAlgExecutor.cpp}::target_exprs_for_union().
|
inline |
Definition at line 138 of file misc.h.
Referenced by formatHMS().