Package ZenModel :: Module RRDDataPointAlias :: Class RRDDataPointAlias
[hide private]
[frames] | no frames]

Class RRDDataPointAlias

source code

  Products.ZenModel.ZenModelRM.ZenModelRM --+
                                            |
Products.ZenModel.ZenPackable.ZenPackable --+
                                            |
                                           RRDDataPointAlias

Instance Methods [hide private]
 
evaluate(self, context)
Evaluate the formula with the given context so that the resulting rpn can be applied to the datapoint value.
source code
Class Variables [hide private]
  meta_type = 'RRDDataPointAlias'
  formula = None
  _properties = {'id': 'formula', 'type': 'string', 'mode': 'w'},
  _relations = ZenPackable._relations+(("datapoint", ToOne(ToMan...
  factory_type_information = {'immediate_view': 'editRRDDataPoin...
Method Details [hide private]

evaluate(self, context)

source code 
Evaluate the formula with the given context so that the resulting rpn can be applied to the datapoint value. There are two possible layers of evaluation: python and then TALES evaluation. Both use the name 'here' to name the passed context. See testRRDDataPointAlias for examples of usage.

Class Variable Details [hide private]

_relations

Value:
ZenPackable._relations+(("datapoint", ToOne(ToManyCont, "Products.ZenM\
odel.RRDDataPoint", "aliases")),)

factory_type_information

Value:
{'immediate_view': 'editRRDDataPoint', 'actions':({'id': 'edit', 'name\
': 'Data Point', 'action': 'editRRDDataPoint', 'permissions':(Permissi\
ons.view,)},)},