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 489 of file Mixins.py.

Constructor & Destructor Documentation

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

Definition at line 490 of file Mixins.py.

491  def __init__(self,*arg,**args):
492  _ParameterTypeBase.__init__(self)
493  if len (arg) == 1 and not isinstance(arg[0],str):
494  try:
495  arg = iter(arg[0])
496  except TypeError:
497  pass
super(_ValidatingParameterListBase,self).__init__(*arg,**args)

Member Function Documentation

def Mixins._ValidatingParameterListBase.__repr__ (   self)

Definition at line 521 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().

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

Definition at line 552 of file Mixins.py.

References Mixins._ValidatingParameterListBase.value().

553  def _itemsFromStrings(strings,converter):
554  return (converter(x).value() for x in strings)
def Mixins._ValidatingParameterListBase.configValue (   self,
  options = PrintOptions() 
)

Definition at line 504 of file Mixins.py.

References Mixins._ValidatingParameterListBase.configValueForItem().

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

505  def configValue(self, options=PrintOptions()):
506  config = '{\n'
507  first = True
508  for value in iter(self):
509  options.indent()
510  config += options.indentation()
511  if not first:
512  config+=', '
513  config+= self.configValueForItem(value, options)+'\n'
514  first = False
515  options.unindent()
516  config += options.indentation()+'}\n'
return config
def Mixins._ValidatingParameterListBase.configValueForItem (   self,
  item,
  options 
)

Definition at line 517 of file Mixins.py.

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

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

Definition at line 523 of file Mixins.py.

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

524  def dumpPython(self, options=PrintOptions()):
525  result = self.pythonTypeName()+"("
526  n = len(self)
527  if n>=256:
528  #wrap in a tuple since they don't have a size constraint
529  result+=" ("
530  indented = False
531  for i, v in enumerate(self):
532  if i == 0:
533  if hasattr(self, "_nPerLine"):
534  nPerLine = self._nPerLine
535  else:
536  nPerLine = 5
537  else:
538  if not indented:
539  indented = True
540  options.indent()
541  result += ', '
542  if i % nPerLine == 0:
543  result += '\n'+options.indentation()
544  result += self.pythonValueForItem(v,options)
545  if indented:
546  options.unindent()
547  #result+=', '.join((self.pythonValueForItem(v,options) for v in iter(self)))
548  if n>=256:
549  result +=' ) '
550  result += ')'
return result
def Mixins._ValidatingParameterListBase.pythonValueForItem (   self,
  item,
  options 
)

Definition at line 519 of file Mixins.py.

References Mixins._ValidatingParameterListBase.configValueForItem().

Referenced by Mixins._ValidatingParameterListBase.dumpPython().

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

Definition at line 500 of file Mixins.py.

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

501  def setValue(self,v):
502  self[:] = []
503  self.extend(v)
self._isModified=True
def Mixins._ValidatingParameterListBase.value (   self)

Definition at line 498 of file Mixins.py.

References list().

Referenced by Mixins._ValidatingParameterListBase._itemsFromStrings(), Types.vint32.insertInto(), Types.vuint32.insertInto(), Types.vint64.insertInto(), Types.vuint64.insertInto(), Types.vdouble.insertInto(), Types.vbool.insertInto(), and Types.vstring.insertInto().

499  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 503 of file Mixins.py.