Added information on Variable Descriptor objects.
1 parent fbc615e commit bc6aab04fc537fe3ef812555ad44518341d79b54
@tundra tundra authored on 21 Mar 2004
Showing 1 changed file
View
25
tconfpy-spec.txt
$Id: tconfpy-spec.txt,v 1.104 2004/03/21 12:36:29 tundra Exp $
$Id: tconfpy-spec.txt,v 1.105 2004/03/21 12:40:56 tundra Exp $
 
tconfpy SPECIFICATION
=====================
 
 
------------------------------------------------------------------------------
 
 
VARIABLE DESCRIPTOR
===================
 
class VarDescriptor:
 
# Default variable type is a writeable string with no constraints
def __init__(self):
self.Value = ""
self.Writeable = True
self.Type = TYPE_STRING
self.Default = ""
self.LegalVals = None
self.Min = None
self.Max = None
 
 
Possible Types:
 
TYPE_BOOL = type(True)
TYPE_COMPLEX = type(1-1j)
TYPE_FLOAT = type(3.14)
TYPE_INT = type(1)
TYPE_STRING = type('s')