A dictionary of other_block element based properties. These can be
accessed via the property name as it appears in the maestro file.
Property names must be m2io data names, which are in the format
'<type>_<author>_<property_name>', where '<type>'
is a data type prefix, '<author>' is a source specification, and
'<property_name>' is the actual name of the data.
The data type prefix can specified as 's' for string, 'i' for integer,
'r' for real and 'b' for boolean. The author specification should be
'user' for user created properties. The property name can have embedded
underscores.
Some example m2io datanames are 'r_m_x_coord', which indicates a real
maestro property named 'x coord', and 'i_user_my_count' which indicates
an integer user property named 'my count'.
|
__init__(self,
handle,
block_num,
index)
Create an instance of the property dictionary. |
|
|
|
_getBoolean(self,
block_num,
index,
name) |
|
|
|
_getInt(self,
block_num,
index,
name) |
|
|
|
_getReal(self,
block_num,
index,
name) |
|
|
|
_getString(self,
block_num,
index,
name) |
|
|
|
_setBoolean(self,
block_num,
index,
name,
value) |
|
|
|
_setInt(self,
block_num,
index,
name,
value) |
|
|
|
_setReal(self,
block_num,
index,
name,
value) |
|
|
|
_setString(self,
block_num,
index,
name,
value) |
|
|
|
_data_names_method(self,
block_num,
index,
flag) |
|
|
|
__getitem__(self,
item)
Return the given item if it is a valid property for this element,
None if not. |
|
|
|
__setitem__(self,
item,
value)
Set element properties |
|
|
|
keys(self)
Return a list of the names of all properties. |
|
|
Inherited from UserDict.DictMixin :
__cmp__ ,
__contains__ ,
__iter__ ,
__len__ ,
__repr__ ,
clear ,
get ,
has_key ,
items ,
iteritems ,
iterkeys ,
itervalues ,
pop ,
popitem ,
setdefault ,
update ,
values
|