Chaste Release::3.1
RelativeTo Struct Reference

#include <FileFinder.hpp>

List of all members.

Public Types

enum  Value {
  CWD, ChasteTestOutput, ChasteSourceRoot, Absolute,
  AbsoluteOrCwd
}

Detailed Description

Structure encapsulating the enumeration of path 'types', i.e. what a path can be relative to. This allows us to write things like RelativeTo::ChasteTestOutput for readability.

Definition at line 48 of file FileFinder.hpp.


Member Enumeration Documentation

What things a path can be relative to.

Enumerator:
CWD 

The current working directory

ChasteTestOutput 

The CHASTE_TEST_OUTPUT folder

ChasteSourceRoot 

The root of the Chaste source tree

Absolute 

This is an absolute path

AbsoluteOrCwd 

If it starts with a / then it's absolute, otherwise interpret relative to CWD

Definition at line 53 of file FileFinder.hpp.


The documentation for this struct was generated from the following file: