Logo ROOT   6.16/01
Reference Guide
Files | Classes | Functions
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  RDrawable.cxx
 
file  RDrawable.hxx
 
file  RIntegerSequence.hxx
 
file  RMenuItem.cxx
 
file  RMenuItem.hxx
 
file  RObjectDrawable.hxx
 
file  RPadDisplayItem.hxx
 
file  TFile.cxx
 
file  TLogger.cxx
 

Classes

class  TApplication
 This class creates the ROOT Application Environment that interfaces to the windowing system eventloop and eventhandlers. More...
 
class  TApplicationImp
 ABC describing GUI independent application implementation protocol. More...
 
class  TAtt3D
 Use this attribute class when an object should have 3D capabilities. More...
 
class  TAttAxis
 Manages histogram axis attributes. More...
 
class  TAttBBox
 Helper for management of bounding-box information. More...
 
class  TAttBBox2D
 Abstract base class for elements drawn in the editor. More...
 
class  TAttFill
 Fill Area Attributes class. More...
 
class  TAttLine
 Line Attributes class. More...
 
class  TAttMarker
 Marker Attributes class. More...
 
class  TAttPad
 Manages default Pad attributes. More...
 
class  TAttText
 Text Attributes class. More...
 
class  TBase64
 This code implements the Base64 encoding and decoding. More...
 
class  TBenchmark
 This class is a ROOT utility to help benchmarking applications. More...
 
class  TBrowser
 Using a TBrowser one can browse all ROOT objects. More...
 
class  TBrowserImp
 ABC describing GUI independent browser implementation protocol. More...
 
class  TBuffer
 Buffer base class used for serializing objects. More...
 
class  TBuffer3D
 Generic 3D primitive description class. More...
 
class  TCanvasImp
 ABC describing GUI independent main window (with menubar, scrollbars and a drawing area). More...
 
class  TColor
 The color creation and management class. More...
 
class  TColorGradient
 TColorGradient extends basic TColor. More...
 
class  TContextMenu
 This class provides an interface to context sensitive popup menus. More...
 
class  TContextMenuImp
 This class provides an interface to GUI independent context sensitive popup menus. More...
 
class  TControlBarImp
 ABC describing GUI independent control bar. More...
 
class  TDatime
 This class stores the date and time with a precision of one second in an unsigned 32 bit word (950130 124559). More...
 
class  TDirectory
 Describe directory structure in memory. More...
 
class  TEnv
 The TEnv class reads config files, by default named .rootrc. More...
 
class  TExec
 TExec is a utility class that can be used to execute a C++ command when some event happens in a pad. More...
 
class  TFileCollection
 Class that contains a list of TFileInfo's and accumulated meta data information about its entries. More...
 
class  TFileInfo
 Class describing a generic file including meta information. More...
 
class  TFolder
 A TFolder object is a collection of objects and folders. More...
 
class  TGuiFactory
 This ABC is a factory for GUI components. More...
 
class  TInetAddress
 This class represents an Internet Protocol (IP) address. More...
 
class  TInspectorImp
 ABC describing GUI independent object inspector (abstraction mainly needed for Win32. More...
 
class  TListOfTypes
 A collection of TDataType designed to hold the typedef information and numerical type information. More...
 
class  TMacro
 Class supporting a collection of lines with C++ code. More...
 
class  TMD5
 This code implements the MD5 message-digest algorithm. More...
 
class  TMemberInspector
 Abstract base class for accessing the data-members of a class. More...
 
class  TMessageHandler
 Handle messages that might be generated by the system. More...
 
class  TNamed
 The TNamed class is the base class for all named ROOT classes. More...
 
class  TNotifyLink< Type >
 Links multiple listeners to be notified on TChain file changes. More...
 
class  TObject
 Mother of all ROOT objects. More...
 
class  TObjectSpy
 Monitors objects for deletion and reflects the deletion by reverting the internal pointer to zero. More...
 
class  TObjString
 Collectable string class. More...
 
class  TParameter< AParamType >
 Named parameter, streamable and storable. More...
 
class  TPluginManager
 This class implements a plugin library manager. More...
 
class  TProcessID
 A TProcessID identifies a ROOT job in a unique way in time and space. More...
 
class  TProcessUUID
 This class is a specialized TProcessID managing the list of UUIDs. More...
 
class  TQCommand
 The Command design pattern is based on the idea, that all editing in an application is done by creating instances of command objects. More...
 
class  TQConnection
 TQConnection class is an internal class, used in the object communication mechanism. More...
 
class  TQObject
 This is the ROOT implementation of the Qt object communication mechanism (see also http://www.troll.no/qt/metaobjects.html) More...
 
class  TRef
 Persistent Reference link to a TObject A TRef is a lightweight object pointing to any TObject. More...
 
class  TRefCnt
 Definitions for TRefCnt, base class for reference counted objects. More...
 
class  TRegexp
 Regular expression class. More...
 
class  TRemoteObject
 The TRemoteObject class provides protocol for browsing ROOT objects from a remote ROOT session. More...
 
class  TROOT
 ROOT top level object description. More...
 
class  TStopwatch
 Stopwatch class. More...
 
class  TStorage
 Storage manager. More...
 
class  TString
 Basic string class. More...
 
class  TStyle
 TStyle objects may be created to define special styles. More...
 
class  TSysEvtHandler
 Abstract base class for handling system events. More...
 
class  TSystem
 Abstract base class defining a generic interface to the underlying Operating System. More...
 
class  TSystemDirectory
 Describes an Operating System directory for the browser. More...
 
class  TSystemFile
 A TSystemFile describes an operating system file. More...
 
class  TTask
 TTask is a base class that can be used to build a complex tree of Tasks. More...
 
class  TTime
 Basic time type with millisecond precision. More...
 
class  TTimer
 Handles synchronous and a-synchronous timer events. More...
 
class  TTimeStamp
 The TTimeStamp encapsulates seconds and ns since EPOCH. More...
 
class  TUri
 This class represents a RFC 3986 compatible URI. More...
 
class  TUrl
 This class represents a WWW compatible URL. More...
 
class  TUUID
 This class defines a UUID (Universally Unique IDentifier), also known as GUIDs (Globally Unique IDentifier). More...
 
class  TVirtualFFT
 TVirtualFFT is an interface class for Fast Fourier Transforms. More...
 
class  TVirtualMutex
 This class implements a mutex interface. More...
 
class  TVirtualPad
 TVirtualPad is an abstract base class for the Pad and Canvas classes. More...
 
class  TVirtualPadEditor
 Abstract base class used by ROOT graphics editor. More...
 
class  TVirtualPadPainter
 To make it possible to use GL for 2D graphic in a TPad/TCanvas. More...
 
class  TVirtualPerfStats
 Provides the interface for the PROOF internal performance measurement and event tracing. More...
 
class  TVirtualPS
 TVirtualPS is an abstract interface to Postscript, PDF, SVG. More...
 
class  TVirtualViewer3D
 Abstract 3D shapes viewer. More...
 
class  TVirtualX
 Semi-Abstract base class defining a generic interface to the underlying, low level, native graphics backend (X11, Win32, MacOS, OpenGL...). More...
 

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.