BASIS  r3148
basis.h File Reference

BASIS utilities of BASIS project of BASIS package. More...

#include <basis/utilities.h>
+ Include dependency graph for basis.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  basis

Functions

std::string basis::bindir ()
 Get absolute path of directory containing runtime executables.
std::string basis::datadir ()
 Get absolute path of directory containing auxiliary data.
int basis::execute (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 basis::execute (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.
std::string basis::exedir (const std::string &name=std::string())
 Get directory of executable file.
std::string basis::exename (const std::string &name=std::string())
 Get name of executable file.
std::string basis::exepath (const std::string &name=std::string())
 Get absolute path of executable file.
bool basis::istarget (const std::string &name)
 Determine whether a given build target is known.
std::string basis::libdir ()
 Get absolute path of directory containing libraries.
std::string basis::libexecdir ()
 Get absolute path of directory containing auxiliary executables.
void basis::print_contact (const char *contact=NULL)
 Print contact information.
void basis::print_version (const char *name, const char *version=NULL, const char *project=NULL, const char *copyright=NULL, const char *license=NULL)
 Print version information including copyright and license notices.
std::string basis::targetuid (const std::string &name)
 Get UID of build target.

Variables

const char * basis::CONTACT = "SBIA Group <sbia-software at uphs.upenn.edu>"
 Default contact to use for help output of executables.
const char * basis::COPYRIGHT = "2011, 2012, 2013 University of Pennsylvania"
 Default copyright of executables.
const char * basis::LICENSE = "See https://www.cbica.upenn.edu/sbia/software/license.html or COPYING file."
 Default license of executables.
const char * basis::PROJECT = "BASIS"
 The project name.
const char * basis::RELEASE = "r3148"
 Complete version information as output by --version option.
const char * basis::VERSION = "0.0.0"
 The version string given as "<major>.<minor>.<patch>".
const unsigned int basis::VERSION_MAJOR = 0
 The major version number.
const unsigned int basis::VERSION_MINOR = 0
 The minor version number.
const unsigned int basis::VERSION_PATCH = 0
 The patch number.

Detailed Description

BASIS utilities of BASIS project of BASIS package.

Note:
The basis.h module was automatically generated by BASIS from the template file basis.h.in which is part of the BASIS installation.

This header file includes the header files of the remaining BASIS utilities. Hence, it is sufficient to only include this header file.

Copyright (c) 2011, 2012 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 basis.h.