FACT++  1.0
Writer.h
Go to the documentation of this file.
1 #ifndef WRITER_H
2 #define WRITER_H
3 
4 #ifdef __CINT__
5 struct timeval;
6 #else
7 #include <TROOT.h>
8 #include <sys/time.h>
9 #endif
10 
11 class TVector2;
12 
13 typedef unsigned char byte;
14 
15 class Writer;
16 
17 class Writer
18 {
19 public:
20  virtual ~Writer() { }
21 
22  static void Ppm(const char *fname, const byte *img, struct timeval *date, const TVector2 xy);
23  static void Png(const char *fname, const byte *buf, struct timeval *date, const TVector2 xy);
24 
25  ClassDef(Writer, 0)
26 };
27 
28 #endif
Definition: Writer.h:17
unsigned char byte
Definition: Writer.h:11
unsigned char byte
Definition: MGImage.h:17
virtual ~Writer()
Definition: Writer.h:20
static void Ppm(const char *fname, const byte *img, struct timeval *date, const TVector2 xy)
Definition: Writer.cc:142
static void Png(const char *fname, const byte *buf, struct timeval *date, const TVector2 xy)
Definition: Writer.cc:17