| | $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') |
---|
| | |
---|
| | |