BASIS  version 1.2.3 (revision 2104)
Functions
stdaux.h File Reference

Standard auxiliary functions. More...

#include <string>
#include <vector>
#include <iostream>
+ Include dependency graph for stdaux.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int sbia::basis::execute_process (const std::string &cmd, bool quiet=false,std::ostream *out=NULL, bool allow_fail=false, int verbose=0, bool simulate=false)
 Execute command as subprocess.
int sbia::basis::execute_process (std::vector< std::string > &args, bool quiet=false,std::ostream *out=NULL, bool allow_fail=false, int verbose=0, bool simulate=false)
 Execute command as subprocess.
bool sbia::basis::executing_in_build_tree ()
 Whether the executable was executed from within the build tree.
string sbia::basis::get_data_directory ()
 Get absolute path of directory containing auxiliary data.
string sbia::basis::get_executable_path (const std::string &target)
 Get canonical path of executable file.
string sbia::basis::get_installation_prefix ()
 Get absolute path of installation directory.
string sbia::basis::get_libexec_directory ()
 Get absolute path of directory containing auxiliary executables.
string sbia::basis::get_library_directory ()
 Get absolute path of directory containing libraries.
string sbia::basis::get_runtime_directory ()
 Get absolute path of directory containing runtime executables.
void sbia::basis::print_contact (const char *contact=NULL)
 Print contact information.
void sbia::basis::print_version (const char *name, const char *copyright=NULL, const char *license=NULL)
 Print version information.

Detailed Description

Standard auxiliary functions.

Note:
The file stdaux.h is automatically generated by BASIS from the file stdaux.h.in which is part of BASIS.

Copyright (c) 2011 University of Pennsylvania. All rights reserved.
See https://www.cbica.upenn.edu/sbia/software/license.html or COPYING file.

Contact: SBIA Group <sbia-software at uphs.upenn.edu>

Definition in file stdaux.h.