NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
filesystem.cpp File Reference
#include <iostream>
#include <fstream>
#include <sstream>
#include <windows.h>
#include "filesystem.hpp"
#include "../../kernel.hpp"
#include "../utils/datetimetools.hpp"
Include dependency graph for filesystem.cpp:

Go to the source code of this file.

Functions

std::string removeQuotationMarks (const std::string &sString)
 This function simply removes the surrounding quotation marks. More...
 
static double windowSystemTimeToDouble (SYSTEMTIME stUTC)
 Static function to convert Windows UTC system time to a double. More...
 

Function Documentation

◆ removeQuotationMarks()

std::string removeQuotationMarks ( const std::string &  sString)

This function simply removes the surrounding quotation marks.

Parameters
sStringconst std::string&
Returns
std::string

Definition at line 79 of file stringfunctions.hpp.

Referenced by FileSystem::cleanPath().

◆ windowSystemTimeToDouble()

static double windowSystemTimeToDouble ( SYSTEMTIME  stUTC)
static

Static function to convert Windows UTC system time to a double.

Parameters
stUTCSYSTEMTIME
Returns
double

Definition at line 620 of file filesystem.cpp.

References getTimePointFromTimeStamp(), time_stamp::m_hours, time_stamp::m_minutes, time_stamp::m_seconds, time_stamp::m_ymd, and to_double().

Referenced by FileSystem::getFileInfo().

Here is the call graph for this function: