Chaste Commit::f2ff7ee04e70ac9d06c57344df8d017dbb12b97b
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 49 of file FileFinder.hpp.

Member Enumeration Documentation

◆ Value

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 54 of file FileFinder.hpp.


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