2 /**************************************************************************
3 ** (c) Copyright 2003, Andromeda Technology & Automation
4 ** This is free software; you can redistribute it and/or modify it under the
5 ** terms of the GNU General Public License, see the file COPYING.
6 ***************************************************************************
7 ** MODULE INFORMATION *
8 ***********************
9 ** FILE NAME : xml_cooker.h
11 ** VERSION NUMBER : $Revision: 1.1 $
13 ** DESCRIPTION : The XML cooker does not cook anything. It is here to
14 ** match the XML header.
19 ***************************************************************************
20 ** ADMINISTRATIVE INFORMATION *
21 ********************************
22 ** ORIGINAL AUTHOR : Arjen Baart - arjen@andromeda.nl
23 ** CREATION DATE : Nov 26, 2003
24 ** LAST UPDATE : Nov 26, 2003
26 **************************************************************************/
28 /*****************************
29 $Log: xml_cooker.h,v $
30 Revision 1.1 2003-12-04 10:38:09 arjen
31 Major redesign. All input is handled through XML. Raw input data is first
32 transformed into an XML document for further processing.
33 A collection of polymorphic classes handle the transformation of various
34 input formats into XML.
35 Classifying input data is done with a finite improbability calculation.
37 *****************************/
39 /* static const char *RCSID = "$Id: xml_cooker.h,v 1.1 2003-12-04 10:38:09 arjen Exp $"; */
41 #include "line_cooker.h"
44 ///////////////////////////////////////////////////////////////////////////
46 // BASECLASS : line_cooker
55 // LAST MODIFIED : Nov 26, 2003
56 ///////////////////////////////////////////////////////////////////////////
59 class xml_cooker : public line_cooker
71 bool check_pattern(String logline);
72 bool cook_this(String logline, UTC arrival);