ImSQL
C++ 기반 SQL 자동화 및 라이선스 관리 엔진
|
다양한 범용 유틸리티 함수와 공통 설정을 포함하는 헤더 파일입니다. More...
#include <utils/log.hpp>
#include <utils/config_loader.hpp>
#include <utils/engine_config.hpp>
#include <memory>
#include <vector>
#include <string>
#include <license/license.hpp>
#include <iomanip>
#include <chrono>
#include <fstream>
#include <secure/secure.hpp>
#include <crow/app.h>
#include <crow/http_response.h>
#include <crow/json.h>
#include <api/smartptr/smartptr.hpp>
#include <api/handler/handler_base.hpp>
#include <nlohmann/json.hpp>
Go to the source code of this file.
Typedefs | |
using | json = nlohmann::json |
nlohmann JSON을 간편하게 사용하기 위한 alias | |
Functions | |
std::string | utils::getCurrentTime () |
현재 시간을 문자열로 반환합니다. | |
std::string | utils::sanitizeFilename (const std::string &raw) |
파일 이름에 사용할 수 없는 문자를 제거합니다. | |
std::string | utils::trim (const std::string &str) |
문자열 양 끝의 공백을 제거합니다. | |
다양한 범용 유틸리티 함수와 공통 설정을 포함하는 헤더 파일입니다.
std::string utils::getCurrentTime | ( | ) |
현재 시간을 문자열로 반환합니다.
std::string utils::sanitizeFilename | ( | const std::string & | raw | ) |
파일 이름에 사용할 수 없는 문자를 제거합니다.
raw | 원본 파일 이름 문자열 |
std::string utils::trim | ( | const std::string & | str | ) |
문자열 양 끝의 공백을 제거합니다.
str | 입력 문자열 |