Chaste Release::3.1
HeartFileFinder Class Reference

#include <HeartFileFinder.hpp>

Inheritance diagram for HeartFileFinder:
Collaboration diagram for HeartFileFinder:

List of all members.

Public Member Functions

 HeartFileFinder (const cp::path_type &rPath)

Detailed Description

A helper class for finding files, given paths which can be relative to various locations (e.g. the Chaste source tree root, the current directory, the Chaste test output directory, or an absolute path). This essentially just adds another constructor to FileFinder which takes in a cp::path_type.

Definition at line 50 of file HeartFileFinder.hpp.


Constructor & Destructor Documentation

HeartFileFinder::HeartFileFinder ( const cp::path_type &  rPath)

Create a file finder for the given path. This type includes both a path name, and an attribute specifying how this should be interpreted. See the XML schema for details.

Parameters:
rPaththe path to the file to find

Definition at line 40 of file HeartFileFinder.cpp.

References RelativeTo::Absolute, RelativeTo::ChasteSourceRoot, RelativeTo::ChasteTestOutput, RelativeTo::CWD, HeartConfig::Instance(), NEVER_REACHED, and FileFinder::SetPath().


The documentation for this class was generated from the following files: