Chaste Release::3.1
ChasteBuildRoot.hpp File Reference
#include <string>
Include dependency graph for ChasteBuildRoot.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

const char * ChasteBuildRootDir ()
std::string ChasteComponentBuildDir (const std::string &rComponent)
std::string ChasteBuildDirName ()
std::string ChasteBuildType ()

Detailed Description

A collection of functions providing information about the filesystem layout of this Chaste source tree.

Definition in file ChasteBuildRoot.hpp.


Function Documentation

std::string ChasteBuildDirName ( )

Get the name of the folder within the 'build' dir of a component that contains the compiled files.

Referenced by CellMLToSharedLibraryConverter::ConvertCellmlToSo().

const char* ChasteBuildRootDir ( )

Get the path to the root directory of the Chaste source tree. Will always give you the absolute path with a trailing slash.

Referenced by CellMLToSharedLibraryConverter::ConvertCellmlToSo(), FileFinder::SetPath(), and PetscSetup::setUpWorld().

std::string ChasteBuildType ( )

Get the build type string used in building Chaste.

Referenced by CellMLToSharedLibraryConverter::ConvertCellmlToSo().

std::string ChasteComponentBuildDir ( const std::string &  rComponent)

Get the folder in which compiled files are placed for the given Chaste component. Will always give you the absolute path with a trailing slash.

Parameters:
rComponente.g. global, heart, pde, ...