DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
Loading...
Searching...
No Matches
Base.hpp File Reference
#include <arpa/inet.h>
#include <sys/time.h>
#include <pthread.h>
#include <cstdint>
#include <cstring>
#include <time.h>
#include <ctime>
#include <jsonifier/Index.hpp>
#include <source_location>
#include <shared_mutex>
#include <immintrin.h>
#include <functional>
#include <semaphore>
#include <concepts>
#include <iostream>
#include <sstream>
#include <iomanip>
#include <vector>
#include <atomic>
#include <random>
#include <string>
#include <thread>
#include <mutex>
#include <queue>
#include <array>
Include dependency graph for Base.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes and Structures

struct  discord_core_api::dca_exception
 An exception class derived from std::runtime_error for dca-related exceptions. More...
 
class  discord_core_api::message_printer
 Class for printing different types of messages to output and error streams. More...
 
class  discord_core_api::snowflake
 A class representing a snowflake identifier with various operations. More...
 
class  discord_core_api::time_stamp
 A class that extends time_stamp_base to provide additional functionality. More...
 
class  discord_core_api::time_stamp_base< value_type >
 A base class for handling time stamps and conversions. More...
 
class  discord_core_api::to_entity< value_type >
 A class for converting snowflake id's into the data structures they represent. More...
 

Namespaces

namespace  discord_core_api
 The main namespace for the forward-facing interfaces.
 

Enumerations

enum class  discord_core_api::stream_type
 For selecting the type of streamer that the given bot is, one must be one server and one of client per connection.
 
enum class  discord_core_api::time_format : char {
  discord_core_api::time_format::long_date = 'D' , discord_core_api::time_format::long_date_time = 'F' , discord_core_api::time_format::long_time = 'T' , discord_core_api::time_format::short_date = 'd' ,
  discord_core_api::time_format::short_date_time = 'f' , discord_core_api::time_format::short_time = 't'
}
 Time formatting methods. More...