Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Optimize io includes
  • Loading branch information
linev committed May 13, 2020
commit 7af89872742830801bf0805afd8c552e21e2df9a
2 changes: 0 additions & 2 deletions io/io/inc/TDirectoryFile.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
#include "TDatime.h"
#include "TList.h"

class TList;
class TBrowser;
class TKey;
class TFile;

Expand Down
5 changes: 1 addition & 4 deletions io/io/inc/TFileMerger.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,11 @@
#ifndef ROOT_TFileMerger
#define ROOT_TFileMerger

#include "TList.h"
#include "TObject.h"
#include "TList.h"
#include "TString.h"
#include "TStopwatch.h"

#include <memory>

class TList;
class TFile;
class TDirectory;

Expand Down
13 changes: 9 additions & 4 deletions io/io/inc/TFilePrefetch.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,23 @@
#ifndef ROOT_TFilePrefetch
#define ROOT_TFilePrefetch

#include "TFile.h"
#include "TThread.h"
#include "TFPBlock.h"
#include "TSemaphore.h"
#include "TObject.h"
#include "TString.h"
#include "TStopwatch.h"
#include "TThread.h"
#include "TFile.h"

#include <atomic>
#include <condition_variable>
#include <mutex>

#ifdef R__LESS_INCLUDES
class TSemaphore;
class TFPBlock;
#else
#include "TSemaphore.h"
#include "TFPBlock.h"
#endif

class TFilePrefetch : public TObject {

Expand Down
3 changes: 0 additions & 3 deletions io/io/inc/TStreamerInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,10 @@

#include "TVirtualStreamerInfo.h"

#include "ThreadLocalStorage.h"

#include "TVirtualCollectionProxy.h"

#include "TObjArray.h"


/**
\class TStreamerInfo
\ingroup IO
Expand Down
1 change: 1 addition & 0 deletions io/io/src/TFile.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ The structure of a directory is shown in TDirectoryFile::TDirectoryFile
#include "TEnv.h"
#include "TVirtualMonitoring.h"
#include "TVirtualMutex.h"
#include "TMap.h"
#include "TMathBase.h"
#include "TObjString.h"
#include "TStopwatch.h"
Expand Down
2 changes: 2 additions & 0 deletions io/io/src/TFilePrefetch.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
#include "TMD5.h"
#include "TVirtualPerfStats.h"
#include "TVirtualMonitoring.h"
#include "TSemaphore.h"
#include "TFPBlock.h"

#include <iostream>
#include <string>
Expand Down
1 change: 1 addition & 0 deletions io/io/src/TMakeProject.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Helper class implementing the TFile::MakeProject.
#include "TMakeProject.h"
#include "TClass.h"
#include "TClassEdit.h"
#include "TList.h"
#include "TROOT.h"
#include "TMD5.h"
#include "TStreamerInfo.h"
Expand Down
1 change: 1 addition & 0 deletions io/io/src/TStreamerInfoReadBuffer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include "TContainerConverters.h"
#include "TVirtualArray.h"
#include "TVirtualObject.h"
#include "ThreadLocalStorage.h"

// GetCurrentElement.
// Currently only used by TRef::Streamer.
Expand Down
1 change: 1 addition & 0 deletions io/mpi/src/TMPIFile.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include "TMPIFile.h"
#include "TFileCacheWrite.h"
#include "TKey.h"
#include "THashTable.h"
#include "TMath.h"

ClassImp(TMPIFile);
Expand Down
1 change: 1 addition & 0 deletions io/rootpcm/src/rootclingIO.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include "TError.h"
#include "TFile.h"
#include "TProtoClass.h"
#include "TDataMember.h"
#include "TROOT.h"
#include "TStreamerInfo.h"
#include "TClassEdit.h"
Expand Down
1 change: 0 additions & 1 deletion io/sql/inc/TBufferSQL2.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

#include "TBufferText.h"
#include "TString.h"
#include "TObjArray.h"

class TMap;
class TExMap;
Expand Down
3 changes: 1 addition & 2 deletions io/xml/inc/TXMLPlayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,13 @@

#include "TObject.h"

#include "TList.h"

#include "TXMLSetup.h"

class TStreamerInfo;
class TStreamerElement;
class TStreamerSTL;
class TDataMember;
class TList;

class TXMLPlayer : public TObject {
public:
Expand Down
1 change: 1 addition & 0 deletions io/xml/src/TXMLPlayer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@

#include "Riostream.h"
#include "TROOT.h"
#include "TList.h"
#include "TClass.h"
#include "TVirtualStreamerInfo.h"
#include "TStreamerElement.h"
Expand Down
1 change: 1 addition & 0 deletions io/xml/src/TXMLSetup.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#include "TXMLSetup.h"

#include "TROOT.h"
#include "TList.h"
#include "TClass.h"
#include "TStreamerElement.h"

Expand Down