Sha256: 9f48971972f152d37b8ccd6c9a6692ec06a7ef5778f26ff41c460c72c6ba4d0d

Contents?: true

Size: 771 Bytes

Versions: 2

Compression:

Stored size: 771 Bytes

Contents

//========================================================================
//
// PSTokenizer.h
//
// Copyright 2002-2003 Glyph & Cog, LLC
//
//========================================================================

#ifndef PSTOKENIZER_H
#define PSTOKENIZER_H

#include <aconf.h>

#ifdef USE_GCC_PRAGMAS
#pragma interface
#endif

#include "gtypes.h"

//------------------------------------------------------------------------

class PSTokenizer {
public:

  PSTokenizer(int (*getCharFuncA)(void *), void *dataA);
  ~PSTokenizer();

  // Get the next PostScript token.  Returns false at end-of-stream.
  GBool getToken(char *buf, int size, int *length);

private:

  int lookChar();
  int getChar();

  int (*getCharFunc)(void *);
  void *data;
  int charBuf;
};

#endif

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pdf2json-0.2.0 pdf2json-0.52-source/xpdf/PSTokenizer.h
pdf2json-0.1.0 pdf2json-0.52-source/xpdf/PSTokenizer.h