libebml_ng
repr.h
Go to the documentation of this file.
1 #ifndef EBML_NG_REPR_H
2 #define EBML_NG_REPR_H
3 
4 #include <string>
5 #include <memory>
6 #include "struct/datetime.h"
7 
8 namespace ebml {
9  template <typename T>
10  std::wstring repr(const std::shared_ptr<T>& obj);
11 
12  template <typename T>
13  std::wstring repr(const T& obj);
14 
15  template <typename T>
16  std::wstring repr(T* const obj);
17 
18  std::wstring repr(const std::string&);
19  std::wstring repr(const std::wstring&);
20  std::wstring repr(unsigned long long);
21  std::wstring repr(unsigned long);
22  std::wstring repr(long long);
23  std::wstring repr(long);
24  std::wstring repr(double);
25  std::wstring repr(timepoint_t);
26 }
27 #endif
Definition: basictypes.h:40
std::chrono::time_point< std::chrono::system_clock, std::chrono::nanoseconds > timepoint_t
Definition: datetime.h:10
std::wstring repr(const std::string &str)
Definition: repr.cpp:36