SourcePP
Several modern C++20 libraries for sanely parsing Valve's formats.
Loading...
Searching...
No Matches
toolpp::CmdSeq::Command Struct Reference

#include <CmdSeq.h>

Collaboration diagram for toolpp::CmdSeq::Command:

Public Types

enum class  Special : int32_t {
  NONE = 0 , CHANGE_DIRECTORY = 256 , COPY_FILE = 257 , DELETE_FILE = 258 ,
  RENAME_FILE = 259 , COPY_FILE_IF_EXISTS = 261
}
 

Public Member Functions

std::string getExecutableDisplayName () const
 

Static Public Member Functions

static std::string getSpecialDisplayNameFor (Special special)
 

Public Attributes

bool enabled
 
enum toolpp::CmdSeq::Command::Special special
 
std::string executable
 
std::string arguments
 
bool ensureFileExists
 
std::string pathToTheoreticallyExistingFile
 
bool useProcessWindow
 
bool waitForKeypress
 

Static Public Attributes

static constexpr auto SPECIAL_COPY_FILE_IF_EXISTS_ALIAS = static_cast<Special>(260)
 

Detailed Description

Definition at line 13 of file CmdSeq.h.

Member Enumeration Documentation

◆ Special

enum class toolpp::CmdSeq::Command::Special : int32_t
strong
Enumerator
NONE 
CHANGE_DIRECTORY 
COPY_FILE 
DELETE_FILE 
RENAME_FILE 
COPY_FILE_IF_EXISTS 

Definition at line 16 of file CmdSeq.h.

Member Function Documentation

◆ getExecutableDisplayName()

std::string CmdSeq::Command::getExecutableDisplayName ( ) const

Definition at line 55 of file CmdSeq.cpp.

◆ getSpecialDisplayNameFor()

std::string CmdSeq::Command::getSpecialDisplayNameFor ( Special  special)
static

Definition at line 37 of file CmdSeq.cpp.

Member Data Documentation

◆ arguments

std::string toolpp::CmdSeq::Command::arguments

Definition at line 29 of file CmdSeq.h.

◆ enabled

bool toolpp::CmdSeq::Command::enabled

Definition at line 14 of file CmdSeq.h.

◆ ensureFileExists

bool toolpp::CmdSeq::Command::ensureFileExists

Definition at line 31 of file CmdSeq.h.

◆ executable

std::string toolpp::CmdSeq::Command::executable

Definition at line 28 of file CmdSeq.h.

◆ pathToTheoreticallyExistingFile

std::string toolpp::CmdSeq::Command::pathToTheoreticallyExistingFile

Definition at line 32 of file CmdSeq.h.

◆ special

enum toolpp::CmdSeq::Command::Special toolpp::CmdSeq::Command::special

◆ SPECIAL_COPY_FILE_IF_EXISTS_ALIAS

constexpr auto toolpp::CmdSeq::Command::SPECIAL_COPY_FILE_IF_EXISTS_ALIAS = static_cast<Special>(260)
staticconstexpr

Definition at line 26 of file CmdSeq.h.

◆ useProcessWindow

bool toolpp::CmdSeq::Command::useProcessWindow

Definition at line 34 of file CmdSeq.h.

◆ waitForKeypress

bool toolpp::CmdSeq::Command::waitForKeypress

Definition at line 36 of file CmdSeq.h.


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