]> git.ipfire.org Git - thirdparty/squid.git/blame - src/esi/ElementList.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / esi / ElementList.h
CommitLineData
43ae1d95 1/*
bde978a6 2 * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
43ae1d95 3 *
bbc27441
AJ
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
43ae1d95 7 */
8
bbc27441
AJ
9/* DEBUG: section 86 ESI processing */
10
43ae1d95 11#ifndef SQUID_ELEMENTLIST_H
12#define SQUID_ELEMENTLIST_H
13
f99c2cfe 14#include "esi/Element.h"
43ae1d95 15
16class ElementList
17{
18
19public:
20 ElementList();
21 ~ElementList();
22
23 ESIElement::Pointer &operator[](int);
24 ESIElement::Pointer const &operator[](int)const;
25 ESIElement::Pointer * elements; /* unprocessed or rendered nodes */
26 void pop_front (size_t const);
27 void push_back(ESIElement::Pointer &);
28 size_t size() const;
29 void setNULL (int start, int end);
30
31 int allocedcount;
32 size_t allocedsize;
33 int elementcount;
34
35private:
36 ElementList(ElementList const &);
37 ElementList &operator=(ElementList const&);
38};
39
43ae1d95 40#endif /* SQUID_ELEMENTLIST_H */
f53969cc 41