#include <BinaryIdPathResolver.h>
Public Member Functions | |
BinaryIdPathResolver (MsiInstall *msiInstall) | |
virtual std::wstring | readContent (const std::wstring &path) |
convert path to binary ID and read its content from msi. | |
virtual void | setBasePath (const std::wstring &path) |
Set base path for resolving relative paths. | |
virtual std::wstring | getFolderPath (const std::wstring &path) const |
get folder of the provided path | |
std::wstring | pathToId (const std::wstring &path) |
void | replaceNonIdCharsWithUnderscore (std::wstring &str) |
replace all non-valid ID characters with '_' |
BinaryIdPathResolver::BinaryIdPathResolver | ( | MsiInstall * | msiInstall | ) |
virtual std::wstring AppSecInc::Databases::ODBC::BinaryIdPathResolver::getFolderPath | ( | const std::wstring & | path | ) | const [inline, virtual] |
get folder of the provided path
Implements AppSecInc::Databases::ODBC::PathResolver.
std::wstring BinaryIdPathResolver::pathToId | ( | const std::wstring & | path | ) |
std::wstring BinaryIdPathResolver::readContent | ( | const std::wstring & | path | ) | [virtual] |
convert path to binary ID and read its content from msi.
Implements AppSecInc::Databases::ODBC::PathResolver.
void BinaryIdPathResolver::replaceNonIdCharsWithUnderscore | ( | std::wstring & | str | ) |
replace all non-valid ID characters with '_'
virtual void AppSecInc::Databases::ODBC::BinaryIdPathResolver::setBasePath | ( | const std::wstring & | path | ) | [inline, virtual] |
Set base path for resolving relative paths.
Implements AppSecInc::Databases::ODBC::PathResolver.
© Application Security Inc. - All Rights Reserved | http://msiext.codeplex.com |