CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions | Variables
Types Namespace Reference

Classes

class  _Untracked
 
class  bool
 
class  double
 
class  ESInputTag
 
class  EventID
 
class  EventRange
 
class  FileInPath
 
class  InputTag
 
class  int32
 
class  int64
 
class  LuminosityBlockID
 
class  LuminosityBlockRange
 
class  PSet
 
class  PSetTester
 
class  SecSource
 
class  string
 
class  testTypes
 
class  uint32
 
class  uint64
 
class  vbool
 
class  vdouble
 
class  VESInputTag
 
class  VEventID
 
class  VEventRange
 
class  VInputTag
 
class  vint32
 
class  vint64
 
class  VLuminosityBlockID
 
class  VLuminosityBlockRange
 
class  VPSet
 
class  vstring
 
class  vuint32
 
class  vuint64
 

Functions

def makeCppPSet
 

Variables

tuple _string_escape_encoder = codecs.getencoder('string_escape')
 
tuple untracked = _Untracked()
 

Function Documentation

def Types.makeCppPSet (   module,
  cppPSetMaker 
)
Extracts all PSets from the module and makes C++ equivalent

Definition at line 940 of file Types.py.

References python.multivaluedict.dict, and dir.

941 def makeCppPSet(module,cppPSetMaker):
942  """Extracts all PSets from the module and makes C++ equivalent
943  """
944  # if this isn't a dictionary, treat it as an object which holds PSets
945  if not isinstance(module,dict):
946  module = dict( ( (x,getattr(module,x)) for x in dir(module)) )
947 
948  for x,p in module.iteritems():
949  if isinstance(p,PSet):
950  p.insertInto(cppPSetMaker,x)
951  return cppPSetMaker
def makeCppPSet
Definition: Types.py:940
dbl *** dir
Definition: mlp_gen.cc:35

Variable Documentation

tuple Types._string_escape_encoder = codecs.getencoder('string_escape')

Definition at line 7 of file Types.py.

Referenced by Types.string.formatValueForConfig().

tuple Types.untracked = _Untracked()

Definition at line 29 of file Types.py.

Referenced by Modules.TestModules.testEDAnalyzer(), Config.TestModuleCommand.testExamples(), Config.TestModuleCommand.testParameterizable(), Modules.TestModules.testService(), and Types.testTypes.testUntracked().