| 1 | 
   | 
 #include <iostream> | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 2 | 
   | 
 #include <string> | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 3 | 
   | 
 #include <stdlib.h> // used for system("XXSX") calls | 
 
 
 
 
 
 
 
 
 
 
 
 | 4 | 
 < | 
 #include "socket++-1.10/pipestream.h"  // used to get calls to statgrab | 
 
 
 
 
 
 
 
 
 
 | 4 | 
 > | 
 #include "SubPipe.h" | 
 
 
 
 
 
 
 
 
 
 
 
 | 5 | 
   | 
 #include "Config.h" | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 6 | 
   | 
 #ifndef  XMLFORMATTER_H         /* Has the file been INCLUDE'd already? */ | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 7 | 
   | 
     #define  XMLFORMATTER_H  yes | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 22 | 
   | 
                 int getSequence(){ return sequence; }; // inline | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 23 | 
   | 
                  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 24 | 
   | 
         private: | 
 
 
 
 
 
 
 
 
 | 25 | 
 + | 
             SubPipe * p; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 26 | 
   | 
                 int sequence;           // sequence number for the packets | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 27 | 
   | 
                 int debug;              // print debug info? | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 28 | 
   | 
                 string titles[60];      // names for the packet info |