Navigation

Operators and Keywords

Function List:

C++ API

file_ops Struct Reference

#include <file-ops.h>

Collaboration diagram for file_ops:

List of all members.


Classes

class  static_members

Public Types

typedef std::string(* tilde_expansion_hook )(const std::string &)

Static Public Member Functions

static int mkdir (const std::string &, mode_t)
static int mkdir (const std::string &, mode_t, std::string &)
static int mkfifo (const std::string &, mode_t)
static int mkfifo (const std::string &, mode_t, std::string &)
static int link (const std::string &, const std::string &)
static int link (const std::string &, const std::string &, std::string &)
static int symlink (const std::string &, const std::string &)
static int symlink (const std::string &, const std::string &, std::string &)
static int readlink (const std::string &, std::string &)
static int readlink (const std::string &, std::string &, std::string &)
static int rename (const std::string &, const std::string &)
static int rename (const std::string &, const std::string &, std::string &)
static int rmdir (const std::string &)
static int rmdir (const std::string &, std::string &)
static int recursive_rmdir (const std::string &)
static int recursive_rmdir (const std::string &, std::string &)
static std::string canonicalize_file_name (const std::string &)
static std::string canonicalize_file_name (const std::string &, std::string &)
static std::string tempnam (const std::string &, const std::string &)
static std::string tempnam (const std::string &, const std::string &, std::string &)
static std::string tilde_expand (const std::string &)
static string_vector tilde_expand (const string_vector &)
static int umask (mode_t)
static int unlink (const std::string &)
static int unlink (const std::string &, std::string &)
static bool is_dir_sep (char c)
static std::string concat (const std::string &, const std::string &)
static char dir_sep_char (void)
static std::string dir_sep_str (void)
static std::string dir_sep_chars (void)
static std::string tail (std::string path)

Static Public Attributes

static tilde_expansion_hook tilde_expansion_preexpansion_hook = 0
static tilde_expansion_hook tilde_expansion_failure_hook = 0
static string_vector tilde_additional_prefixes = default_prefixes
static string_vector tilde_additional_suffixes = default_suffixes

Member Typedef Documentation


Member Function Documentation

std::string file_ops::canonicalize_file_name ( const std::string name,
std::string msg 
) [static]

std::string file_ops::canonicalize_file_name ( const std::string name  )  [static]

std::string file_ops::concat ( const std::string dir,
const std::string file 
) [static]

static char file_ops::dir_sep_char ( void   )  [inline, static]

static std::string file_ops::dir_sep_chars ( void   )  [inline, static]

static std::string file_ops::dir_sep_str ( void   )  [inline, static]

static bool file_ops::is_dir_sep ( char  c  )  [inline, static]

int file_ops::link ( const std::string old_name,
const std::string new_name,
std::string msg 
) [static]

int file_ops::link ( const std::string old_name,
const std::string new_name 
) [static]

int file_ops::mkdir ( const std::string name,
mode_t  mode,
std::string msg 
) [static]

int file_ops::mkdir ( const std::string name,
mode_t  mode 
) [static]

int file_ops::mkfifo ( const std::string name,
mode_t  mode,
std::string msg 
) [static]

int file_ops::mkfifo ( const std::string name,
mode_t  mode 
) [static]

int file_ops::readlink ( const std::string path,
std::string result,
std::string msg 
) [static]

int file_ops::readlink ( const std::string path,
std::string result 
) [static]

int file_ops::recursive_rmdir ( const std::string name,
std::string msg 
) [static]

int file_ops::recursive_rmdir ( const std::string name  )  [static]

int file_ops::rename ( const std::string from,
const std::string to,
std::string msg 
) [static]

int file_ops::rename ( const std::string from,
const std::string to 
) [static]

int file_ops::rmdir ( const std::string name,
std::string msg 
) [static]

int file_ops::rmdir ( const std::string name  )  [static]

int file_ops::symlink ( const std::string old_name,
const std::string new_name,
std::string msg 
) [static]

int file_ops::symlink ( const std::string old_name,
const std::string new_name 
) [static]

static std::string file_ops::tail ( std::string  path  )  [inline, static]

std::string file_ops::tempnam ( const std::string dir,
const std::string pfx,
std::string msg 
) [static]

std::string file_ops::tempnam ( const std::string dir,
const std::string pfx 
) [static]

string_vector file_ops::tilde_expand ( const string_vector names  )  [static]

std::string file_ops::tilde_expand ( const std::string name  )  [static]

int file_ops::umask ( mode_t  mode  )  [static]

int file_ops::unlink ( const std::string name,
std::string msg 
) [static]

int file_ops::unlink ( const std::string name  )  [static]


Member Data Documentation


The documentation for this struct was generated from the following files: