Namespaces | Functions
Formatter.h File Reference

Go to the source code of this file.

Namespaces

 AppSecInc
 
 AppSecInc::Formatter
 Common message formatting.
 

Functions

std::string AppSecInc::Formatter::FormatMessageFromHRA (HRESULT hr)
 format an ANSI message from an HRESULT More...
 
std::string AppSecInc::Formatter::FormatMessageFromLastErrorCodeA (DWORD)
 format an ANSI message from a Win32 error code More...
 
std::wstring AppSecInc::Formatter::FormatMessageFromHRW (HRESULT hr)
 format a UNICODE message from an HRESULT More...
 
std::wstring AppSecInc::Formatter::FormatMessageFromLastErrorCodeW (DWORD)
 format a UNICODE message from a Win32 error code More...
 
std::string AppSecInc::Formatter::FormatMessageFromVArgs (char *, va_list &)
 format a message with a list of arguments (printf-style) More...
 
std::wstring AppSecInc::Formatter::FormatMessageFromVArgs (wchar_t *, va_list &)
 format a message with a list of arguments (printf-style) More...
 
std::string AppSecInc::Formatter::FormatMessage (char *,...)
 format a message with a list of arguments (printf-style) More...
 
std::wstring AppSecInc::Formatter::FormatMessage (wchar_t *,...)
 format a message with a list of arguments (printf-style) More...
 
std::string AppSecInc::Formatter::FormatHexA (byte *buffer, unsigned long len)
 format an ANSI buffer of bytes into a hex view More...
 
std::wstring AppSecInc::Formatter::FormatHexW (byte *buffer, unsigned long len)
 format a UNICODE buffer of bytes into a hex view More...
 
std::string AppSecInc::Formatter::FormatHexStringA (byte *buffer, unsigned long len)
 format an ANSI buffer of bytes into a hex string More...
 
std::wstring AppSecInc::Formatter::FormatHexStringW (byte *buffer, unsigned long len)
 format a UNICODE buffer of bytes into a hex string More...
 
std::wstring AppSecInc::Formatter::FormatTemplate (const std::wstring &buffer, const std::map< std::wstring, std::wstring > &tokens, const std::wstring &left=L"[", const std::wstring &right=L"]")
 format a UNICODE template More...
 
std::string AppSecInc::Formatter::FormatTemplate (const std::string &buffer, const std::map< std::string, std::string > &tokens, const std::string &left="[", const std::string &right="]")
 format an ANSI template More...
 


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