ldas-tools-al 2.6.4
Public Types | Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
LDASTools::Cmd::MkDir Class Reference

#include <MkDir.hh>

Public Types

enum  options { OPT_NONE = 0 , OPT_MAKE_PARENT_DIRECTORIES = 0x0001 }
 
typedef int mode_type
 
typedef int option_type
 

Public Member Functions

 MkDir (mode_type Mode, option_type Options=OPT_NONE)
 Constructor. More...
 
void operator() (const std::string &Directory) const
 

Static Public Attributes

static const char PATH_SEP = '/'
 

Private Member Functions

void eval (const std::string &Directory) const
 

Private Attributes

mode_type mode
 

Member Typedef Documentation

◆ mode_type

◆ option_type

Member Enumeration Documentation

◆ options

Enumerator
OPT_NONE 
OPT_MAKE_PARENT_DIRECTORIES 

Constructor & Destructor Documentation

◆ MkDir()

LDASTools::Cmd::MkDir::MkDir ( mode_type  Mode,
option_type  Options = OPT_NONE 
)

Constructor.

Parameters
[in]ModeMode for the created directory.
[in]OptionsOptions for the created directory.

Member Function Documentation

◆ eval()

void LDASTools::Cmd::MkDir::eval ( const std::string &  Directory) const
private

◆ operator()()

void LDASTools::Cmd::MkDir::operator() ( const std::string &  Directory) const

Member Data Documentation

◆ mode

mode_type LDASTools::Cmd::MkDir::mode
private

◆ PATH_SEP

const char LDASTools::Cmd::MkDir::PATH_SEP = '/'
static

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