File indexing completed on 2025-01-18 10:11:30
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TASImagePlugin
0013 #define ROOT_TASImagePlugin
0014
0015
0016
0017
0018
0019
0020
0021
0022 #include "TImagePlugin.h"
0023
0024 struct ASImage;
0025
0026 class TASImagePlugin : public TImagePlugin {
0027
0028 public:
0029 TASImagePlugin(const char *ext) : TImagePlugin(ext) { }
0030 ~TASImagePlugin() override { ROOT::CallRecursiveRemoveIfNeeded(*this); }
0031
0032 ULong_t Hash() const override { return fExtension.Hash(); }
0033
0034 unsigned char *ReadFile(const char * , UInt_t & , UInt_t & ) override { return nullptr; }
0035 Bool_t WriteFile(const char * , unsigned char * , UInt_t , UInt_t ) override { return kFALSE; }
0036 virtual ASImage *File2ASImage(const char * ) { return nullptr; }
0037 virtual Bool_t ASImage2File(ASImage * ) { return kFALSE; }
0038
0039 ClassDefOverride(TASImagePlugin, 0)
0040 };
0041
0042 #endif