Logo ROOT  
Reference Guide
VariableSelectionRule.h
Go to the documentation of this file.
1 // @(#)root/core/utils:$Id: VariableSelectionRule.h 28529 2009-05-11 16:43:35Z pcanal $
2 // Author: Velislava Spasova September 2010
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2011, Rene Brun, Fons Rademakers and al. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef R__VARIABLESELECTIONRULE_H
13 #define R__VARIABLESELECTIONRULE_H
14 
15 //////////////////////////////////////////////////////////////////////////
16 // //
17 // VariableSelectionRule //
18 // //
19 // //
20 //////////////////////////////////////////////////////////////////////////
21 
22 #include "BaseSelectionRule.h"
23 #include <string>
24 
26 {
27 public:
29  VariableSelectionRule(long index, cling::Interpreter &interp, const char* selFileName = "", long lineno=-1) : BaseSelectionRule(index, interp, selFileName, lineno) {}
30  VariableSelectionRule(long index, ESelect sel, std::string attributeName, std::string attributeValue, cling::Interpreter &interp, const char* selFileName = "", long lineno=1)
31  : BaseSelectionRule(index, sel, attributeName, attributeValue, interp,selFileName, lineno){}
32 
33  void Print(std::ostream &out) const;
34 };
35 
36 typedef VariableSelectionRule FunctionSelectionRule; // Function selection rules are the same as Variable selection rules
37 typedef VariableSelectionRule EnumSelectionRule; // Enum selection rules are the same as Variable selection rules
38 
39 #endif
BaseSelectionRule.h
VariableSelectionRule::Print
void Print(std::ostream &out) const
Definition: VariableSelectionRule.cxx:21
VariableSelectionRule::VariableSelectionRule
VariableSelectionRule(ESelect sel)
Definition: VariableSelectionRule.h:34
VariableSelectionRule
Definition: VariableSelectionRule.h:25
BaseSelectionRule::ESelect
ESelect
Definition: BaseSelectionRule.h:43
FunctionSelectionRule
VariableSelectionRule FunctionSelectionRule
Definition: VariableSelectionRule.h:36
EnumSelectionRule
VariableSelectionRule EnumSelectionRule
Definition: VariableSelectionRule.h:37
BaseSelectionRule::BaseSelectionRule
BaseSelectionRule(ESelect sel)
Definition: BaseSelectionRule.h:87
BaseSelectionRule
Definition: BaseSelectionRule.h:38