libebml_ng
Namespaces | Macros | Functions | Variables
repr.cpp File Reference
#include "cxxabi.h"
#include <iostream>
#include <unordered_map>
#include <map>
#include <iomanip>
#include "libebml_ng/repr.h"
#include "libebml_ng/struct/unicode.h"
#include "libebml_ng/struct/datetime.h"
#include "libebml_ng/struct.tpp"

Namespaces

 ebml
 

Macros

#define EBML_NG_REPR_CPP
 

Functions

bool ebml::in_multrange (const std::map< char16_t, char16_t > &d, char16_t c)
 
std::wstring ebml::repr (const std::string &str)
 
bool ebml::in_multrange (const std::map< wchar_t, wchar_t > &d, wchar_t c)
 
std::wstring ebml::repr (const std::wstring &str)
 
std::wstring ebml::repr (unsigned long long n)
 
std::wstring ebml::repr (unsigned long n)
 
std::wstring ebml::repr (long long z)
 
std::wstring ebml::repr (long z)
 
std::wstring ebml::repr (double x)
 
std::wstring ebml::repr (timepoint_t t)
 

Variables

static const std::unordered_map< char, std::wstring > ebml::special = {{0x27, L"\\'"}, {0x09, L"\\t"}, {0x10, L"\\n"}, {0x13, L"\\r"}, {0x92, L"\\\\"}}
 
static const std::map< char16_t, char16_t > ebml::x_ranges
 
static const std::unordered_map< wchar_t, std::wstring > ebml::special_unicode = {{0x27, L"\\'"}, {0x09, L"\\t"}, {0x10, L"\\n"}, {0x13, L"\\r"}, {0x92, L"\\\\"}}
 
static const std::map< wchar_t, wchar_t > ebml::x_ranges_unicode
 
static const std::map< wchar_t, wchar_t > ebml::u_ranges
 
static const std::map< wchar_t, wchar_t > ebml::U_ranges
 

Macro Definition Documentation

◆ EBML_NG_REPR_CPP

#define EBML_NG_REPR_CPP