//
// Array.h
//
-// Copyright 1996 Derek B. Noonburg
+// Copyright 1996-2003 Glyph & Cog, LLC
//
//========================================================================
#ifndef ARRAY_H
#define ARRAY_H
-#ifdef __GNUC__
+#include <aconf.h>
+
+#ifdef USE_GCC_PRAGMAS
#pragma interface
#endif
#include "Object.h"
+class XRef;
+
//------------------------------------------------------------------------
// Array
//------------------------------------------------------------------------
public:
// Constructor.
- Array();
+ Array(XRef *xrefA);
// Destructor.
~Array();
private:
+ XRef *xref; // the xref table for this PDF file
Object *elems; // array of elements
int size; // size of <elems> array
int length; // number of elements in array