BioDynaMo  v1.05.120-25dc9790
proc.h
Go to the documentation of this file.
1 // -----------------------------------------------------------------------------
2 //
3 // Copyright (C) 2021 CERN & University of Surrey for the benefit of the
4 // BioDynaMo collaboration. All Rights Reserved.
5 //
6 // Licensed under the Apache License, Version 2.0 (the "License");
7 // you may not use this file except in compliance with the License.
8 //
9 // See the LICENSE file distributed with this work for details.
10 // See the NOTICE file distributed with this work for additional information
11 // regarding copyright ownership.
12 //
13 // -----------------------------------------------------------------------------
14 
15 #ifndef CORE_UTIL_PROC_H_
16 #define CORE_UTIL_PROC_H_
17 
18 #include <string>
19 
20 namespace bdm {
21 
23 std::string GetExecutablePath();
24 
25 std::string GetExecutableDirectory();
26 
27 std::string GetExecutableName();
28 
29 } // namespace bdm
30 
31 #endif // CORE_UTIL_PROC_H_
bdm
Definition: agent.cc:39
bdm::GetExecutablePath
std::string GetExecutablePath()
This function returns the path of the currently running executable.
Definition: proc.cc:45
bdm::GetExecutableName
std::string GetExecutableName()
Definition: proc.cc:67
bdm::GetExecutableDirectory
std::string GetExecutableDirectory()
Definition: proc.cc:62