Chaste  Release::3.4
RelativeTo Struct Reference

#include <FileFinder.hpp>

+ Collaboration diagram for RelativeTo:

Public Types

enum  Value {
  CWD, ChasteTestOutput, ChasteSourceRoot, ChasteBuildRoot,
  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

ChasteBuildRoot 

The root of the Chaste build 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: