DSNAttributes.h
Go to the documentation of this file.
1 #pragma once
2 
4 class DSNAttributes
5 {
6 private:
7  std::vector<std::wstring> _attributes;
8 public:
11  void Add(const std::wstring& namevaluepair);
13  void AddRange(const std::vector<std::wstring>& namevaluepairs);
15  std::wstring GetAttributes() const;
16 };
void AddRange(const std::vector< std::wstring > &namevaluepairs)
add an array of values of format name=value
Definition: DSNAttributes.cpp:9
DSNAttributes collects MSI attributes and translates them onto an attribute string.
Definition: DSNAttributes.h:6
void Add(const std::wstring &namevaluepair)
add a value of format name=value
Definition: DSNAttributes.cpp:17
DSNAttributes()
Definition: DSNAttributes.cpp:4
std::wstring GetAttributes() const
get the attributes value string
Definition: DSNAttributes.cpp:25


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