[root] / trunk / hist / hist / src / TPolyMarker.cxx Repository:
ViewVC logotype

Log of /trunk/hist/hist/src/TPolyMarker.cxx

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 44507 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 4 12:30:41 2012 UTC (2 years, 7 months ago) by axel
File length: 12953 byte(s)
Diff to previous 44225
Remove
  using namespace std;
from Riostream.h, which has huge consequences for all of ROOT.
Riostream.h is now a simple wrapper for fstream, iostream, iomanip for backward compatibility; Riosfwd.h simply wraps iosfwd.

Because of templates and their inline functions, Riostream.h needed to be included in headers, too (e.g. TParameter.h), which violated the assumption that Riostream.h is not exposing its using namespace std to headers.
ROOT now requires R__ANSISTREAM, R__SSTREAM, which does not change the set of supported compilers.

Without "using namespace std", several identifiers are now prefixed by std::; e.g. roofit/* source files now have a using namespace std to keep their coding style.
TFile::MakeProject() now generates "using namespace std" to convert the CINT-style class names into C++ ones.

Revision 44225 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 11 07:43:46 2012 UTC (2 years, 8 months ago) by moneta
File length: 12923 byte(s)
Diff to previous 44213
apply several Coverity fixes for Hist (mainly to check return pointer values)

Revision 44213 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 10 09:08:22 2012 UTC (2 years, 8 months ago) by moneta
File length: 12820 byte(s)
Diff to previous 37757
apply several fixes found by Coverity

In particular fix assignment operators (Copy) in TH1 and TGraph classes for memory leaks

Revision 37757 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 10 14:01:53 2011 UTC (4 years ago) by couet
File length: 12639 byte(s)
Diff to previous 35398
- Fix coverity report #11208: UNINIT_CTOR

Revision 35398 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 18 06:02:18 2010 UTC (4 years, 4 months ago) by brun
File length: 12623 byte(s)
Diff to previous 35366
Fix dead code. coverity CID 21144

Revision 35366 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 17 12:40:33 2010 UTC (4 years, 4 months ago) by brun
File length: 12635 byte(s)
Diff to previous 35170
Fix forward_null. coverity CID 11806

Revision 35170 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 6 11:29:21 2010 UTC (4 years, 4 months ago) by couet
File length: 12627 byte(s)
Diff to previous 22694
- init missing (coverity)

Revision 22694 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 17 20:23:21 2008 UTC (6 years, 10 months ago) by rdm
File length: 12612 byte(s)
Diff to previous 20882
move hist, histpainter, spectrum and spectrumpainter in the hist package.

Revision 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/hist/src/TPolyMarker.cxx
File length: 12612 byte(s)
Diff to previous 19826
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/hist/src/TPolyMarker.cxx
File length: 12612 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/hist/src/TPolyMarker.cxx
File length: 12666 byte(s)
Diff to previous 18683
remove :$ from tag line

Revision 18683 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 7 10:56:11 2007 UTC (7 years, 8 months ago) by brun
Original Path: trunk/hist/src/TPolyMarker.cxx
File length: 12676 byte(s)
Diff to previous 17729
From Olivier:
- Make SetPolyMarker(Int_t n) compliant with
  SetPolyMarker(Int_t n, Double_t *x, Double_t *y, Option_t *option)
  and with the documentation, ie:
  "If n <= 0 the current arrays of points are deleted"

Revision 17729 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 6 15:00:56 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/hist/src/TPolyMarker.cxx
File length: 12544 byte(s)
Diff to previous 17306
In the Streamer functions replace the lines like
         TPad::Class()->ReadBuffer(b, this, v, R__s, R__c);
         TPad::Class()->WriteBuffer(b,this);
by
         b.ReadClassBuffer(TPad::Class(), this, v, R__s, R__c);
         b.WriteClassBuffer(TPad::Class(),this);

Revision 17306 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 12 16:03:17 2007 UTC (8 years ago) by brun
Original Path: trunk/hist/src/TPolyMarker.cxx
File length: 12536 byte(s)
Diff to previous 15672
   TMath::Abs, TMath::Min, TMath::Max, TMath::Sign, TMath::Range
These functions are unfortunately not defined in a standard way in std::

This include is referenced by a new version of TMath.h.
As a result, TMath.h is back compatible with the previous version.

TMathBase.h is used in place of TMath.h in all the classes
that will go into the future miniCore library.
TMath.h and the TMath implementation will go into a new math sub-directory.

TString.h uses TMathBase.h instead of TMath.h.
As a result, it was necessary to include "TMath.h" in some classes
assuming that TMath was included via TString and using other functions
than the ones defined in TMathBase.h
 ----------------------------------------------------------------------

Revision 15672 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 3 16:10:46 2006 UTC (8 years, 6 months ago) by brun
Original Path: trunk/hist/src/TPolyMarker.cxx
File length: 12517 byte(s)
Diff to previous 15167
from Axel:
Change the signature of SavePrimitive from

  void SavePrimitive(ofstream &out, Option_t *option);
to
  void SavePrimitive(ostream &out, Option_t *option = "");

With this change one can do, eg
   myhist.SavePrimitive(std::cout);

WARNING: do rm -f tree/src/*.o

Revision 15167 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 24 14:55:26 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/hist/src/TPolyMarker.cxx
File length: 12509 byte(s)
Diff to previous 15134
Fix coding conventions violations

Revision 15134 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 23 04:47:42 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/hist/src/TPolyMarker.cxx
File length: 12465 byte(s)
Diff to previous 15072
From Federico Carminati:

"I have implemented all copy and equal operators needed to silence all
warnings in AliRoot, as requested. I have implemented shallow copies as
would do the default operators synthetized by the compiler.
Most operators are protected. If users complain, you just have to move
them into the public area, but class derivation is of course supported.
It has been a terrible job, I have modified 278 files, but the changes
are backward compabile, and this goes a long way to permitting user to
use the effc++ flag with root headers."

Revision 15072 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 17 09:37:21 2006 UTC (8 years, 8 months ago) by couet
Original Path: trunk/hist/src/TPolyMarker.cxx
File length: 12131 byte(s)
Diff to previous 14336
- Coding conventions.

Revision 14336 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 20 21:43:44 2006 UTC (8 years, 10 months ago) by pcanal
Original Path: trunk/hist/src/TPolyMarker.cxx
File length: 12093 byte(s)
Diff to previous 13987
Reduce direct dependencies on TClass.h, TROOT.h and TStreamerInfo.h.
Warning:  This means that some file that relied on the indirect
inclusion of these header file might now fail to compile with
an error message mention that gROOT is no known or that TClass,
TROOT or TStreamerInfo is incompletely defined.  Simply add the
proper include directive.

Revision 13987 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 3 21:55:39 2006 UTC (8 years, 11 months ago) by pcanal
Original Path: trunk/hist/src/TPolyMarker.cxx
File length: 12071 byte(s)
Diff to previous 11813
Update of spacing and documentation to match the coding rule

Revision 11813 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 18 12:31:10 2005 UTC (9 years, 8 months ago) by brun
Original Path: trunk/hist/src/TPolyMarker.cxx
File length: 12069 byte(s)
Diff to previous 10859
From Valeriy Onuchin:

this patch fixes all compilation problems for
ROOT under windows with VC6 compiler.

- The main problem is that VC6 compiler does not recognize
"long long" type in rootcint generated dictionaries,
To fix this, wherever "long long" type was writen in dictionary file it was
replaced with native win32 "long long" type_string "__int64".
Modified files are: cint/src/val2a.c, cint/src/newlink.c, cint/src/Class.cxx

Other changes:
- many  classes contained "list" variables.
  That produced name_clash with  std::list class name.
- many classes contained
 for (int i=0; ..) {..}
 for (int i=0; ..) {..}
 which caused "duplication of initialisation" bug.

- gl/src/CsgOps.cxx had outside declared templated parameter used inside
  internal function.
- TString Atoi, Atof - std namespace was removed.

_ TASimage - custom Streamer was changed. Reading/writing class version
   was added. That allows to keep "future compatibility"/"schema evolution"
   Demo files galaxy.root, gallery.root were rewritten.

- I rolled back changes in TGPicture class which are related to reading
   of XPM files because of problems under win32.

- TASImage::GetMask method was reimplemented.

- libAfterImage.tar.gz - fix all compilation problem under win32 (vc6)

Revision 10859 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 3 10:49:58 2005 UTC (10 years ago) by brun
Original Path: trunk/hist/src/TPolyMarker.cxx
File length: 12075 byte(s)
Diff to previous 10765
Add support for lin/log scales in TPolyLine and TPolyMarker.
Implement TPolyMarker::DistancetoPrimitive.

Revision 10765 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 13 16:56:22 2004 UTC (10 years, 1 month ago) by brun
Original Path: trunk/hist/src/TPolyMarker.cxx
File length: 10828 byte(s)
Diff to previous 10764
In case the first argument is null delete the previous arrays of points.

Protect the copy constructor against a number of points null.

Revision 10764 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 13 16:32:00 2004 UTC (10 years, 1 month ago) by brun
Original Path: trunk/hist/src/TPolyMarker.cxx
File length: 10717 byte(s)
Diff to previous 5518
Modify TPolyMarker::Set and TPolyLine::Set functions.
In case the first argument 'n" is <= 0 the current arrays X and Y are deleted.

Revision 5518 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 31 07:27:37 2002 UTC (12 years, 2 months ago) by brun
Original Path: trunk/hist/src/TPolyMarker.cxx
File length: 10000 byte(s)
Diff to previous 4564
Make const all Copy functions.
WARNING: If your class implements a Copy function deriving
from TObject or one of the ROOT classes, you must make
your Copy function const.

Revision 4564 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 18 08:22:01 2002 UTC (12 years, 8 months ago) by brun
Original Path: trunk/hist/src/TPolyMarker.cxx
File length: 9993 byte(s)
Diff to previous 3748
Add explicit calls to the base classes copy constructors in the copy constructors.
This is required by gcc on MacOS X

Revision 3748 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 24 11:39:31 2002 UTC (13 years ago) by rdm
Original Path: trunk/hist/src/TPolyMarker.cxx
File length: 9946 byte(s)
Diff to previous 3742
rename IOSFwd.h and IOStream.h to Riosfwd.h and Riostream.h. The change
is necessary because on Windows which is case insensitive IOStream.h
hides the real iostream.h.

Revision 3742 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 23 17:52:52 2002 UTC (13 years ago) by rdm
Original Path: trunk/hist/src/TPolyMarker.cxx
File length: 9946 byte(s)
Diff to previous 3714
use IOSFwd.h in headers instead of <iosfwd> or many other ifdef'ed variant
and IOStream.h in the source instead of <iostream[.h]>, <fstream[.h]> and
<iomanip[.h]>.

Revision 3714 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 20 10:11:40 2002 UTC (13 years ago) by brun
Original Path: trunk/hist/src/TPolyMarker.cxx
File length: 9991 byte(s)
Diff to previous 3674
Add new data member fLastPoint.
Add the following new functions:
   virtual Int_t   GetLastPoint() const { return fLastPoint;}
   virtual Int_t   Merge(TCollection *list);
   virtual Int_t   SetNextPoint(Double_t x, Double_t y); // *MENU*
   virtual Int_t   Size() const {return fLastPoint+1;}

Revision 3674 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 15 15:40:01 2002 UTC (13 years ago) by brun
Original Path: trunk/hist/src/TPolyMarker.cxx
File length: 8052 byte(s)
Diff to previous 2819
In SavePrimitive, save the draw option.

Revision 2819 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 20:05:23 2001 UTC (13 years, 4 months ago) by brun
Original Path: trunk/hist/src/TPolyMarker.cxx
File length: 8013 byte(s)
Diff to previous 1940
Use Double_t instead of Float_t in TPolyMarker.
Add new constructors to support Float_t and Double_t cases.
Same for SetPolyMarker.

Modify TTreePlayer to use Double_t in the interface with TPolyMarker.
This change solves a precision problem reported by some users when
producind scatter plots of variables with a large value and small range.

Revision 1940 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 10 06:25:13 2001 UTC (13 years, 9 months ago) by brun
Original Path: trunk/hist/src/TPolyMarker.cxx
File length: 6888 byte(s)
Diff to previous 1205
Set the number of points fN=0 in the default constructor.
Objects of these classes created via the default constructor crashed when drawing.
(thanks to Robert Hatcher for reporting).

Revision 1205 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 13 15:13:57 2000 UTC (14 years, 1 month ago) by brun
Original Path: trunk/hist/src/TPolyMarker.cxx
File length: 6878 byte(s)
Diff to previous 985
      W A R N I N G   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     ==================================================================
A very long list of changes in this pre-release of version 3.00.
We have modified the signature of many functions (in particular TObject)
to introduce more constness in the system.
You must change your code if your class derives from TObject and uses
one of the modified functions such as ls, Print, Compare, Hash, etc.
The modified functions in TObject have the following signature:
   virtual TObject    *Clone() const;
   virtual Int_t       Compare(const TObject *obj) const;
   virtual void        Delete(Option_t *option=""); // *MENU*
   virtual void        DrawClass() const; // *MENU*
   virtual void        DrawClone(Option_t *option="") const; // *MENU*
   virtual void        Dump() const; // *MENU*
   virtual TObject    *FindObject(const TObject *obj) const;
   virtual char       *GetObjectInfo(Int_t px, Int_t py) const;
   virtual ULong_t     Hash() const;
   virtual void        Inspect() const; // *MENU*
   virtual Bool_t      IsEqual(const TObject *obj) const;
   virtual void        ls(Option_t *option="") const;
   virtual void        Print(Option_t *option="") const;

A similar operation has been done with classes such as TH1, TVirtualPad,
TTree, etc.

Revision 985 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 21 20:51:23 2000 UTC (14 years, 2 months ago) by brun
Original Path: trunk/hist/src/TPolyMarker.cxx
File length: 6866 byte(s)
Diff to previous 568
Function Streamer now in the implementation file.
Add code for the new automatic schema evolution algorithm

Revision 568 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 5 09:21:24 2000 UTC (14 years, 4 months ago) by brun
Original Path: trunk/hist/src/TPolyMarker.cxx
File length: 6795 byte(s)
Diff to previous 3
The following headers and classes have been modified to take into account;
  - the new signature of IsFolder (now const)
  - the new TObject::FindObject
  - the fact that the static functions of TObject have been moved to TROOT.

Revision 3 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: trunk/hist/src/TPolyMarker.cxx
File length: 6729 byte(s)
Copied from: branches/rdm/hist/src/TPolyMarker.cxx revision 2
Diff to previous 2
This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.

Revision 2 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: branches/rdm/hist/src/TPolyMarker.cxx
File length: 6729 byte(s)
Initial import of ROOT into CVS

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9