rllib  1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
rlsvgcat.h
Go to the documentation of this file.
1 /***************************************************************************
2  rlsvgcat.h - description
3  -------------------
4  begin : Tue Apr 09 2006
5  copyright : (C) 2006 by R. Lehrig
6  email : lehrig@t-online.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This library is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU LESSER GENERAL PUBLIC LICENSE as *
13  * published by the Free Software Foundation *
14  * *
15  ***************************************************************************/
16 #ifndef _RL_SVG_CAT_
17 #define _RL_SVG_CAT_
18 
19 #include "rldefine.h"
20 
26 class rlSvgCat
27 {
28  public:
29  rlSvgCat();
30  virtual ~rlSvgCat();
31  int open(const char *infile, const char *outfile = 0);
32  int reopenSocket(const char *infile, int s);
33  void cat();
34  void close();
35  private:
36  int outUntil(int i, const char *tag);
37  int outUntilEnd(int i);
38  int outValue(int i);
39  void catline();
40  void *fin, *fout;
41  int s;
42  char line[256*256];
43 };
44 #endif