Agora  1.2.0
Agora project
os.h File Reference
#include <spdlog/common.h>
#include <ctime>
Include dependency graph for os.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 spdlog
 
 spdlog::details
 
 spdlog::details::os
 

Macros

#define SPDLOG_EOL   "\n"
 
#define SPDLOG_FOLDER_SEPS   "/"
 

Functions

SPDLOG_INLINE spdlog::log_clock::time_point spdlog::details::os::now () SPDLOG_NOEXCEPT
 
SPDLOG_INLINE std::tm spdlog::details::os::localtime (const std::time_t &time_tt) SPDLOG_NOEXCEPT
 
SPDLOG_INLINE std::tm spdlog::details::os::localtime () SPDLOG_NOEXCEPT
 
SPDLOG_INLINE std::tm spdlog::details::os::gmtime (const std::time_t &time_tt) SPDLOG_NOEXCEPT
 
SPDLOG_INLINE std::tm spdlog::details::os::gmtime () SPDLOG_NOEXCEPT
 
SPDLOG_INLINE bool spdlog::details::os::fopen_s (FILE **fp, const filename_t &filename, const filename_t &mode)
 
SPDLOG_INLINE int spdlog::details::os::remove (const filename_t &filename) SPDLOG_NOEXCEPT
 
SPDLOG_INLINE int spdlog::details::os::remove_if_exists (const filename_t &filename) SPDLOG_NOEXCEPT
 
SPDLOG_INLINE int spdlog::details::os::rename (const filename_t &filename1, const filename_t &filename2) SPDLOG_NOEXCEPT
 
SPDLOG_INLINE bool spdlog::details::os::path_exists (const filename_t &filename) SPDLOG_NOEXCEPT
 
SPDLOG_INLINE size_t spdlog::details::os::filesize (FILE *f)
 
SPDLOG_INLINE int spdlog::details::os::utc_minutes_offset (const std::tm &tm)
 
SPDLOG_INLINE size_t spdlog::details::os::_thread_id () SPDLOG_NOEXCEPT
 
SPDLOG_INLINE size_t spdlog::details::os::thread_id () SPDLOG_NOEXCEPT
 
SPDLOG_INLINE void spdlog::details::os::sleep_for_millis (unsigned int milliseconds) SPDLOG_NOEXCEPT
 
SPDLOG_INLINE std::string spdlog::details::os::filename_to_str (const filename_t &filename)
 
SPDLOG_INLINE int spdlog::details::os::pid () SPDLOG_NOEXCEPT
 
SPDLOG_INLINE bool spdlog::details::os::is_color_terminal () SPDLOG_NOEXCEPT
 
SPDLOG_INLINE bool spdlog::details::os::in_terminal (FILE *file) SPDLOG_NOEXCEPT
 
SPDLOG_INLINE filename_t spdlog::details::os::dir_name (const filename_t &path)
 
SPDLOG_INLINE bool spdlog::details::os::create_dir (const filename_t &path)
 
std::string SPDLOG_INLINE spdlog::details::os::getenv (const char *field)
 

Variables

static const SPDLOG_CONSTEXPR char * spdlog::details::os::default_eol = "\n"
 
static const SPDLOG_CONSTEXPR char spdlog::details::os::folder_seps [] = "/"
 
static const SPDLOG_CONSTEXPR filename_t::value_type spdlog::details::os::folder_seps_filename [] = SPDLOG_FILENAME_T( "/" )
 

Macro Definition Documentation

◆ SPDLOG_EOL

#define SPDLOG_EOL   "\n"

◆ SPDLOG_FOLDER_SEPS

#define SPDLOG_FOLDER_SEPS   "/"