30#ifndef __PDS_RACMD_HPP__
31#define __PDS_RACMD_HPP__
73 #if defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(__CYGWIN__)
91 #if defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(__CYGWIN__)
170 bool Cd(
const std::string &Directory);
214 int System(
const std::string &CMD,
const std::string &Directory=
"");
230 bool Popen(
const std::string& CMD,std::vector<std::string>& Out,
bool DropSpace=
false,
unsigned int SIZEBUF=4096);
245 const std::string
Black =
"\033[0;30m";
246 const std::string
Red =
"\033[0;31m";
247 const std::string
Green =
"\033[0;32m";
248 const std::string
Brown =
"\033[0;33m";
249 const std::string
Blue =
"\033[0;34m";
251 const std::string
Cyan =
"\033[0;36m";
252 const std::string
White =
"\033[0;37m";
std::string HomeDir(void)
Retorna una nueva cadena de texto con la dirección del directorio de usuario. HOME en gnu-linux y {HO...
bool Cd(const std::string &Directory)
Cambie the current working directory.
std::string ProgramPath(void)
Retorna un std::string con la ruta del programa que lo invoca.
int System(const std::string &CMD, const std::string &Directory="")
Executa uma comando.
std::string Pwd(void)
Retorna un std::string con la ruta actual.
const std::string FileSep
std::string con un separador de fichero "\\" para WINDOWS y "/" para linux.
bool Popen(const std::string &CMD, std::vector< std::string > &Out, bool DropSpace=false, unsigned int SIZEBUF=4096)
Executa uma comando.
bool MakeDir(const std::string &dirpath)
Crea un directorio recursivamente si es necesario.
const char CharFileSep
std::string con un separador de fichero "\\" para WINDOWS y "/" para linux.
std::string ProgramDirPath(void)
Retorna un std::string con la ruta del directorio del programa que lo invoca.
const std::string BoldBlack
Bold.
const std::string HighBackCyan
const std::string BackWhite
const std::string HighBlue
const std::string BoldHighWhite
const std::string UnderPurple
const std::string UnderYellow
const std::string HighBackBlack
Background.
const std::string HighPurple
const std::string BackGreen
const std::string BoldHighGreen
const std::string HighCyan
const std::string UnderBlue
const std::string HighBackBlue
const std::string BoldHighBrown
const std::string BoldCyan
const std::string Black
Text color.
const std::string UnderGreen
const std::string BoldHighPurple
const std::string BackCyan
const std::string BoldYellow
const std::string HighRed
const std::string UnderBlack
Underline.
const std::string HighBrown
const std::string BoldPurple
const std::string BoldWhite
const std::string HighBackWhite
const std::string UnderCyan
const std::string HighGreen
const std::string HighBackPurple
const std::string HighBlack
High Intensity.
const std::string HighBackYellow
const std::string TextReset
const std::string HighBackRed
const std::string BackBlue
const std::string BoldHighBlack
Bold High Intensity.
const std::string HighBackGreen
const std::string BackYellow
const std::string BackRed
const std::string BoldHighRed
const std::string BoldBlue
const std::string BoldGreen
const std::string BoldHighBlue
const std::string UnderRed
const std::string BoldHighCyan
const std::string BoldRed
const std::string BackPurple
const std::string BackBlack
Background.
const std::string HighWhite
const std::string UnderWhite
Nombre de espacio para Pds (Procesamiento Digital de Senales)