Chaste Commit::1fd4e48e3990e67db148bc1bc4cf6991a0049d0c
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: