Public Member Functions | List of all members
AppSecInc::Databases::ODBC::BinaryIdPathResolver Class Reference

#include <BinaryIdPathResolver.h>

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

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. More...
 
virtual void setBasePath (const std::wstring &path)
 Set base path for resolving relative paths. More...
 
virtual std::wstring getFolderPath (const std::wstring &path) const
 get folder of the provided path More...
 
std::wstring pathToId (const std::wstring &path)
 
void replaceNonIdCharsWithUnderscore (std::wstring &str)
 replace all non-valid ID characters with '_' More...
 

Constructor & Destructor Documentation

BinaryIdPathResolver::BinaryIdPathResolver ( MsiInstall msiInstall)

Member Function Documentation

virtual std::wstring AppSecInc::Databases::ODBC::BinaryIdPathResolver::getFolderPath ( const std::wstring &  path) const
inlinevirtual

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)
inlinevirtual

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