g4tools  5.4.0
Classes | Namespaces | Macros | Functions
file File Reference
#include "gzip"
#include "forit"
#include "words"
#include "path"
#include "S_STRING"
#include <cstdlib>
#include <cstring>
#include "fileis"
#include "file_reader"
#include "file_format"
#include "fsize"
Include dependency graph for file:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tools::FILE_reader
 

Namespaces

 tools
 inlined C code : ///////////////////////////////////
 
 tools::file
 

Macros

#define tools_file
 

Functions

bool tools::file::exists (const std::string &a_string)
 
bool tools::file::write (const std::string &a_file, const std::string &a_string)
 
bool tools::file::write (const std::string &a_file, const std::vector< std::string > &a_text)
 
bool tools::file::make_empty (const std::string &a_file)
 
bool tools::file::read_buff (FILE *a_file, char *a_buff, unsigned int a_lbuf, size_t &a_length)
 
bool tools::file::read_cstring (FILE *a_file, char *a_buff, unsigned int a_lbuf, size_t &a_length)
 
bool tools::file::read (FILE *a_FILE, std::vector< std::string > &a_text)
 
bool tools::file::read (const std::string &a_file, std::vector< std::string > &a_text)
 
bool tools::file::read_num (const std::string &a_file, std::vector< std::string >::size_type a_num, std::vector< std::string > &a_text, const std::string &a_cmt="")
 
bool tools::file::read_bytes (const std::string &a_file, char *&a_buffer, long &a_length)
 
bool tools::file::write_bytes (const std::string &a_file, const char *a_buffer, size_t a_length)
 
bool tools::file::num_csv_doubles (const std::string &a_string, char &a_sep, unsigned int &a_number)
 
bool tools::file::is_hippo (const std::string &a_file, bool &a_is)
 
bool tools::file::is_csv (const std::vector< std::string > &a_txt, bool &a_is)
 
bool tools::file::is_csv (const std::string &a_file, bool &a_is)
 
bool tools::file::is_lua (const std::string &a_file, bool &a_is)
 
bool tools::file::is_py (const std::string &a_file, bool &a_is)
 
bool tools::file::is_kumac (const std::string &a_file, bool &a_is)
 
bool tools::file::is_insh (const std::string &a_file, bool &a_is)
 
bool tools::file::mime_type (const std::string &a_file, std::string &a_mime)
 
bool tools::file::found (const std::string &a_file, const std::string &a_what, std::vector< std::string > &a_found)
 
bool tools::file::std_remove (const std::string &a_file)
 
bool tools::file::std_remove (std::vector< std::string > &a_files)
 
bool tools::file::std_rename (const std::string &a_from, const std::string &a_to)
 
bool tools::file::copy_bytes (const std::string &a_from, const std::string &a_to)
 

Macro Definition Documentation

◆ tools_file

#define tools_file

Definition at line 5 of file file.