diff --git a/tconfpy-spec.txt b/tconfpy-spec.txt index 5af5cff..3674e63 100644 --- a/tconfpy-spec.txt +++ b/tconfpy-spec.txt @@ -1,4 +1,4 @@ -$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 ===================== @@ -43,3 +43,26 @@ ------------------------------------------------------------------------------ +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')