#include <string>
#include <vector>
#include <map>
#include <memory>
#include <array>
#include "awkward/common.h"
#include "dlfcn.h"
Go to the source code of this file.
Classes | |
struct | NameValuePair< T > |
Namespaces | |
namespace | awkward |
namespace | awkward::util |
Enumerations | |
enum class | datetime_units { unknown = -1 , Y = 1 , M = 2 , W = 3 , D = 4 , h = 5 , m = 6 , s = 7 , ms = 8 , us = 9 , ns = 10 , ps = 11 , fs = 12 , as = 13 } |
Valid datetime units. Different units of two datetime type Arrays will be normalized to the smallest unit (== a larger enum value). More... | |
Functions | |
const std::string | format_to_units (const std::string &format) |
Convert a format string into a datetime units string. More... | |
const std::string | units_to_format (dtype dt, const std::string &units, int64_t step) |
Convert a datetime units string into a format string. More... | |
template<class Mapping , class V > | |
std::string | name (Mapping a, V value) |
template<class Mapping > | |
Mapping::value_type::value_type | value (Mapping a, const std::string &name) |
std::tuple< std::string, int64_t > | datetime_data (const std::string &format) |
double | scale_from_units (const std::string &format, uint64_t index) |
Variables | |
const std::array< const NameValuePair< datetime_units >, 14 > | units_map |