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 | Public Attributes | Static Private Attributes
data_sources.tree Class Reference
Inheritance diagram for data_sources.tree:
data_sources.formula_tree data_sources.query_tree

Public Member Functions

def __init__
 
def root
 
def set_root
 

Public Attributes

 root
 

Static Private Attributes

 _root = None
 

Detailed Description

Definition at line 45 of file data_sources.py.

Constructor & Destructor Documentation

def data_sources.tree.__init__ (   self,
  root_data 
)

Definition at line 49 of file data_sources.py.

References HcalTriggerKey._root, data_sources.tree._root, and HcalChannelDataXml._root.

49 
50  def __init__(self, root_data):
51  self._root = node(root_data)

Member Function Documentation

def data_sources.tree.root (   self)

Definition at line 55 of file data_sources.py.

References HcalTriggerKey._root, data_sources.tree._root, HcalChannelDataXml._root, and data_sources.tree.root.

55 
56  def root(self):
57  return self._root
58 
59 # will need methods to add comparison terms to specific nodes
# comparison terms - a=b, a>=b, a<=b, etc.
def data_sources.tree.set_root (   self,
  node 
)

Definition at line 52 of file data_sources.py.

52 
53  def set_root(self, node):
54  self.root = node

Member Data Documentation

data_sources.tree._root = None
staticprivate

Definition at line 47 of file data_sources.py.

Referenced by data_sources.tree.__init__(), XML2Python.TreeBuilder.__init__(), data_sources.tree.root(), python.XML2Python.TreeBuilder.root(), and XML2Python.TreeBuilder.root().

data_sources.tree.root

Definition at line 53 of file data_sources.py.

Referenced by data_sources.tree.root(), and data_sources.formula_tree.to_sql().