OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
anonymous_namespace{AbstractMLModel.h} Namespace Reference

Functions

std::string default_metadata (const std::string &metadata)
 

Function Documentation

std::string anonymous_namespace{AbstractMLModel.h}::default_metadata ( const std::string &  metadata)

Definition at line 26 of file AbstractMLModel.h.

References shared::decode_base64().

Referenced by Geospatial::GDAL::logMetadata().

26  {
27  if (metadata == "" || metadata == "DEFAULT") {
28  return "{}";
29  }
30  return shared::decode_base64(metadata);
31 }
std::string decode_base64(const std::string &val, bool trim_nulls)
Definition: base64.h:27

+ Here is the call graph for this function:

+ Here is the caller graph for this function: