Logo ROOT  
Reference Guide
Base ROOT classes

The Base classes of ROOT.

The base classes of the ROOT system provide the core of the system. They are available to all other classes. They range from a set of abstract interfaces (TVirtualXXXXX classes), to a wide range of basic utility classes providing basic services like strings, regular expression, timers, date/time, md5 checksumming, signal/slots event handling, plugin handler, run-config resource processor, etc. etc.

Files

file  RConversionRuleParser.cxx
 
file  RError.cxx
 
file  RFile.cxx
 
file  RIntegerSequence.hxx
 
file  RMakeUnique.hxx
 
file  TClassEdit.cxx
 

Classes

class  ROOT::Experimental::RError
 Captures diagnostics related to a ROOT runtime error. More...
 
class  ROOT::Experimental::RException
 Base class for all ROOT issued exceptions. More...
 
class  ROOT::Experimental::RResult< T >
 The class is used as a return type for operations that can fail; wraps a value of type T or an RError. More...
 
class  ROOT::Experimental::Internal::RResultBase
 Common handling of the error case for RResult<T> (T != void) and RResult<void> More...
 
class  TApplication
 
class  TApplicationImp
 
class  TAtt3D
 
class  TAttAxis
 
class  TAttBBox
 
class  TAttBBox2D
 
class  TAttFill
 
class  TAttLine
 
class  TAttMarker
 
class  TAttPad
 
class  TAttText
 
class  TBase64
 
class  TBenchmark
 
class  TBrowser
 
class  TBrowserImp
 
class  TBuffer
 
class  TBuffer3D
 
class  TCanvasImp
 
class  TColor
 
class  TColorGradient
 
class  TContextMenu
 
class  TContextMenuImp
 
class  TControlBarImp
 
class  TDatime
 
class  TDirectory
 
class  TEnv
 
class  TExec
 
class  TFileCollection
 
class  TFileInfo
 
class  TFolder
 
class  TGuiFactory
 
class  TInetAddress
 
class  TInspectorImp
 
class  TListOfTypes
 
class  TMacro
 
class  TMD5
 
class  TMemberInspector
 
class  TMessageHandler
 
class  TNamed
 
class  TNotifyLink< Type >
 
class  TObject
 
class  TObjectSpy
 
class  TObjString
 
class  TParameter< AParamType >
 
class  TPluginManager
 
class  TProcessID
 
class  TProcessUUID
 
class  TQCommand
 
class  TQConnection
 
class  TQObject
 
class  TRef
 
class  TRefCnt
 
class  TRegexp
 
class  TRemoteObject
 
class  TROOT
 
class  TStopwatch
 
class  TStorage
 
class  TString
 
class  TStyle
 
class  TSysEvtHandler
 
class  TSystem
 
class  TSystemDirectory
 
class  TSystemFile
 
class  TTask
 
class  TTime
 
class  TTimer
 
class  TTimeStamp
 
class  TUri
 
class  TUrl
 
class  TUUID
 
class  TVersionCheck
 
class  TVirtualFFT
 
class  TVirtualMutex
 
class  TVirtualPad
 
class  TVirtualPadEditor
 
class  TVirtualPadPainter
 
class  TVirtualPerfStats
 
class  TVirtualPS
 
class  TVirtualViewer3D
 
class  TVirtualX
 

Functions

Long_t TMath::NextPrime (Long_t x)
 TMath Base functions. More...
 

Function Documentation

◆ NextPrime()

Long_t TMath::NextPrime ( Long_t  x)

TMath Base functions.

Define the functions Min, Max, Abs, Sign, Range for all types. NB: These functions are unfortunately not available in a portable way in std::.

More functions are defined in TMath.h. TMathBase.h is designed to be a stable file and used in place of TMath.h in the ROOT miniCore. Return next prime number after x, unless x is a prime in which case x is returned.

Definition at line 30 of file TMathBase.cxx.