rllib  1
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
void * fin
Definition: rlsvgcat.h:40
int outUntilEnd(int i)
Definition: rlsvgcat.cpp:126
int open(const char *infile, const char *outfile=0)
Definition: rlsvgcat.cpp:46
rlSvgCat()
Definition: rlsvgcat.cpp:21
virtual ~rlSvgCat()
Definition: rlsvgcat.cpp:27
int s
Definition: rlsvgcat.h:41
int outUntil(int i, const char *tag)
Definition: rlsvgcat.cpp:103
char line[256 *256]
Definition: rlsvgcat.h:42
void catline()
Definition: rlsvgcat.cpp:182
void * fout
Definition: rlsvgcat.h:40
void cat()
Definition: rlsvgcat.cpp:95
void close()
Definition: rlsvgcat.cpp:32
int outValue(int i)
Definition: rlsvgcat.cpp:150
int reopenSocket(const char *infile, int s)
Definition: rlsvgcat.cpp:71