![]() |
CARTA Backend
The backend component of CARTA
|
#include "File.h"
#include <spdlog/fmt/fmt.h>
#include <fstream>
#include <regex>
#include "String.h"
Functions | |
uint32_t | GetMagicNumber (const std::string &filename) |
bool | IsCompressedFits (const std::string &filename) |
bool | IsRemoteHttpFile (const std::string &filename) |
bool | IsGzMagicNumber (uint32_t magic_number) |
int | GetNumItems (const std::string &path) |
fs::path | SearchPath (std::string filename) |
CARTA::FileType | GuessImageType (const std::string &path_string, bool check_content) |
CARTA::FileType | GuessRegionType (const std::string &path_string, bool check_content) |
CARTA::CatalogFileType | GuessTableType (const std::string &path_string, bool check_content) |
uint32_t GetMagicNumber | ( | const std::string & | filename | ) |
int GetNumItems | ( | const std::string & | path | ) |
CARTA::FileType GuessImageType | ( | const std::string & | path_string, |
bool | check_content | ||
) |
CARTA::FileType GuessRegionType | ( | const std::string & | path_string, |
bool | check_content | ||
) |
CARTA::CatalogFileType GuessTableType | ( | const std::string & | path_string, |
bool | check_content | ||
) |
bool IsCompressedFits | ( | const std::string & | filename | ) |
bool IsGzMagicNumber | ( | uint32_t | magic_number | ) |
bool IsRemoteHttpFile | ( | const std::string & | filename | ) |
fs::path SearchPath | ( | std::string | filename | ) |