CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
data_sources.json_dict Class Reference
Inheritance diagram for data_sources.json_dict:
data_sources.json_data_node

Public Member Functions

def __init__ (self, data=None)
 
def add_key (self, data, key)
 
- Public Member Functions inherited from data_sources.json_data_node
def __init__ (self, data=None)
 
def __str__ (self)
 
def data (self)
 
def find (self, type_name)
 
def get (self, args)
 
def raw (self)
 
def set (self, data)
 

Private Attributes

 _data
 

Additional Inherited Members

- Static Public Member Functions inherited from data_sources.json_data_node
def make (data)
 

Detailed Description

Definition at line 370 of file data_sources.py.

Constructor & Destructor Documentation

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

Definition at line 372 of file data_sources.py.

372  def __init__(self, data=None):
373  self._data = data if data != None else {}
374 
def __init__(self, data=None)

Member Function Documentation

def data_sources.json_dict.add_key (   self,
  data,
  key 
)

Definition at line 375 of file data_sources.py.

References data_sources.node._data, data_sources.json_file._data, data_sources.sqlite_schema._data, and data_sources.json_data_node._data.

375  def add_key(self, data, key):
376  if data.__class__.__name__ in ["json_list", "json_dict", "json_basic"]:
377  data = data.data()
378  self._data[key] = data
379 
380 # for strings, integers, etc
def add_key(self, data, key)

Member Data Documentation

data_sources.json_dict._data
private