Public Member Functions

AppSecInc::Databases::ODBC::PathResolver Class Reference

#include <PathResolver.h>

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

List of all members.

Public Member Functions

virtual std::wstring readContent (const std::wstring &path)=0
 Locate the path and read its content.
virtual void setBasePath (const std::wstring &path)=0
 Set base path for resolving relative paths.
virtual std::wstring getFolderPath (const std::wstring &path) const =0
 get folder of the provided path

Detailed Description

This interface abstracts resolving inserted paths and reading corresponding content. It allows to support insertion both from a file system and e.g. MSI binary streams where inserted paths may be mapped to the corresponding binary stream IDs.


Member Function Documentation

virtual std::wstring AppSecInc::Databases::ODBC::PathResolver::getFolderPath ( const std::wstring &  path) const [pure virtual]
virtual std::wstring AppSecInc::Databases::ODBC::PathResolver::readContent ( const std::wstring &  path) [pure virtual]
virtual void AppSecInc::Databases::ODBC::PathResolver::setBasePath ( const std::wstring &  path) [pure virtual]

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


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