| 1 | // Licensed to the .NET Foundation under one or more agreements. |
| 2 | // The .NET Foundation licenses this file to you under the MIT license. |
| 3 | // See the LICENSE file in the project root for more information. |
| 4 | // ============================================================ |
| 5 | // |
| 6 | // PropertyMap.hpp |
| 7 | // |
| 8 | |
| 9 | |
| 10 | // |
| 11 | // Defines the PropertyMap class |
| 12 | // |
| 13 | // ============================================================ |
| 14 | |
| 15 | |
| 16 | #ifndef __BINDER__PROPERTY_MAP_HPP__ |
| 17 | #define __BINDER__PROPERTY_MAP_HPP__ |
| 18 | |
| 19 | #include "propertyhashtraits.hpp" |
| 20 | |
| 21 | namespace BINDER_SPACE |
| 22 | { |
| 23 | class PropertyMap : protected SHash<PropertyHashTraits> |
| 24 | { |
| 25 | public: |
| 26 | PropertyMap(); |
| 27 | ~PropertyMap(); |
| 28 | |
| 29 | HRESULT Add(/* in */ SString *pPropertyName, |
| 30 | /* in */ SBuffer *pPropertyValue); |
| 31 | SBuffer *Lookup(/* in */ SString *pPropertyName); |
| 32 | }; |
| 33 | }; |
| 34 | |
| 35 | #endif |
| 36 | |