#include "Basic/File.hpp"
#include "geoslib_define.h"
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <stdlib.h>
#include <iostream>
#include <fstream>
Functions | |
void | skipBOM (std::ifstream &in) |
FILE * | gslFopen (const char *path, const char *mode) |
FILE * | gslFopen (const String &path, const String &mode) |
bool | gslFileExist (const char *path, const char *mode) |
bool | gslFileExist (const String &path, const String &mode) |
String | gslBaseName (const String &path, bool keepExtension) |
String | gslGetEnv (const String &name) |
std::istream & | gslSafeGetline (std::istream &is, String &t) |
bool gslFileExist | ( | const char * | path, |
const char * | mode | ||
) |
FILE* gslFopen | ( | const char * | path, |
const char * | mode | ||
) |
std::istream& gslSafeGetline | ( | std::istream & | is, |
String & | t | ||
) |
Get line from an input text stream whatever the end of line convention. Thanks to: https://stackoverflow.com/a/6089413
void skipBOM | ( | std::ifstream & | ins | ) |
This file contains all the OLD-STYLE declarations causing warnings on Windows They should gradually be replaced by modern statements However, they are kept there to keep track on these statements