diff options
Diffstat (limited to 'src/binder/inc/propertymap.hpp')
-rw-r--r-- | src/binder/inc/propertymap.hpp | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/binder/inc/propertymap.hpp b/src/binder/inc/propertymap.hpp new file mode 100644 index 0000000000..38a8890dcc --- /dev/null +++ b/src/binder/inc/propertymap.hpp @@ -0,0 +1,35 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ============================================================ +// +// PropertyMap.hpp +// + + +// +// Defines the PropertyMap class +// +// ============================================================ + + +#ifndef __BINDER__PROPERTY_MAP_HPP__ +#define __BINDER__PROPERTY_MAP_HPP__ + +#include "propertyhashtraits.hpp" + +namespace BINDER_SPACE +{ + class PropertyMap : protected SHash<PropertyHashTraits> + { + public: + PropertyMap(); + ~PropertyMap(); + + HRESULT Add(/* in */ SString *pPropertyName, + /* in */ SBuffer *pPropertyValue); + SBuffer *Lookup(/* in */ SString *pPropertyName); + }; +}; + +#endif |