ldas-tools-al 2.6.4
Loading...
Searching...
No Matches
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 , OPT_NONE = 0 , OPT_MAKE_PARENT_DIRECTORIES = 0x0001 }
 
enum  options { OPT_NONE = 0 , OPT_MAKE_PARENT_DIRECTORIES = 0x0001 , OPT_NONE = 0 , OPT_MAKE_PARENT_DIRECTORIES = 0x0001 }
 
typedef int mode_type
 
typedef int option_type
 
typedef int mode_type
 
typedef int option_type
 

Public Member Functions

 MkDir (mode_type Mode, option_type Options=OPT_NONE)
 Constructor.
 
void operator() (const std::string &Directory) const
 
 MkDir (mode_type Mode, option_type Options=OPT_NONE)
 Constructor.
 
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
 
void eval (const std::string &Directory) const
 

Private Attributes

mode_type mode
 

Member Typedef Documentation

◆ mode_type [1/2]

◆ mode_type [2/2]

◆ option_type [1/2]

◆ option_type [2/2]

Member Enumeration Documentation

◆ options [1/2]

Enumerator
OPT_NONE 
OPT_MAKE_PARENT_DIRECTORIES 
OPT_NONE 
OPT_MAKE_PARENT_DIRECTORIES 

◆ options [2/2]

Enumerator
OPT_NONE 
OPT_MAKE_PARENT_DIRECTORIES 
OPT_NONE 
OPT_MAKE_PARENT_DIRECTORIES 

Constructor & Destructor Documentation

◆ MkDir() [1/2]

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.

◆ MkDir() [2/2]

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() [1/2]

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

◆ eval() [2/2]

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

◆ operator()() [1/2]

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

◆ operator()() [2/2]

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

Member Data Documentation

◆ mode

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

◆ PATH_SEP

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

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