66 m_Paths.push_back(_Path);
72 m_Paths.push_back(_Path);
80 typename container_type::const_iterator iter(
83 if (m_Paths.end() == iter)
95 m_Paths.begin(), m_Paths.end(), std::ostream_iterator<container_value>(*_stream, _Seporator.c_str()));
CFindCfgFile & SetOrder(const container_value &_Path)
Definition: FindCfgFile.h:64
bool file_exists(const std::string &_FileName)
Definition: SysHelper.h:345
void GetCfg(_T *_RetVal)
Definition: FindCfgFile.h:76
#define _T(s)
Use TCHAR instead of char or wchar_t. It will be appropriately translated.
Definition: def.h:85
bool operator()(const _T &_Path) const
Definition: FindCfgFile.h:23
std::vector< _T > container_type
Definition: FindCfgFile.h:61
_T container_value
Definition: FindCfgFile.h:60
The SFileExists functor helps to check whether the file by a given full path exists or not.
Definition: FindCfgFile.h:21
void smart_path(_T *_Path)
The function extends any environment variable found in the give path to its value.
Definition: SysHelper.h:95
This class helps to find a cfg location with the best match from the given order.
Definition: FindCfgFile.h:57
CFindCfgFile & operator()(const container_value &_Path)
Definition: FindCfgFile.h:70
Miscellaneous functions and helpers are located here.
Definition: BOOST_FILESYSTEM.h:21
void DumpOrder(std::ostream *_stream, const container_value &_Seporator)
Definition: FindCfgFile.h:89