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{
27public:
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
36typedef VariableSelectionRule FunctionSelectionRule; // Function selection rules are the same as Variable selection rules
37typedef VariableSelectionRule EnumSelectionRule; // Enum selection rules are the same as Variable selection rules
38
39#endif
VariableSelectionRule EnumSelectionRule
VariableSelectionRule FunctionSelectionRule
void Print(std::ostream &out) const
VariableSelectionRule(long index, ESelect sel, std::string attributeName, std::string attributeValue, cling::Interpreter &interp, const char *selFileName="", long lineno=1)
VariableSelectionRule(long index, cling::Interpreter &interp, const char *selFileName="", long lineno=-1)