array.h
来自「swf文件查看工具,能够看flash文件的格式」· C头文件 代码 · 共 59 行
H
59 行
//========================================================================//// Array.h//// Copyright 1996-2003 Glyph & Cog, LLC////========================================================================#ifndef ARRAY_H#define ARRAY_H#include <aconf.h>#ifdef USE_GCC_PRAGMAS#pragma interface#endif#include "Object.h"class XRef;//------------------------------------------------------------------------// Array//------------------------------------------------------------------------class Array {public: // Constructor. Array(XRef *xrefA); // Destructor. ~Array(); // Reference counting. int incRef() { return ++ref; } int decRef() { return --ref; } // Get number of elements. int getLength() { return length; } // Add an element. void add(Object *elem); // Accessors. Object *get(int i, Object *obj); Object *getNF(int i, Object *obj);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 int ref; // reference count};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?