Public Member Functions

AppSecInc::Databases::ODBC::BinaryIdPathResolver Class Reference

#include <BinaryIdPathResolver.h>

Inheritance diagram for AppSecInc::Databases::ODBC::BinaryIdPathResolver:
AppSecInc::Databases::ODBC::PathResolver

List of all members.

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 '_'

Constructor & Destructor Documentation

BinaryIdPathResolver::BinaryIdPathResolver ( MsiInstall msiInstall)

Member Function Documentation

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.


The documentation for this class was generated from the following files:


© Application Security Inc. - All Rights Reserved http://msiext.codeplex.com