test
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 Attributes
data_sources.node Class Reference
Inheritance diagram for data_sources.node:
data_sources.data_source data_sources.json_file data_sources.sqlite_schema

Public Member Functions

def __init__
 
def __str__
 
def add_child
 
def child
 
def children
 
def data
 
def is_leaf
 
def left_child
 
def right_child
 

Static Private Attributes

 _child_nodes = None
 
 _data = None
 

Detailed Description

Definition at line 10 of file data_sources.py.

Constructor & Destructor Documentation

def data_sources.node.__init__ (   self,
  data = None 
)

Definition at line 14 of file data_sources.py.

References data_sources.node._child_nodes, data_sources.node._data, and HcalTriggerKey._data.

14 
15  def __init__(self, data=None):
16  self._data = data
17  self._child_nodes = []

Member Function Documentation

def data_sources.node.__str__ (   self)

Definition at line 40 of file data_sources.py.

References data_sources.node.children(), geometry.Structure.children, data_sources.node.data(), CombinedTauTagCalibration.data, DOTExport.DotProducer.data, CombinedSVCalibration.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, TotemVFATInfo.data, ora::AnyData.data(), Event.data, magfieldparam::rz_poly.data, dqm::DQMFileSaverOnline::SnapshotFiles.data, classes.PlotData.data, cond::Binary.data(), ora::MultiRecordSelectOperation.data(), CaloTSamples< Ttype, Tsize >.data(), QGLikelihoodObject.data, KDTreeNodeInfo< DATA >.data, materialEffect::Covariance.data, dqmTnP::AbstractFitter.data, ora::MultiRecordInsertOperation.data(), LASModuleProfile.data, UnbinnedFitDeDxEstimator.data, ora::Record.data(), QGLikelihoodSystematicsObject.data, ora::Selection.data(), CaloTSamplesBase< Ttype >.data(), ora::IRelationalData.data(), TkStripRecHitIter.data, TkLasBeam.data, KDTreeNodes< DATA >.data, GeometryComparisonPlotter.data, hcaltb::ClassicQADCDataFormat.data, coral_bridge::AuthenticationCredentialSet.data(), EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, magfieldparam::poly2d_base.data, edm::MapOfVectors< K, T >::Iter.data, ora::InputRelationalData.data(), edm::DetSet< T >.data, @574.data, EcalShowerContainmentCorrections::Coefficients.data, PixelLimits.data, options.HLTProcessOptions.data, cscdqm::Cache.data, StripLimits.data, DQMNet::Bucket.data, PhysicsTools::TrainerMonitoring::Module.data, VFATFrame.data, ora::SelectOperation.data(), HCAL_HLX::ET_SUM_NIBBLE.data, HCAL_HLX::OCCUPANCY_NIBBLE.data, HCAL_HLX::LHC_NIBBLE.data, HCAL_HLX::ET_SUM_SECTION.data, HCAL_HLX::OCCUPANCY_SECTION.data, and HCAL_HLX::LHC_SECTION.data.

Referenced by BeautifulSoup.Tag.__repr__(), BeautifulSoup.Tag.__unicode__(), and BeautifulSoup.Tag.prettify().

40 
41  def __str__(self):
42  return "<node data='%s' children=%s>" % (self.data(), str(self.children()))
43 
44 # tree is used to hold query structures
# and propositional formula structures for where clauses in queries
def data_sources.node.add_child (   self,
  node_data 
)

Definition at line 21 of file data_sources.py.

21 
22  def add_child(self, node_data):
23  new_node = node(node_data)
24  self._child_nodes.append(new_node)
def data_sources.node.child (   self,
  index 
)

Definition at line 28 of file data_sources.py.

References data_sources.node.children(), and geometry.Structure.children.

28 
29  def child(self, index):
30  return self.children()[index]
def data_sources.node.children (   self)

Definition at line 25 of file data_sources.py.

References data_sources.node._child_nodes.

Referenced by data_sources.node.__str__(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor._scheduleRecursive(), Vispa.Share.BasicDataAccessor.BasicDataAccessor.allChildren(), Vispa.Views.LineDecayView.LineDecayView.autolayout(), Vispa.Views.BoxDecayView.BoxDecayContainer.autolayoutAlgorithm(), Vispa.Gui.WidgetContainer.WidgetContainer.autolayoutChildren(), Vispa.Gui.WidgetContainer.WidgetContainer.autosize(), data_sources.node.child(), Vispa.Views.LineDecayView.LineDecayContainer.childContainer(), Vispa.Views.WidgetView.WidgetView.clear(), Vispa.Views.LineDecayView.LineDecayContainer.createDecayObjectsFromPxlObject(), Vispa.Gui.ConnectableWidgetOwner.ConnectableWidgetOwner.deleteSelectedConnections(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner.deselectAllWidgets(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.foundIn(), Vispa.Gui.ConnectableWidgetOwner.ConnectableWidgetOwner.getWidgetByName(), Vispa.Gui.ConnectableWidgetOwner.ConnectableWidgetOwner.hideMenuWidgets(), data_sources.node.is_leaf(), data_sources.node.left_child(), Vispa.Views.LineDecayView.LineDecayView.lineDecayContainer(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner.mouseReleaseEvent(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.nonSequenceChildren(), Vispa.Gui.ConnectableWidgetOwner.ConnectableWidgetOwner.portConnection(), Vispa.Gui.ConnectableWidgetOwner.ConnectableWidgetOwner.propagateEventUnderConnectionWidget(), data_sources.node.right_child(), Vispa.Views.LineDecayView.LineDecayContainer.scheduleUpdateVisibleList(), Vispa.Views.LineDecayView.LineDecayView.scrollBarValueChanged(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner.selectedWidgets(), Vispa.Views.LineDecayView.LineDecayContainer.setAcceptDrops(), Vispa.Gui.VispaWidget.VispaWidget.setDragable(), Vispa.Views.LineDecayView.LineDecayView.setEditable(), Vispa.Gui.ZoomableWidget.ZoomableWidget.setZoom(), Vispa.Gui.WidgetContainer.WidgetContainer.toggleCollapse(), Vispa.Gui.ConnectableWidgetOwner.ConnectableWidgetOwner.updateConnections(), and Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner.widgetDragged().

25 
26  def children(self):
27  return self._child_nodes
def data_sources.node.data (   self)

Definition at line 18 of file data_sources.py.

References data_sources.node._data, and HcalTriggerKey._data.

Referenced by cuy.FindIssue.__init__(), data_sources.node.__str__(), data_sources.json_list.as_dicts(), data_sources.json_list.as_table(), and data_sources.json_list.last().

18 
19  def data(self):
20  return self._data
def data_sources.node.is_leaf (   self)

Definition at line 37 of file data_sources.py.

References data_sources.node.children(), and geometry.Structure.children.

37 
38  def is_leaf(self):
39  return len(self.children()) == 0
def data_sources.node.left_child (   self)

Definition at line 31 of file data_sources.py.

References data_sources.node.children(), and geometry.Structure.children.

31 
32  def left_child(self):
33  return self.children()[0]
def data_sources.node.right_child (   self)

Definition at line 34 of file data_sources.py.

References data_sources.node.children(), and geometry.Structure.children.

34 
35  def right_child(self):
36  return self.children()[1]

Member Data Documentation

data_sources.node._child_nodes = None
staticprivate

Definition at line 13 of file data_sources.py.

Referenced by data_sources.node.__init__(), and data_sources.node.children().

data_sources.node._data = None
staticprivate

Definition at line 12 of file data_sources.py.

Referenced by XML2Python.DataNode.__init__(), data_sources.node.__init__(), data_sources.json_data_node.__init__(), python.XML2Python.DataNode.__nonzero__(), XML2Python.DataNode.__nonzero__(), python.XML2Python.DataNode.__repr__(), XML2Python.DataNode.__repr__(), python.XML2Python.DataNode.__str__(), XML2Python.DataNode.__str__(), data_sources.json_data_node.__str__(), cfg-viewer.unscheduled._proceed(), cfg-viewer.unscheduled._saveData(), data_sources.json_dict.add_key(), data_sources.node.data(), data_sources.json_file.data(), data_sources.sqlite_schema.data(), data_sources.json_data_node.data(), data_sources.json_data_node.find(), data_sources.json_list.next(), data_sources.json_file.raw(), data_sources.json_data_node.raw(), data_sources.json_data_node.set(), and XML2Python.DataNode.stringify().