Package mobi :: Package mtld :: Package da :: Module data_type :: Class DataType
[hide private]
[frames] | no frames]

Class DataType

source code

object --+
         |
        DataType
Known Subclasses:

Class to represent the data types of the properties. Each returned Property object has a data_type() method.

Instance Methods [hide private]

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
 
name(data_type_id) source code
Class Variables [hide private]
  BOOLEAN = 0
  BYTE = 1
  DOUBLE = 6
  FLOAT = 5
  INTEGER = 3
  LONG = 4
  SHORT = 2
  STRING = 7
  UNKNOWN = 8
  __names = {0: 'Boolean', 1: 'Byte', 2: 'Short', 3: 'Integer', ...
Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

__names

Value:
{0: 'Boolean',
 1: 'Byte',
 2: 'Short',
 3: 'Integer',
 4: 'Long',
 5: 'Float',
 6: 'Double',
 7: 'String',
...