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

Constructor & Destructor Documentation

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

Definition at line 373 of file data_sources.py.

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

Member Function Documentation

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

Definition at line 376 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.

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

Member Data Documentation

data_sources.json_dict._data
private