Skip to content

datatypes::io::IoHelper

#include <io_helper.h>

Public Functions

Name
bool FileExists(const boost::filesystem::path & p)
bool PathExists(const boost::filesystem::path & p)
bool DirExists(const boost::filesystem::path & p)
string MakeFileName(const string & fileNamePattern, const string & id, const string & pattern ="{0}")
bool IsFileNamePattern(const string & s)

Public Attributes

Name
const string DefaultFilePattern

Public Functions Documentation

function FileExists

static bool FileExists(
    const boost::filesystem::path & p
)

function PathExists

static bool PathExists(
    const boost::filesystem::path & p
)

function DirExists

static bool DirExists(
    const boost::filesystem::path & p
)

function MakeFileName

static string MakeFileName(
    const string & fileNamePattern,
    const string & id,
    const string & pattern ="{0}"
)

function IsFileNamePattern

static bool IsFileNamePattern(
    const string & s
)

Public Attributes Documentation

variable DefaultFilePattern

static const string DefaultFilePattern;

Updated on 2022-08-21 at 18:10:33 +1000