Logo ROOT   6.18/05
Reference Guide
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
RooListProxy Class Referencefinal

RooListProxy is the concrete proxy for RooArgList objects.

A RooListProxy is the only safe mechanism to store a RooArgList with RooAbsArg contents in another RooAbsArg. The list proxy has the semantic of a RooArgList but also takes care of all bookkeeping required when composite objects are clone and client-server links need to be redirected.

Definition at line 25 of file RooListProxy.h.

Public Member Functions

 RooListProxy ()
 
 RooListProxy (const char *name, const char *desc, RooAbsArg *owner, Bool_t defValueServer=kTRUE, Bool_t defShapeServer=kFALSE)
 Constructor with proxy name, description and pointer to ownder of the RooListProxy. More...
 
 RooListProxy (const char *name, RooAbsArg *owner, const RooListProxy &other)
 Copy constructor with name of proxy, pointer to owner of this proxy and reference to list proxy to be copied. More...
 
virtual ~RooListProxy ()
 Destructor. More...
 
virtual Bool_t add (const RooAbsArg &var, Bool_t silent=kFALSE)
 Reimplementation of standard RooArgList::add() More...
 
virtual Bool_t add (const RooAbsArg &var, Bool_t valueServer, Bool_t shapeServer, Bool_t silent)
 Add object to list with explicitl directives on value and shape dirty flag propagation of inserted object to list owner. More...
 
virtual Bool_t add (const RooAbsCollection &list, Bool_t silent=kFALSE)
 Add a collection of arguments to this collection by calling add() for each element in the source collection. More...
 
virtual Bool_t addOwned (const RooAbsCollection &list, Bool_t silent=kFALSE)
 Add a collection of arguments to this collection by calling addOwned() for each element in the source collection. More...
 
virtual Bool_t addOwned (RooAbsArg &var, Bool_t silent=kFALSE)
 Reimplementation of standard RooArgList::addOwned() More...
 
virtual const char * name () const
 
RooListProxyoperator= (const RooArgList &other)
 Reimplementation of standard RooArgList assignment operator. More...
 
virtual void print (std::ostream &os, Bool_t addContents=kFALSE) const
 Print the name of the proxy, and if requested a summary of the contained elements as well. More...
 
virtual Bool_t remove (const RooAbsArg &var, Bool_t silent=kFALSE, Bool_t matchByNameOnly=kFALSE)
 Reimplementation of standard RooArgList::remove() More...
 
virtual void removeAll ()
 Reimplementation of standard RooArgList::removeAll() More...
 
virtual Bool_t replace (const RooAbsArg &var1, const RooAbsArg &var2)
 Reimplementation of standard RooArgList::replace() More...
 
- Public Member Functions inherited from RooArgList
 RooArgList ()
 Default constructor. More...
 
 RooArgList (const char *name)
 Empty list constructor. More...
 
 RooArgList (const RooAbsArg &var1, const char *name="")
 Constructor for list containing 1 initial object. More...
 
 RooArgList (const RooAbsArg &var1, const RooAbsArg &var2, const char *name="")
 Constructor for set containing 2 initial objects. More...
 
 RooArgList (const RooAbsArg &var1, const RooAbsArg &var2, const RooAbsArg &var3, const char *name="")
 Constructor for set containing 3 initial objects. More...
 
 RooArgList (const RooAbsArg &var1, const RooAbsArg &var2, const RooAbsArg &var3, const RooAbsArg &var4, const char *name="")
 Constructor for set containing 4 initial objects. More...
 
 RooArgList (const RooAbsArg &var1, const RooAbsArg &var2, const RooAbsArg &var3, const RooAbsArg &var4, const RooAbsArg &var5, const char *name="")
 Constructor for set containing 5 initial objects. More...
 
 RooArgList (const RooAbsArg &var1, const RooAbsArg &var2, const RooAbsArg &var3, const RooAbsArg &var4, const RooAbsArg &var5, const RooAbsArg &var6, const char *name="")
 Constructor for set containing 6 initial objects. More...
 
 RooArgList (const RooAbsArg &var1, const RooAbsArg &var2, const RooAbsArg &var3, const RooAbsArg &var4, const RooAbsArg &var5, const RooAbsArg &var6, const RooAbsArg &var7, const char *name="")
 Constructor for set containing 7 initial objects. More...
 
 RooArgList (const RooAbsArg &var1, const RooAbsArg &var2, const RooAbsArg &var3, const RooAbsArg &var4, const RooAbsArg &var5, const RooAbsArg &var6, const RooAbsArg &var7, const RooAbsArg &var8, const char *name="")
 Constructor for set containing 8 initial objects. More...
 
 RooArgList (const RooAbsArg &var1, const RooAbsArg &var2, const RooAbsArg &var3, const RooAbsArg &var4, const RooAbsArg &var5, const RooAbsArg &var6, const RooAbsArg &var7, const RooAbsArg &var8, const RooAbsArg &var9, const char *name="")
 Constructor for set containing 9 initial objects. More...
 
 RooArgList (const RooArgList &other, const char *name="")
 Copy constructor. More...
 
 RooArgList (const RooArgSet &set)
 Constructor from a RooArgSet. More...
 
 RooArgList (const TCollection &tcoll, const char *name="")
 Constructor from a root TCollection. More...
 
virtual ~RooArgList ()
 Destructor. More...
 
RooAbsArgat (Int_t idx) const
 Return object at given index, or nullptr if index is out of range. More...
 
virtual TObjectclone (const char *newname) const
 
virtual TObjectcreate (const char *newname) const
 
Int_t index (const char *name) const
 Returns index of arg with given name, or -1 if arg is not in list. More...
 
Int_t index (const RooAbsArg *arg) const
 Returns index of given arg, or -1 if arg is not in list. More...
 
RooArgListoperator= (const RooArgList &other)
 
RooAbsArgoperator[] (Int_t idx) const
 Array operator. More...
 
virtual Bool_t readFromStream (std::istream &is, Bool_t compact, Bool_t verbose=kFALSE)
 Read the contents of the argset in ASCII form from given stream. More...
 
virtual void writeToStream (std::ostream &os, Bool_t compact)
 Write the contents of the argset in ASCII form to given stream. More...
 
- Public Member Functions inherited from RooAbsCollection
 RooAbsCollection ()
 Default constructor. More...
 
 RooAbsCollection (const char *name)
 Empty collection constructor. More...
 
 RooAbsCollection (const RooAbsCollection &other, const char *name="")
 Copy constructor. More...
 
virtual ~RooAbsCollection ()
 Destructor. More...
 
virtual Bool_t add (const RooAbsArg &var, Bool_t silent=kFALSE)
 Add the specified argument to list. More...
 
virtual Bool_t add (const RooAbsCollection &list, Bool_t silent=kFALSE)
 Add a collection of arguments to this collection by calling add() for each element in the source collection. More...
 
virtual RooAbsArgaddClone (const RooAbsArg &var, Bool_t silent=kFALSE)
 Add a clone of the specified argument to list. More...
 
virtual void addClone (const RooAbsCollection &list, Bool_t silent=kFALSE)
 Add a collection of arguments to this collection by calling addOwned() for each element in the source collection. More...
 
virtual Bool_t addOwned (const RooAbsCollection &list, Bool_t silent=kFALSE)
 Add a collection of arguments to this collection by calling addOwned() for each element in the source collection. More...
 
virtual Bool_t addOwned (RooAbsArg &var, Bool_t silent=kFALSE)
 Add the specified argument to list. More...
 
Bool_t allInRange (const char *rangeSpec) const
 Return true if all contained object report to have their value inside the specified range. More...
 
void assignFast (const RooAbsCollection &other, Bool_t setValDirty=kTRUE)
 Functional equivalent of operator=() but assumes this and other collection have same layout. More...
 
RooAbsCollectionassignValueOnly (const RooAbsCollection &other, Bool_t oneSafe=kFALSE)
 The assignment operator sets the value of any argument in our set that also appears in the other set. More...
 
const_iterator begin () const
 
virtual TObjectclone (const char *newname) const =0
 
virtual TObjectClone (const char *newname=0) const
 Make a clone of an object using the Streamer facility. More...
 
Bool_t contains (const RooAbsArg &var) const
 
Bool_t containsInstance (const RooAbsArg &var) const
 
std::string contentsString () const
 Return comma separated list of contained object names as STL string. More...
 
virtual TObjectcreate (const char *newname) const =0
 
TIteratorcreateIterator (Bool_t dir=kIterForward) const R__SUGGEST_ALTERNATIVE("begin()
 TIterator-style iteration over contained elements. More...
 
virtual Int_t defaultPrintContents (Option_t *opt) const
 Define default RooPrinable print options for given Print() flag string For inline printing only show value of objects, for default print show name,class name value and extras of each object. More...
 
void dump () const
 Base contents dumper for debugging purposes. More...
 
bool empty () const
 
TIterator end () and range-based for loops.")
 
RooLinkedListIter end () and range-based for loops.")
 
RooFIter end () and range-based for loops.")
 
const_iterator end () const
 
Bool_t equals (const RooAbsCollection &otherColl) const
 Check if this and other collection have identically-named contents. More...
 
RooAbsArgfind (const char *name) const
 Find object with given name in list. More...
 
RooAbsArgfind (const RooAbsArg &) const
 Find object with given name in list. More...
 
RooAbsArgfirst () const
 
RooFIter fwdIterator () const R__SUGGEST_ALTERNATIVE("begin()
 One-time forward iterator. More...
 
Int_t getHashTableSize () const
 
const char * GetName () const
 Returns name of object. More...
 
Int_t getSize () const
 
Bool_t isOwning () const
 
RooLinkedListIter iterator (Bool_t dir=kIterForward) const R__SUGGEST_ALTERNATIVE("begin()
 TIterator-style iteration over contained elements. More...
 
RooAbsCollectionoperator= (const RooAbsCollection &other)
 The assignment operator sets the value of any argument in our set that also appears in the other set. More...
 
RooAbsArgoperator[] (Storage_t::size_type i) const
 
Bool_t overlaps (const RooAbsCollection &otherColl) const
 Check if this and other collection have common entries. More...
 
virtual void Print (Option_t *options=0) const
 This method must be overridden when a class wants to print itself. More...
 
virtual void printClassName (std::ostream &os) const
 Return collection class name. More...
 
void printLatex (const RooCmdArg &arg1=RooCmdArg(), const RooCmdArg &arg2=RooCmdArg(), const RooCmdArg &arg3=RooCmdArg(), const RooCmdArg &arg4=RooCmdArg(), const RooCmdArg &arg5=RooCmdArg(), const RooCmdArg &arg6=RooCmdArg(), const RooCmdArg &arg7=RooCmdArg(), const RooCmdArg &arg8=RooCmdArg()) const
 Output content of collection as LaTex table. More...
 
void printLatex (std::ostream &ofs, Int_t ncol, const char *option="NEYU", Int_t sigDigit=1, const RooLinkedList &siblingLists=RooLinkedList(), const RooCmdArg *formatCmd=0) const
 Internal implementation function of printLatex. More...
 
virtual void printMultiline (std::ostream &os, Int_t contents, Bool_t verbose=kFALSE, TString indent="") const
 Implement multiline printing of collection, one line for each contained object showing the requested content. More...
 
virtual void printName (std::ostream &os) const
 Return collection name. More...
 
virtual void printTitle (std::ostream &os) const
 Return collection title. More...
 
virtual void printValue (std::ostream &os) const
 Print value of collection, i.e. More...
 
virtual void RecursiveRemove (TObject *obj)
 If one of the TObject we have a referenced to is deleted, remove the reference. More...
 
void releaseOwnership ()
 
virtual Bool_t remove (const RooAbsArg &var, Bool_t silent=kFALSE, Bool_t matchByNameOnly=kFALSE)
 Remove the specified argument from our list. More...
 
Bool_t remove (const RooAbsCollection &list, Bool_t silent=kFALSE, Bool_t matchByNameOnly=kFALSE)
 Remove each argument in the input list from our list using remove(const RooAbsArg&). More...
 
template<class forwardIt >
void remove (forwardIt rangeBegin, forwardIt rangeEnd, Bool_t silent=kFALSE, Bool_t matchByNameOnly=kFALSE)
 
virtual void removeAll ()
 Remove all arguments from our set, deleting them if we own them. More...
 
virtual Bool_t replace (const RooAbsArg &var1, const RooAbsArg &var2)
 Replace var1 with var2 and return kTRUE for success. More...
 
Bool_t replace (const RooAbsCollection &other)
 Replace any args in our set with args of the same name from the other set and return kTRUE for success. More...
 
void reserve (Storage_t::size_type count)
 
RooAbsCollectionselectByAttrib (const char *name, Bool_t value) const
 Create a subset of the current collection, consisting only of those elements with the specified attribute set. More...
 
RooAbsCollectionselectByName (const char *nameList, Bool_t verbose=kFALSE) const
 Create a subset of the current collection, consisting only of those elements with names matching the wildcard expressions in nameList, supplied as a comma separated list. More...
 
RooAbsCollectionselectCommon (const RooAbsCollection &refColl) const
 Create a subset of the current collection, consisting only of those elements that are contained as well in the given reference collection. More...
 
void setAttribAll (const Text_t *name, Bool_t value=kTRUE)
 Set given attribute in each element of the collection by calling each elements setAttribute() function. More...
 
void setHashTableSize (Int_t)
 
void setName (const char *name)
 
Storage_t::size_type size () const
 
RooAbsCollectionsnapshot (Bool_t deepCopy=kTRUE) const
 Take a snap shot of current collection contents: An owning collection is returned containing clones of. More...
 
Bool_t snapshot (RooAbsCollection &output, Bool_t deepCopy=kTRUE) const
 Take a snap shot of current collection contents: An owning collection is returned containing clones of. More...
 
void sort (Bool_t reverse=false)
 Sort collection using std::sort and name comparison. More...
 
void takeOwnership ()
 
- Public Member Functions inherited from TObject
 TObject ()
 TObject constructor. More...
 
 TObject (const TObject &object)
 TObject copy ctor. More...
 
virtual ~TObject ()
 TObject destructor. More...
 
void AbstractMethod (const char *method) const
 Use this method to implement an "abstract" method that you don't want to leave purely abstract. More...
 
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad. More...
 
virtual void Browse (TBrowser *b)
 Browse object. May be overridden for another default action. More...
 
ULong_t CheckedHash ()
 Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object. More...
 
virtual const char * ClassName () const
 Returns name of class to which the object belongs. More...
 
virtual void Clear (Option_t *="")
 
virtual TObjectClone (const char *newname="") const
 Make a clone of an object using the Streamer facility. More...
 
virtual Int_t Compare (const TObject *obj) const
 Compare abstract method. More...
 
virtual void Copy (TObject &object) const
 Copy this to obj. More...
 
virtual void Delete (Option_t *option="")
 Delete this object. More...
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Computes distance from point (px,py) to the object. More...
 
virtual void Draw (Option_t *option="")
 Default Draw method for all objects. More...
 
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs. More...
 
virtual TObjectDrawClone (Option_t *option="") const
 Draw a clone of this object in the current selected pad for instance with: gROOT->SetSelectedPad(gPad). More...
 
virtual void Dump () const
 Dump contents of object on stdout. More...
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message. More...
 
virtual void Execute (const char *method, const char *params, Int_t *error=0)
 Execute method on this object with the given parameter string, e.g. More...
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=0)
 Execute method on this object with parameters stored in the TObjArray. More...
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 Execute action corresponding to an event at (px,py). More...
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message. More...
 
virtual TObjectFindObject (const char *name) const
 Must be redefined in derived classes. More...
 
virtual TObjectFindObject (const TObject *obj) const
 Must be redefined in derived classes. More...
 
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object. More...
 
virtual const char * GetIconName () const
 Returns mime type name of object. More...
 
virtual const char * GetName () const
 Returns name of object. More...
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py). More...
 
virtual Option_tGetOption () const
 
virtual const char * GetTitle () const
 Returns title of object. More...
 
virtual UInt_t GetUniqueID () const
 Return the unique object id. More...
 
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out. More...
 
virtual ULong_t Hash () const
 Return hash value for this object. More...
 
Bool_t HasInconsistentHash () const
 Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e. More...
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message. More...
 
virtual Bool_t InheritsFrom (const char *classname) const
 Returns kTRUE if object inherits from class "classname". More...
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 Returns kTRUE if object inherits from TClass cl. More...
 
virtual void Inspect () const
 Dump contents of this object in a graphics canvas. More...
 
void InvertBit (UInt_t f)
 
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory). More...
 
virtual Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More...
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
virtual Bool_t IsSortable () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
virtual void ls (Option_t *option="") const
 The ls function lists the contents of a class on stdout. More...
 
void MayNotUse (const char *method) const
 Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). More...
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification. More...
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete. More...
 
void operator delete (void *ptr)
 Operator delete. More...
 
void operator delete[] (void *ptr)
 Operator delete []. More...
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 TObject assignment operator. More...
 
virtual void Paint (Option_t *option="")
 This method must be overridden if a class wants to paint itself. More...
 
virtual void Pop ()
 Pop on object drawn in a pad to the top of the display list. More...
 
virtual void Print (Option_t *option="") const
 This method must be overridden when a class wants to print itself. More...
 
virtual Int_t Read (const char *name)
 Read contents of object with specified name from the current directory. More...
 
virtual void RecursiveRemove (TObject *obj)
 Recursively remove this object from a list. More...
 
void ResetBit (UInt_t f)
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Save this object in the file specified by filename. More...
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 Save a primitive as a C++ statement(s) on output stream "out". More...
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f. More...
 
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object. More...
 
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id. More...
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message. More...
 
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
virtual void UseCurrentStyle ()
 Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. More...
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
 Write this object to the current directory. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const
 Write this object to the current directory. More...
 
- Public Member Functions inherited from RooPrintable
 RooPrintable ()
 
virtual ~RooPrintable ()
 
virtual Int_t defaultPrintContents (Option_t *opt) const
 Default choice of contents to be printed (name and value) More...
 
virtual StyleOption defaultPrintStyle (Option_t *opt) const
 
virtual void printAddress (std::ostream &os) const
 Print class name of object. More...
 
virtual void printArgs (std::ostream &os) const
 Interface for printing of object arguments. More...
 
virtual void printClassName (std::ostream &os) const
 Print class name of object. More...
 
virtual void printExtras (std::ostream &os) const
 Interface to print extras of object. More...
 
virtual void printMultiline (std::ostream &os, Int_t contents, Bool_t verbose=kFALSE, TString indent="") const
 Interface for detailed printing of object. More...
 
virtual void printName (std::ostream &os) const
 Print name of object. More...
 
virtual void printStream (std::ostream &os, Int_t contents, StyleOption style, TString indent="") const
 Print description of object on ostream, printing contents set by contents integer, which is interpreted as an OR of 'enum ContentsOptions' values and in the style given by 'enum StyleOption'. More...
 
virtual void printTitle (std::ostream &os) const
 Print title of object. More...
 
virtual void printTree (std::ostream &os, TString indent="") const
 Interface for tree structure printing of object. More...
 
virtual void printValue (std::ostream &os) const
 Interface to print value of object. More...
 
- Public Member Functions inherited from RooAbsProxy
 RooAbsProxy ()
 Constructor. More...
 
 RooAbsProxy (const char *name, const RooAbsProxy &other)
 Copy constructor. More...
 
virtual ~RooAbsProxy ()
 
virtual const char * name () const
 
const RooArgSetnset () const
 
virtual void print (std::ostream &os, Bool_t addContents=kFALSE) const
 Print proxy name. More...
 

Protected Member Functions

virtual Bool_t changePointer (const RooAbsCollection &newServerSet, Bool_t nameChange=kFALSE, Bool_t factoryInitMode=kFALSE)
 Internal function that implements consequences of a server redirect on the owner. More...
 
- Protected Member Functions inherited from RooAbsCollection
Bool_t addServerClonesToList (const RooAbsArg &var)
 Add clones of servers of given argument to end of list. More...
 
void clearStructureTags ()
 Typed structure tag. More...
 
void makeStructureTag ()
 
void makeTypedStructureTag ()
 
void safeDeleteList ()
 Examine client server dependencies in list and delete contents in safe order: any client is deleted before a server is deleted. More...
 
TNamedstructureTag ()
 
TNamedtypedStructureTag ()
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected). More...
 
void MakeZombie ()
 
- Protected Member Functions inherited from RooAbsProxy
virtual void changeNormSet (const RooArgSet *newNormSet)
 Destructor. More...
 
virtual Bool_t changePointer (const RooAbsCollection &newServerSet, Bool_t nameChange=kFALSE, Bool_t factoryInitMode=kFALSE)=0
 

Protected Attributes

Bool_t _defShapeServer
 
Bool_t _defValueServer
 
RooAbsArg_owner
 
- Protected Attributes inherited from RooAbsCollection
Bool_t _allRRV
 
Storage_t _list
 
TString _name
 
Bool_t _ownCont
 
TNamed_structureTag {nullptr}
 
TNamed_typedStructureTag {nullptr}
 Structure tag. More...
 
- Protected Attributes inherited from RooAbsProxy
RooArgSet_nset
 

Additional Inherited Members

- Public Types inherited from RooAbsCollection
using const_iterator = Storage_t::const_iterator
 
using Storage_t = std::vector< RooAbsArg * >
 
- Public Types inherited from TObject
enum  {
  kIsOnHeap = 0x01000000 , kNotDeleted = 0x02000000 , kZombie = 0x04000000 , kInconsistent = 0x08000000 ,
  kBitMask = 0x00ffffff
}
 
enum  { kSingleKey = BIT(0) , kOverwrite = BIT(1) , kWriteDelete = BIT(2) }
 
enum  EDeprecatedStatusBits { kObjInCanvas = BIT(3) }
 
enum  EStatusBits {
  kCanDelete = BIT(0) , kMustCleanup = BIT(3) , kIsReferenced = BIT(4) , kHasUUID = BIT(5) ,
  kCannotPick = BIT(6) , kNoContextMenu = BIT(8) , kInvalidObject = BIT(13)
}
 
- Public Types inherited from RooPrintable
enum  ContentsOption {
  kName =1 , kClassName =2 , kValue =4 , kArgs =8 ,
  kExtras =16 , kAddress =32 , kTitle =64 , kCollectionHeader =128
}
 
enum  StyleOption {
  kInline =1 , kSingleLine =2 , kStandard =3 , kVerbose =4 ,
  kTreeStructure =5
}
 
- Static Public Member Functions inherited from TObject
static Long_t GetDtorOnly ()
 Return destructor only flag. More...
 
static Bool_t GetObjectStat ()
 Get status of object stat flag. More...
 
static void SetDtorOnly (void *obj)
 Set destructor only flag. More...
 
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable. More...
 
- Static Public Member Functions inherited from RooPrintable
static std::ostream & defaultPrintStream (std::ostream *os=0)
 Return a reference to the current default stream to use in Print(). More...
 
static void nameFieldLength (Int_t newLen)
 Set length of field reserved from printing name of RooAbsArgs in multi-line collection printing to given amount. More...
 
- Protected Types inherited from RooAbsCollection
using LegacyIterator_t = TIteratorToSTLInterface< Storage_t >
 
- Static Protected Attributes inherited from RooPrintable
static Int_t _nameLength
 

#include <RooListProxy.h>

Inheritance diagram for RooListProxy:
[legend]

Constructor & Destructor Documentation

◆ RooListProxy() [1/3]

RooListProxy::RooListProxy ( )
inline

Definition at line 29 of file RooListProxy.h.

◆ RooListProxy() [2/3]

RooListProxy::RooListProxy ( const char *  inName,
const char *  desc,
RooAbsArg owner,
Bool_t  defValueServer = kTRUE,
Bool_t  defShapeServer = kFALSE 
)

Constructor with proxy name, description and pointer to ownder of the RooListProxy.

The default strategy for value/shape dirty flag propagation of the list contents to the list owner is controlled by the defValueServer and defShapeServer flags.

Definition at line 51 of file RooListProxy.cxx.

◆ RooListProxy() [3/3]

RooListProxy::RooListProxy ( const char *  name,
RooAbsArg owner,
const RooListProxy other 
)

Copy constructor with name of proxy, pointer to owner of this proxy and reference to list proxy to be copied.

Definition at line 66 of file RooListProxy.cxx.

◆ ~RooListProxy()

RooListProxy::~RooListProxy ( )
virtual

Destructor.

Definition at line 79 of file RooListProxy.cxx.

Member Function Documentation

◆ add() [1/3]

Bool_t RooListProxy::add ( const RooAbsArg var,
Bool_t  silent = kFALSE 
)
virtual

Reimplementation of standard RooArgList::add()

Reimplemented from RooAbsCollection.

Definition at line 104 of file RooListProxy.cxx.

◆ add() [2/3]

Bool_t RooListProxy::add ( const RooAbsArg var,
Bool_t  valueServer,
Bool_t  shapeServer,
Bool_t  silent 
)
virtual

Add object to list with explicitl directives on value and shape dirty flag propagation of inserted object to list owner.

Definition at line 90 of file RooListProxy.cxx.

◆ add() [3/3]

virtual Bool_t RooListProxy::add ( const RooAbsCollection list,
Bool_t  silent = kFALSE 
)
inlinevirtual

Add a collection of arguments to this collection by calling add() for each element in the source collection.

Reimplemented from RooAbsCollection.

Definition at line 39 of file RooListProxy.h.

◆ addOwned() [1/2]

virtual Bool_t RooListProxy::addOwned ( const RooAbsCollection list,
Bool_t  silent = kFALSE 
)
inlinevirtual

Add a collection of arguments to this collection by calling addOwned() for each element in the source collection.

Reimplemented from RooAbsCollection.

Definition at line 42 of file RooListProxy.h.

◆ addOwned() [2/2]

Bool_t RooListProxy::addOwned ( RooAbsArg var,
Bool_t  silent = kFALSE 
)
virtual

Reimplementation of standard RooArgList::addOwned()

Reimplemented from RooAbsCollection.

Definition at line 114 of file RooListProxy.cxx.

◆ changePointer()

Bool_t RooListProxy::changePointer ( const RooAbsCollection newServerList,
Bool_t  nameChange = kFALSE,
Bool_t  factoryInitMode = kFALSE 
)
protectedvirtual

Internal function that implements consequences of a server redirect on the owner.

If the list contains any element with names identical to those in newServerList replace them with the instance in newServerList

Implements RooAbsProxy.

Definition at line 188 of file RooListProxy.cxx.

◆ name()

virtual const char * RooListProxy::name ( ) const
inlinevirtual

Reimplemented from RooAbsProxy.

Definition at line 35 of file RooListProxy.h.

◆ operator=()

RooListProxy & RooListProxy::operator= ( const RooArgList other)

Reimplementation of standard RooArgList assignment operator.

Definition at line 174 of file RooListProxy.cxx.

◆ print()

void RooListProxy::print ( std::ostream &  os,
Bool_t  addContents = kFALSE 
) const
virtual

Print the name of the proxy, and if requested a summary of the contained elements as well.

Reimplemented from RooAbsProxy.

Definition at line 220 of file RooListProxy.cxx.

◆ remove()

Bool_t RooListProxy::remove ( const RooAbsArg var,
Bool_t  silent = kFALSE,
Bool_t  matchByNameOnly = kFALSE 
)
virtual

Reimplementation of standard RooArgList::remove()

Reimplemented from RooAbsCollection.

Definition at line 143 of file RooListProxy.cxx.

◆ removeAll()

void RooListProxy::removeAll ( )
virtual

Reimplementation of standard RooArgList::removeAll()

Reimplemented from RooAbsCollection.

Definition at line 157 of file RooListProxy.cxx.

◆ replace()

Bool_t RooListProxy::replace ( const RooAbsArg var1,
const RooAbsArg var2 
)
virtual

Reimplementation of standard RooArgList::replace()

Reimplemented from RooAbsCollection.

Definition at line 127 of file RooListProxy.cxx.

Member Data Documentation

◆ _defShapeServer

Bool_t RooListProxy::_defShapeServer
protected

Definition at line 55 of file RooListProxy.h.

◆ _defValueServer

Bool_t RooListProxy::_defValueServer
protected

Definition at line 54 of file RooListProxy.h.

◆ _owner

RooAbsArg* RooListProxy::_owner
protected

Definition at line 53 of file RooListProxy.h.

Libraries for RooListProxy:
[legend]

The documentation for this class was generated from the following files: