#include <session_directory.h>
|
static std::map< std::string, std::string > | root_cache |
|
Definition at line 33 of file session_directory.h.
◆ SessionDirectory()
ARDOUR::SessionDirectory::SessionDirectory |
( |
const std::string & |
session_path | ) |
|
- Parameters
-
session_path | An absolute path to a session directory. |
◆ backup_path()
const std::string ARDOUR::SessionDirectory::backup_path |
( |
| ) |
const |
- Returns
- The absolute path to the directory that backup session files are stored.
◆ create()
bool ARDOUR::SessionDirectory::create |
( |
| ) |
|
Create the session directory and all the subdirectories.
- Returns
- true If a new session directory and subdirectories were created, otherwise false.
- Postcondition
- is_valid ()
◆ dead_path()
const std::string ARDOUR::SessionDirectory::dead_path |
( |
| ) |
const |
- Returns
- The absolute path to the directory that source files are moved to when they are no longer part of the session.
◆ export_path()
const std::string ARDOUR::SessionDirectory::export_path |
( |
| ) |
const |
- Returns
- The absolute path to the directory that audio files are created in by default when exporting.
◆ is_valid()
bool ARDOUR::SessionDirectory::is_valid |
( |
| ) |
const |
- Returns
- true if session directory and all the required subdirectories exist.
◆ midi_path()
const std::string ARDOUR::SessionDirectory::midi_path |
( |
| ) |
const |
- Returns
- the absolute path to the directory in which the session stores MIDI files, ie root_path()/interchange/session_name/midifiles
◆ old_sound_path()
const std::string ARDOUR::SessionDirectory::old_sound_path |
( |
| ) |
const |
|
private |
- Returns
- The path to the old style sound directory. It isn't created by create().
◆ operator=()
SessionDirectory& ARDOUR::SessionDirectory::operator= |
( |
const std::string & |
path | ) |
|
◆ peak_path()
const std::string ARDOUR::SessionDirectory::peak_path |
( |
| ) |
const |
- Returns
- The absolute path to the directory in which all peak files are stored for a session.
◆ root_path()
const std::string ARDOUR::SessionDirectory::root_path |
( |
| ) |
const |
|
inline |
- Returns
- the absolute path to the root directory of the session
Definition at line 50 of file session_directory.h.
◆ sound_path()
const std::string ARDOUR::SessionDirectory::sound_path |
( |
| ) |
const |
- Returns
- the absolute path to the directory in which the session stores audio files.
If the session is an older session with an existing "sounds" directory then it will return a path to that directory otherwise it will return the new location of root_path()/interchange/session_name/audiofiles
◆ sound_path_2X()
const std::string ARDOUR::SessionDirectory::sound_path_2X |
( |
| ) |
const |
- Returns
- the absolute path to the directory in which the session stores audio files for Ardour 2.X.
If the session is an older session with an existing "sounds" directory then it will return a path to that directory otherwise it will return the new location of root_path()/interchange/session_name/audiofiles
◆ sources_root()
const std::string ARDOUR::SessionDirectory::sources_root |
( |
| ) |
const |
- Returns
- The path to the directory under which source directories are created for different source types. i.e root_path()/interchange/session_name
◆ sources_root_2X()
const std::string ARDOUR::SessionDirectory::sources_root_2X |
( |
| ) |
const |
- Returns
- The path to the directory under which source directories are created for different source types in Ardour 2.X i.e root_path()/interchange/session_name
◆ sub_directories()
const std::vector<std::string> ARDOUR::SessionDirectory::sub_directories |
( |
| ) |
const |
|
private |
- Returns
- a vector containing the fullpath of all subdirectories.
◆ video_path()
const std::string ARDOUR::SessionDirectory::video_path |
( |
| ) |
const |
- Returns
- The absolute path to the directory in which all video files are stored for a session.
◆ m_root_path
std::string ARDOUR::SessionDirectory::m_root_path |
|
private |
◆ root_cache
std::map<std::string,std::string> ARDOUR::SessionDirectory::root_cache |
|
staticprivate |
The documentation for this class was generated from the following file: