Home | Trees | Indices | Help |
---|
|
1 #!/usr/bin/env python 2 3 """ 4 @copyright: 5 Copyright (c) 2014 by mTLD Top Level Domain Limited. All rights reserved.\n 6 Portions copyright (c) 2008 by Argo Interactive Limited.\n 7 Portions copyright (c) 2008 by Nokia Inc.\n 8 Portions copyright (c) 2008 by Telecom Italia Mobile S.p.A.\n 9 Portions copyright (c) 2008 by Volantis Systems Limited.\n 10 Portions copyright (c) 2002-2008 by Andreas Staeding.\n 11 Portions copyright (c) 2008 by Zandan.\n 12 @author: dotMobi 13 """16 """ 17 Class to represent the data types of the properties. 18 Each returned Property object has a data_type() method. 19 """ 20 21 BOOLEAN = 0 22 BYTE = 1 23 SHORT = 2 24 INTEGER = 3 25 LONG = 4 26 FLOAT = 5 27 DOUBLE = 6 28 STRING = 7 29 UNKNOWN = 8 30 31 __names = { 32 BOOLEAN:'Boolean', 33 BYTE: 'Byte', 34 SHORT: 'Short', 35 INTEGER:'Integer', 36 LONG: 'Long', 37 FLOAT: 'Float', 38 DOUBLE: 'Double', 39 STRING: 'String', 40 UNKNOWN:'Unknown' 41 } 42 43 @staticmethod48
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri May 30 11:47:02 2014 | http://epydoc.sourceforge.net |