VAPoR
0.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
lib
common
GetAppPath.h
Go to the documentation of this file.
1
//
2
// $Id$
3
//
4
#ifndef _GetAppPath_h_
5
#define _GetAppPath_h_
6
#include <vapor/MyBase.h>
7
#include <vapor/Version.h>
8
9
namespace
VetsUtil {
10
11
COMMON_API
std::string
GetAppPath
(
12
const
string
&app,
const
string
&name,
const
vector <string> &paths,
13
#ifdef _WINDOWS
14
//Windows default is backwards slash for separator
15
bool
forwardSeparator =
false
16
#
else
17
bool
forwardSeparator =
true
18
#endif
19
);
20
21
};
22
23
#endif
VetsUtil::GetAppPath
COMMON_API std::string GetAppPath(const string &app, const string &name, const vector< string > &paths, bool forwardSeparator=true)
COMMON_API
#define COMMON_API
Definition:
common.h:60
Generated on Mon Mar 9 2015 15:02:27 for VAPoR by
1.8.7