Logo ROOT   6.10/09
Reference Guide
RooList.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Project: RooFit *
3  * Package: RooFitCore *
4  * File: $Id: RooList.h,v 1.9 2007/05/11 09:11:30 verkerke Exp $
5  * Authors: *
6  * WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu *
7  * DK, David Kirkby, UC Irvine, dkirkby@uci.edu *
8  * *
9  * Copyright (c) 2000-2005, Regents of the University of California *
10  * and Stanford University. All rights reserved. *
11  * *
12  * Redistribution and use in source and binary forms, *
13  * with or without modification, are permitted according to the terms *
14  * listed in LICENSE (http://roofit.sourceforge.net/license.txt) *
15  *****************************************************************************/
16 #ifndef ROO_LIST
17 #define ROO_LIST
18 
19 #include "TList.h"
20 
21 class RooList : public TList {
22 public:
23  inline RooList() : TList() { }
24  virtual ~RooList() {} ;
25  TObjOptLink *findLink(const char *name, const char *caller= 0) const;
26  Bool_t moveBefore(const char *before, const char *target, const char *caller= 0);
27  Bool_t moveAfter(const char *after, const char *target, const char *caller= 0);
28 protected:
29  ClassDef(RooList,1) // TList with extra support for Option_t associations
30 };
31 
32 #endif
virtual ~RooList()
Definition: RooList.h:24
bool Bool_t
Definition: RtypesCore.h:59
Bool_t moveAfter(const char *after, const char *target, const char *caller=0)
Move the target object immediately after the specified object, preserving any Option_t associated wit...
Definition: RooList.cxx:104
#define ClassDef(name, id)
Definition: Rtypes.h:297
A doubly linked list.
Definition: TList.h:43
RooList()
Definition: RooList.h:23
A RooList is a TList with extra support for working with options that are associated with each node...
Definition: RooList.h:21
TObjOptLink * findLink(const char *name, const char *caller=0) const
Find the link corresponding to the named object in this list.
Definition: RooList.cxx:46
Bool_t moveBefore(const char *before, const char *target, const char *caller=0)
Move the target object immediately before the specified object, preserving any Option_t associated wi...
Definition: RooList.cxx:69