CMS 3D CMS Logo

List of all members | Public Member Functions | 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__ (self, data=None)
 
def __str__ (self)
 
def add_child (self, node_data)
 
def child (self, index)
 
def children (self)
 
def data (self)
 
def is_leaf (self)
 
def left_child (self)
 
def right_child (self)
 

Private Attributes

 _child_nodes
 
 _data
 

Detailed Description

Definition at line 12 of file data_sources.py.

Constructor & Destructor Documentation

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

Definition at line 16 of file data_sources.py.

16  def __init__(self, data=None):
17  self._data = data
18  self._child_nodes = []
19 
def __init__(self, data=None)
Definition: data_sources.py:16

Member Function Documentation

def data_sources.node.__str__ (   self)

Definition at line 42 of file data_sources.py.

References data_sources.node.children(), geometry.Structure.children, HcalPulseShape.data(), CombinedTauTagCalibration.data, CombinedSVCalibration.data, data_sources.node.data(), TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, DOTExport.DotProducer.data, CSCTMBScope.data, SimpleVFATFrameCollection.data, KDTreeNodeInfo< DATA >.data, confdb.HLTProcess.data, CaloTSamples< Ttype, Tsize >.data(), magfieldparam::rz_poly.data, classes.PlotData.data, cond::Binary.data(), emtf::Event.data, dqm::DQMFileSaverOnline::SnapshotFiles.data, QGLikelihoodObject.data, materialEffect::Covariance.data, MainPageGenerator.MainPageGenerator.data, dqmTnP::AbstractFitter.data, LASModuleProfile.data, KDTreeNodeInfoT< DATA, DIM >.data, CaloTSamplesBase< Ttype >.data(), KDTreeNodes< DATA >.data, UnbinnedFitDeDxEstimator.data, QGLikelihoodSystematicsObject.data, tkMSParameterization::Elems.data, DynArray< T >.data(), TkStripRecHitIter.data, TkLasBeam.data, tkMSParameterization::FromToData.data, hcaltb::ClassicQADCDataFormat.data, GeometryComparisonPlotter.data, CSCUpgradeMotherboard::LCTContainer.data, coral_bridge::AuthenticationCredentialSet.data(), magfieldparam::poly2d_base.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, edm::DetSet< T >.data, data, EcalShowerContainmentCorrections::Coefficients.data, PixelLimits.data, TkMSParameterization.data, options.HLTProcessOptions.data, cscdqm::Cache.data, StripLimits.data, DQMNet::Bucket.data, PhysicsTools::TrainerMonitoring::Module.data, cond::payloadInspector::PlotBase.data(), VFATFrame.data, cuy.FindIssue.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, HCAL_HLX::LHC_SECTION.data, edmStreamStallGrapher.Stack.data, and str.

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

42  def __str__(self):
43  return "<node data='%s' children=%s>" % (self.data(), str(self.children()))
44 
def __str__(self)
Definition: data_sources.py:42
def children(self)
Definition: data_sources.py:27
#define str(s)
def data_sources.node.add_child (   self,
  node_data 
)

Definition at line 23 of file data_sources.py.

23  def add_child(self, node_data):
24  new_node = node(node_data)
25  self._child_nodes.append(new_node)
26 
def add_child(self, node_data)
Definition: data_sources.py:23
def data_sources.node.child (   self,
  index 
)

Definition at line 30 of file data_sources.py.

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

30  def child(self, index):
31  return self.children()[index]
32 
def child(self, index)
Definition: data_sources.py:30
def children(self)
Definition: data_sources.py:27
def data_sources.node.children (   self)

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

27  def children(self):
28  return self._child_nodes
29 
def children(self)
Definition: data_sources.py:27
def data_sources.node.data (   self)
def data_sources.node.is_leaf (   self)

Definition at line 39 of file data_sources.py.

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

39  def is_leaf(self):
40  return len(self.children()) == 0
41 
def children(self)
Definition: data_sources.py:27
def is_leaf(self)
Definition: data_sources.py:39
def data_sources.node.left_child (   self)

Definition at line 33 of file data_sources.py.

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

33  def left_child(self):
34  return self.children()[0]
35 
def left_child(self)
Definition: data_sources.py:33
def children(self)
Definition: data_sources.py:27
def data_sources.node.right_child (   self)

Definition at line 36 of file data_sources.py.

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

36  def right_child(self):
37  return self.children()[1]
38 
def right_child(self)
Definition: data_sources.py:36
def children(self)
Definition: data_sources.py:27

Member Data Documentation

data_sources.node._child_nodes
private

Definition at line 18 of file data_sources.py.

Referenced by data_sources.node.children().

data_sources.node._data
private