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 11 of file data_sources.py.

Constructor & Destructor Documentation

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

Definition at line 15 of file data_sources.py.

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

Member Function Documentation

def data_sources.node.__str__ (   self)

Definition at line 41 of file data_sources.py.

References data_sources.node.children(), geometry.Structure.children, data_sources.node.data(), CombinedTauTagCalibration.data, CombinedSVCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, SimpleVFATFrameCollection.data, confdb.HLTProcess.data, magfieldparam::rz_poly.data, classes.PlotData.data, cond::Binary.data(), emtf::Event.data, dqm::DQMFileSaverOnline::SnapshotFiles.data, QGLikelihoodObject.data, CaloTSamples< Ttype, Tsize >.data(), materialEffect::Covariance.data, KDTreeNodeInfo< DATA >.data, dqmTnP::AbstractFitter.data, KDTreeNodeInfoT< DATA, DIM >.data, LASModuleProfile.data, UnbinnedFitDeDxEstimator.data, QGLikelihoodSystematicsObject.data, tkMSParameterization::Elems.data, DynArray< T >.data(), CaloTSamplesBase< Ttype >.data(), TkStripRecHitIter.data, TkLasBeam.data, KDTreeNodes< DATA >.data, tkMSParameterization::FromToData.data, hcaltb::ClassicQADCDataFormat.data, CSCUpgradeMotherboard::LCTContainer.data, GeometryComparisonPlotter.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().

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

Definition at line 22 of file data_sources.py.

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

Definition at line 29 of file data_sources.py.

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

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

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

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

Definition at line 38 of file data_sources.py.

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

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

Definition at line 32 of file data_sources.py.

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

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

Definition at line 35 of file data_sources.py.

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

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

Member Data Documentation

data_sources.node._child_nodes
private

Definition at line 17 of file data_sources.py.

Referenced by data_sources.node.children().

data_sources.node._data
private