CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Private Member Functions | Private Attributes
Mixins._ValidatingParameterListBase Class Reference
Inheritance diagram for Mixins._ValidatingParameterListBase:
Mixins._ValidatingListBase Mixins._ParameterTypeBase Mixins.TestList SequenceTypes.Schedule Types.vbool Types.vdouble Types.VESInputTag Types.VEventID Types.VEventRange Types.VInputTag Types.vint32 Types.vint64 Types.VLuminosityBlockID Types.VLuminosityBlockRange Types.VPSet Types.vstring Types.vuint32 Types.vuint64

Public Member Functions

def __init__
 
def __repr__
 
def configValue
 
def configValueForItem
 
def dumpPython
 
def pythonValueForItem
 
def setValue
 
def value
 
- Public Member Functions inherited from Mixins._ValidatingListBase
def __add__
 
def __init__
 
def __setitem__
 
def append
 
def extend
 
def insert
 
- Public Member Functions inherited from Mixins._ParameterTypeBase
def __init__
 
def __repr__
 
def configTypeName
 
def dumpPython
 
def isFrozen
 
def isModified
 
def isTracked
 
def pythonTypeName
 
def resetModified
 
def setIsFrozen
 
def setIsTracked
 

Static Private Member Functions

def _itemsFromStrings
 

Private Attributes

 _isModified
 

Detailed Description

Definition at line 543 of file Mixins.py.

Constructor & Destructor Documentation

def Mixins._ValidatingParameterListBase.__init__ (   self,
  arg,
  args 
)

Definition at line 544 of file Mixins.py.

545  def __init__(self,*arg,**args):
546  _ParameterTypeBase.__init__(self)
547  if len (arg) == 1 and not isinstance(arg[0],str):
548  try:
549  arg = iter(arg[0])
550  except TypeError:
551  pass
super(_ValidatingParameterListBase,self).__init__(*arg,**args)

Member Function Documentation

def Mixins._ValidatingParameterListBase.__repr__ (   self)

Definition at line 575 of file Mixins.py.

References editorTools.UserCodeTool.dumpPython(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool.dumpPython(), Mixins._ParameterTypeBase.dumpPython(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ApplyTool.dumpPython(), ConfigToolBase.ConfigToolBase.dumpPython(), Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController.dumpPython(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.dumpPython(), Config.Process.dumpPython(), and Config.SubProcess.dumpPython().

576  def __repr__(self):
return self.dumpPython()
def Mixins._ValidatingParameterListBase._itemsFromStrings (   strings,
  converter 
)
staticprivate

Definition at line 606 of file Mixins.py.

607  def _itemsFromStrings(strings,converter):
608  return (converter(x).value() for x in strings)
Definition: value.py:1
def Mixins._ValidatingParameterListBase.configValue (   self,
  options = PrintOptions() 
)

Definition at line 558 of file Mixins.py.

References Mixins._ValidatingParameterListBase.configValueForItem().

Referenced by Types.InputTag.pythonValue(), Types.ESInputTag.pythonValue(), Types.InputTag.value(), and Types.ESInputTag.value().

559  def configValue(self, options=PrintOptions()):
560  config = '{\n'
561  first = True
562  for value in iter(self):
563  options.indent()
564  config += options.indentation()
565  if not first:
566  config+=', '
567  config+= self.configValueForItem(value, options)+'\n'
568  first = False
569  options.unindent()
570  config += options.indentation()+'}\n'
return config
def Mixins._ValidatingParameterListBase.configValueForItem (   self,
  item,
  options 
)

Definition at line 571 of file Mixins.py.

Referenced by Mixins._ValidatingParameterListBase.configValue(), and Mixins._ValidatingParameterListBase.pythonValueForItem().

572  def configValueForItem(self,item, options):
return str(item)
def Mixins._ValidatingParameterListBase.dumpPython (   self,
  options = PrintOptions() 
)

Definition at line 577 of file Mixins.py.

References Types.vstring._nPerLine, Types.VPSet._nPerLine, Mixins._ParameterTypeBase.pythonTypeName(), and Mixins._ValidatingParameterListBase.pythonValueForItem().

578  def dumpPython(self, options=PrintOptions()):
579  result = self.pythonTypeName()+"("
580  n = len(self)
581  if n>=256:
582  #wrap in a tuple since they don't have a size constraint
583  result+=" ("
584  indented = False
585  for i, v in enumerate(self):
586  if i == 0:
587  if hasattr(self, "_nPerLine"):
588  nPerLine = self._nPerLine
589  else:
590  nPerLine = 5
591  else:
592  if not indented:
593  indented = True
594  options.indent()
595  result += ', '
596  if i % nPerLine == 0:
597  result += '\n'+options.indentation()
598  result += self.pythonValueForItem(v,options)
599  if indented:
600  options.unindent()
601  #result+=', '.join((self.pythonValueForItem(v,options) for v in iter(self)))
602  if n>=256:
603  result +=' ) '
604  result += ')'
return result
def Mixins._ValidatingParameterListBase.pythonValueForItem (   self,
  item,
  options 
)

Definition at line 573 of file Mixins.py.

References Mixins._ValidatingParameterListBase.configValueForItem().

Referenced by Mixins._ValidatingParameterListBase.dumpPython().

574  def pythonValueForItem(self,item, options):
return self.configValueForItem(item, options)
def Mixins._ValidatingParameterListBase.setValue (   self,
  v 
)

Definition at line 554 of file Mixins.py.

References ora::ContainerSchema.extend(), python.seqvaluedict.seqdict.extend(), svgfig.SVG.extend(), Config.Process.extend(), and Mixins._ValidatingListBase.extend().

555  def setValue(self,v):
556  self[:] = []
557  self.extend(v)
self._isModified=True
def Mixins._ValidatingParameterListBase.value (   self)

Definition at line 552 of file Mixins.py.

References list().

Referenced by average.Average.average(), Types.vint32.insertInto(), Types.vuint32.insertInto(), Types.vint64.insertInto(), Types.vuint64.insertInto(), Types.vdouble.insertInto(), Types.vbool.insertInto(), and Types.vstring.insertInto().

553  def value(self):
return list(self)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*","!HLTx*"if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL.It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of"!*"before the partial wildcard feature was incorporated).Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run

Member Data Documentation

Mixins._ValidatingParameterListBase._isModified
private

Definition at line 557 of file Mixins.py.