@@ -247,12 +247,12 @@ can be replaced with the simpler and exception safe:
247247 virtual void pwd () const ;
248248 virtual void ReadAll (Option_t * /* option*/ =" " ) {}
249249 virtual Int_t ReadKeys (Bool_t /* forceRead*/ =kTRUE ) {return 0 ;}
250- virtual Int_t ReadTObject (TObject * /* obj*/ , const char * /* keyname*/ ) {return 0 ;}
250+ virtual Long64_t ReadTObject (TObject * /* obj*/ , const char * /* keyname*/ ) {return 0 ;}
251251 virtual TObject *Remove (TObject*);
252252 void RecursiveRemove (TObject *obj) override ;
253253 virtual void rmdir (const char *name);
254254 virtual void Save () {}
255- virtual Int_t SaveObjectAs (const TObject * /* obj*/ , const char * /* filename*/ =" " , Option_t * /* option*/ =" " ) const ;
255+ virtual Long64_t SaveObjectAs (const TObject * /* obj*/ , const char * /* filename*/ =" " , Option_t * /* option*/ =" " ) const ;
256256 virtual void SaveSelf (Bool_t /* force*/ = kFALSE ) {}
257257 virtual void SetBufferSize (Long64_t /* bufsize */ ) {}
258258 virtual void SetModified () {}
@@ -261,13 +261,13 @@ can be replaced with the simpler and exception safe:
261261 virtual void SetTRefAction (TObject * /* ref*/ , TObject * /* parent*/ ) {}
262262 virtual void SetSeekDir (Long64_t) {}
263263 virtual void SetWritable (Bool_t) {}
264- Int_t Sizeof () const override {return 0 ;}
265- virtual Int_t Write (const char * /* name*/ =nullptr , Int_t /* opt*/ =0 , Long64_t /* bufsize*/ =0 ) override {return 0 ;}
266- virtual Int_t Write (const char * /* name*/ =nullptr , Int_t /* opt*/ =0 , Long64_t /* bufsize*/ =0 ) const override {return 0 ;}
267- virtual Int_t WriteTObject (const TObject *obj, const char *name =nullptr , Option_t * /* option*/ =" " , Long64_t /* bufsize*/ =0 );
264+ Long64_t Sizeof () const override {return 0 ;}
265+ virtual Long64_t Write (const char * /* name*/ =nullptr , Int_t /* opt*/ =0 , Long64_t /* bufsize*/ =0 ) override {return 0 ;}
266+ virtual Long64_t Write (const char * /* name*/ =nullptr , Int_t /* opt*/ =0 , Long64_t /* bufsize*/ =0 ) const override {return 0 ;}
267+ virtual Long64_t WriteTObject (const TObject *obj, const char *name =nullptr , Option_t * /* option*/ =" " , Long64_t /* bufsize*/ =0 );
268268private:
269269// / \cond HIDDEN_SYMBOLS
270- Int_t WriteObject (void *obj, const char * name, Option_t *option=" " , Long64_t bufsize=0 ); // Intentionally not implemented.
270+ Long64_t WriteObject (void *obj, const char * name, Option_t *option=" " , Long64_t bufsize=0 ); // Intentionally not implemented.
271271// / \endcond
272272public:
273273 // / \brief Write an object with proper type checking.
@@ -293,13 +293,13 @@ can be replaced with the simpler and exception safe:
293293 // / This overload takes care of instances of classes that are derived from
294294 // / TObject. The method redirects to TDirectory::WriteTObject.
295295 template <typename T>
296- inline std::enable_if_t <std::is_base_of<TObject, T>::value, Int_t >
296+ inline std::enable_if_t <std::is_base_of<TObject, T>::value, Long64_t >
297297 WriteObject (const T *obj, const char *name, Option_t *option = " " , Long64_t bufsize = 0 )
298298 {
299299 return WriteTObject (obj, name, option, bufsize);
300300 }
301- virtual Int_t WriteObjectAny (const void *, const char * /* classname*/ , const char * /* name*/ , Option_t * /* option*/ =" " , Long64_t /* bufsize*/ =0 ) {return 0 ;}
302- virtual Int_t WriteObjectAny (const void *, const TClass * /* cl*/ , const char * /* name*/ , Option_t * /* option*/ =" " , Long64_t /* bufsize*/ =0 ) {return 0 ;}
301+ virtual Long64_t WriteObjectAny (const void *, const char * /* classname*/ , const char * /* name*/ , Option_t * /* option*/ =" " , Long64_t /* bufsize*/ =0 ) {return 0 ;}
302+ virtual Long64_t WriteObjectAny (const void *, const TClass * /* cl*/ , const char * /* name*/ , Option_t * /* option*/ =" " , Long64_t /* bufsize*/ =0 ) {return 0 ;}
303303 virtual void WriteDirHeader () {}
304304 virtual void WriteKeys () {}
305305
0 commit comments