ROOT
6.06/09
Reference Guide
ROOT Home Page
Main Page
Related Pages
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
core
metautils
src
VariableSelectionRule.cxx
Go to the documentation of this file.
1
// @(#)root/core/utils:$Id: VariableSelectionRule.cxx 41697 2011-11-01 21:03:41Z 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
//////////////////////////////////////////////////////////////////////////
13
// //
14
// VariableSelectionRule //
15
// //
16
//////////////////////////////////////////////////////////////////////////
17
18
#include "
VariableSelectionRule.h
"
19
#include <iostream>
20
21
void
VariableSelectionRule::Print
(std::ostream &
out
)
const
22
{
23
out<<
"\t\tSelected: "
;
24
switch
(
GetSelected
()){
25
case
BaseSelectionRule::kYes
: out<<
"Yes"
<<std::endl;
26
break
;
27
case
BaseSelectionRule::kNo
: out<<
"No"
<<std::endl;
28
break
;
29
case
BaseSelectionRule::kDontCare
: out<<
"Don't Care"
<<std::endl;
30
break
;
31
default
: out<<
"Unspecified"
<<std::endl;
32
}
33
PrintAttributes
(out,3);
34
}
BaseSelectionRule::kNo
Definition:
BaseSelectionRule.h:48
BaseSelectionRule::PrintAttributes
void PrintAttributes(int level) const
Definition:
BaseSelectionRule.cxx:194
VariableSelectionRule.h
out
char * out
Definition:
TBase64.cxx:29
BaseSelectionRule::GetSelected
ESelect GetSelected() const
Definition:
BaseSelectionRule.cxx:119
BaseSelectionRule::kDontCare
Definition:
BaseSelectionRule.h:49
BaseSelectionRule::kYes
Definition:
BaseSelectionRule.h:47
VariableSelectionRule::Print
void Print(std::ostream &out) const
Definition:
VariableSelectionRule.cxx:21