IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BenchmarkConfig.h
1 // BenchmarkConfig.h:
3 // ------------------
4 //
14 
15 #ifndef __BENCHMARKTOOLS_BENCHMARKCONFIG_H__
16 #define __BENCHMARKTOOLS_BENCHMARKCONFIG_H__
17 
18 #include <Benchmark/IPSDKBenchmarkTools/BenchmarkPath.h>
19 
20 namespace ipsdk {
21 namespace bench {
22 
25 
29 
30 inline boost::filesystem::path
32 {
33  // retrieve requested directory
34  return getInternalDirectory(eBMInternalDirectory::eBMID_Config);
35 }
36 
40 
41 inline boost::filesystem::path
43 {
44  // retrieve requested directory
45  return getInternalDirectory(eBMInternalDirectory::eBMID_ConfigCommon);
46 }
47 
51 
52 inline boost::filesystem::path
54 {
55  // retrieve requested directory
56  return getInternalDirectory(eBMInternalDirectory::eBMID_Data);
57 }
58 
62 
63 inline boost::filesystem::path
65 {
66  // retrieve requested directory
67  return getInternalDirectory(eBMInternalDirectory::eBMID_DataCommon);
68 }
69 
73 
74 inline boost::filesystem::path
76 {
77  // retrieve requested directory
78  return getInternalDirectory(eBMInternalDirectory::eBMID_Images);
79 }
80 
84 
85 inline boost::filesystem::path
87 {
88  // retrieve requested directory
89  return getInternalDirectory(eBMInternalDirectory::eBMID_ImagesCommon);
90 }
91 
95 
96 inline boost::filesystem::path
98 {
99  // retrieve requested directory
100  return getExternalDirectory(eBMExternalDirectory::eBMED_Results);
101 }
102 
106 
107 inline boost::filesystem::path
109 {
110  // retrieve requested directory
111  return getExternalDirectory(eBMExternalDirectory::eBMED_Tmp);
112 }
113 
116 
117 } // end of namespace bench
118 } // end of namespace ipsdk
119 
120 #endif // __BENCHMARKTOOLS_BENCHMARKCONFIG_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
boost::filesystem::path getBMResultsPath()
retrieve unit test results directory
Definition: BenchmarkConfig.h:97
boost::filesystem::path getBMDataPath()
retrieve unit test data directory
Definition: BenchmarkConfig.h:53
boost::filesystem::path getBMConfigPath()
retrieve unit test configuration directory
Definition: BenchmarkConfig.h:31
boost::filesystem::path getBMConfigCommonPath()
retrieve unit test configuration common directory
Definition: BenchmarkConfig.h:42
boost::filesystem::path getBMTmpPath()
retrieve unit test temporary directory
Definition: BenchmarkConfig.h:108
boost::filesystem::path getBMImagesPath()
retrieve unit test images directory
Definition: BenchmarkConfig.h:75
IPSDKBENCHMARKTOOLS_API boost::filesystem::path getInternalDirectory(const eBMInternalDirectory &dirId)
retrieve benchmark internal directory
IPSDKBENCHMARKTOOLS_API boost::filesystem::path getExternalDirectory(const eBMExternalDirectory &dirId)
retrieve benchmark external directory
boost::filesystem::path getBMDataCommonPath()
retrieve unit test data common directory
Definition: BenchmarkConfig.h:64
boost::filesystem::path getBMImagesCommonPath()
retrieve unit test images common directory
Definition: BenchmarkConfig.h:86