netmsgs  1.2.2
RoadNarrows Robotics Network Messaging Package
NetMsgsBase.py File Reference

Package: NetMsgs. More...

Go to the source code of this file.

Classes

class  NetMsgs.NetMsgsBase.NetMsgsError
 

Namespaces

 NetMsgs.NetMsgsBase
 NetMsgs Base Data Module.
 

Functions

def NetMsgs.NetMsgsBase.StrError (ecode)
 
def NetMsgs.NetMsgsBase.IsIdentifier (token)
 
def NetMsgs.NetMsgsBase.PrettyPrintCols (fp, cursor, args, kwargs)
 
def NetMsgs.NetMsgsBase.PrintBuf (buf, count=None, preface='', nlfreq=None, indent=0, col=0, fp=sys.stderr)
 
def NetMsgs.NetMsgsBase.PrintBits (val, msbit, count=None, preface='', fp=sys.stderr)
 
def NetMsgs.NetMsgsBase.PrettyPrintAssignExpr (name, val, col=0, indent=0, fp=sys.stderr)
 
def NetMsgs.NetMsgsBase.PrettyPrintVal (val, col=0, indent=0, fp=sys.stderr)
 
def NetMsgs.NetMsgsBase.PrettyPrintDict (d, col=0, indent=0, fp=sys.stderr)
 
def NetMsgs.NetMsgsBase.PrettyPrintList (l, col=0, indent=0, fp=sys.stderr)
 

Variables

list NetMsgs.NetMsgsBase.NMEncoding = ['flat', 'itv']
 Message Encoding Type Enumeration.
 
list NetMsgs.NetMsgsBase.NMEndian = ['big', 'little', 'native']
 Message Byte Ordering Type Enumeration.
 
dictionary NetMsgs.NetMsgsBase.NMBuiltInFieldTypes
 Built-In message field types, keyed by XML field type name. More...
 
 NetMsgs.NetMsgsBase.NMFCode = lambdaxmlftype:NMBuiltInFieldTypes[xmlftype]['code']
 Get NetMsgs field type code given the XML field type. More...
 
dictionary NetMsgs.NetMsgsBase.NMAliasMap
 The full set of XML ftype values. More...
 
string NetMsgs.NetMsgsBase.NMKeyOrder = '>'
 Special DB dictionary order key.
 
string NetMsgs.NetMsgsBase.NMKeyPad = '#'
 Special DB pad field key.
 
string NetMsgs.NetMsgsBase.NMVectorSuffix = '[]'
 XML ftype attribute vector suffix string.
 
list NetMsgs.NetMsgsBase.NMFTypeSimple
 List of simple field types by XML ftype. More...
 
list NetMsgs.NetMsgsBase.NMFTypeCodeSimple
 List of simple field types by field type code. More...
 
list NetMsgs.NetMsgsBase.NMFTypeCompound = [ 'string', 'struct', 'vector' ]
 List of compound field types by XML ftype.
 
list NetMsgs.NetMsgsBase.NMFTypeCodeCompound = [NMFCode('string'), NMFCode('struct'), NMFCode('vector')]
 List of compound field types by field type code.
 
list NetMsgs.NetMsgsBase.NMFTypeNumber
 List of number field types by XML ftype. More...
 
dictionary NetMsgs.NetMsgsBase.NMFTypeCode2Xml
 Field type code to XML file type map. More...
 
dictionary NetMsgs.NetMsgsBase.NMFHdrLen
 Field Header Lengths keyed by message encoding. More...
 
 NetMsgs.NetMsgsBase.NMFIdNone = NMFID_NONE
 No field id value.
 
int NetMsgs.NetMsgsBase.NMPadDftCount = 1
 Default pad count.
 
 NetMsgs.NetMsgsBase.NMPadFVal = NMFTypePadTr
 Pad field value.
 
 NetMsgs.NetMsgsBase.NMStringMaxCount = NMFVAL_LEN_MAX_STRING
 Maximum and default string maximum length.
 
 NetMsgs.NetMsgsBase.NMVectorMaxCount = NMFVAL_LEN_MAX_VECTOR
 Maximum and default vector maximum item count.
 
string NetMsgs.NetMsgsBase.space = lambdaindent:"%*s"
 space quickie
 

Detailed Description

Package: NetMsgs.

File: NetMsgsBase.py

Definition in file NetMsgsBase.py.