1 //===-- DWARFDIECollection.h ------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef SymbolFileDWARF_DWARFDIECollection_h_
11 #define SymbolFileDWARF_DWARFDIECollection_h_
16 class DWARFDIECollection
19 DWARFDIECollection() :
28 Append (const DWARFDIE &die);
31 Dump(lldb_private::Stream *s, const char* title) const;
34 GetDIEAtIndex (uint32_t idx) const;
40 typedef std::vector<DWARFDIE> collection;
41 typedef collection::iterator iterator;
42 typedef collection::const_iterator const_iterator;
44 collection m_dies; // Ordered list of die offsets
48 #endif // SymbolFileDWARF_DWARFDIECollection_h_