Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
Teuchos_SystemInformation.cpp File Reference
#include "Teuchos_SystemInformation.hpp"
#include "Teuchos_EnvVariables.hpp"
#include "Teuchos_StrUtils.hpp"
#include "Teuchos_TestForException.hpp"
#include <filesystem>
#include <iostream>
#include <stdexcept>
#include <set>
Include dependency graph for Teuchos_SystemInformation.cpp:

Go to the source code of this file.

Namespaces

 Teuchos::SystemInformation
 

Functions

bool Teuchos::SystemInformation::commandIsAvailable (const std::string &command)
 Check whether a command is available on the system. More...
 
std::string Teuchos::SystemInformation::runCommandAndCaptureOutput (const std::string &command)
 Run a command and capture its output. More...
 
RegistrationResult Teuchos::SystemInformation::registerEnvironmentVariable (const std::string &variableName)
 Register an environment variable that should be tracked. More...
 
void Teuchos::SystemInformation::registerAllPrefixedVariables (const std::string &prefix)
 
RegistrationResult Teuchos::SystemInformation::registerCommand (const std::string &commandLabel, const std::string &commandToRunAndCapture="", const std::string &commandToCheckForExistence="")
 Register a command. More...
 
void Teuchos::SystemInformation::initializeCollection ()
 Track commonly used environment variables and commands. More...
 
std::map< std::string,
std::string > 
Teuchos::SystemInformation::collectSystemInformation ()
 Collect information about the system. More...