Public Member Functions

DSNAttributes Class Reference

DSNAttributes collects MSI attributes and translates them onto an attribute string. More...

#include <DSNAttributes.h>

List of all members.

Public Member Functions

 DSNAttributes (MSIHANDLE hInstall)
void AddPropertyValue (const std::wstring &property_name, const std::wstring &attribute_name, bool blank=false)
 add the value of property_name as attribute_name to DSN_ATTRIBUTES
std::wstring GetAttributes () const
 get the attributes value string
 DSNAttributes ()
void Add (const std::wstring &namevaluepair)
 add a value of format name=value
void AddRange (const std::vector< std::wstring > &namevaluepairs)
 add an array of values of format name=value
std::wstring GetAttributes () const
 get the attributes value string

Detailed Description

DSNAttributes collects MSI attributes and translates them onto an attribute string.

DSNAttributes collects MSI attributes and translates them onto a DSN_ATTRIBUTES string


Constructor & Destructor Documentation

DSNAttributes::DSNAttributes ( MSIHANDLE  hInstall)
DSNAttributes::DSNAttributes ( )

Member Function Documentation

void DSNAttributes::Add ( const std::wstring &  namevaluepair)

add a value of format name=value

void DSNAttributes::AddPropertyValue ( const std::wstring &  property_name,
const std::wstring &  attribute_name,
bool  blank = false 
)

add the value of property_name as attribute_name to DSN_ATTRIBUTES

void DSNAttributes::AddRange ( const std::vector< std::wstring > &  namevaluepairs)

add an array of values of format name=value

std::wstring DSNAttributes::GetAttributes ( ) const

get the attributes value string

std::wstring DSNAttributes::GetAttributes ( ) const

get the attributes value string


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


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