rllib  1
rlsvgcat.h
Go to the documentation of this file.
00001 /***************************************************************************
00002                           rlsvgcat.h  -  description
00003                              -------------------
00004     begin                : Tue Apr 09 2006
00005     copyright            : (C) 2006 by Rainer Lehrig
00006     email                : lehrig@t-online.de
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This library is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU LESSER GENERAL PUBLIC LICENSE as        *
00013  *   published by the Free Software Foundation                             *
00014  *                                                                         *
00015  ***************************************************************************/
00016 #ifndef _RL_SVG_CAT_
00017 #define _RL_SVG_CAT_
00018 
00019 #include "rldefine.h"
00020 
00026 class rlSvgCat
00027 {
00028   public:
00029     rlSvgCat();
00030     virtual ~rlSvgCat();
00031     int  open(const char *infile, const char *outfile = 0);
00032     int  reopenSocket(const char *infile, int s);
00033     void cat();
00034     void close();
00035   private:
00036     int  outUntil(int i, const char *tag);
00037     int  outUntilEnd(int i);
00038     int  outValue(int i);
00039     void catline();
00040     void *fin, *fout;
00041     int  s;
00042     char line[256*256];
00043 };
00044 #endif
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines