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#ifndef STRINGARRAYLIST_H_
6#define STRINGARRAYLIST_H_
7
8
9//
10// StringArrayList is a simple class which is used to contain a growable
11// list of Strings, stored in chunks. Based on top of ArrayList
12#include "arraylist.h"
13
14
15class StringArrayList
16{
17 ArrayList m_Elements;
18public:
19 DWORD GetCount() const;
20 SString& operator[] (DWORD idx) const;
21 SString& Get (DWORD idx) const;
22#ifndef DACCESS_COMPILE
23 void Append(const SString& string);
24 void AppendIfNotThere(const SString& string);
25#endif
26 ~StringArrayList();
27};
28
29
30#include "stringarraylist.inl"
31#endif
32