Classes | Namespaces | Functions | Variables

s2x.py File Reference

Classes

class  s2x::s2xErr

Namespaces

namespace  s2x

Functions

def s2x::num2x
def s2x::bol2x
def s2x::str2x
def s2x::obj2x
def s2x::arr2x
def s2x::dat2x
def s2x::xml2x
def s2x::occ2x
def s2x::ojm2x
def s2x::nul2x
def s2x::und2x
def s2x::x2num
def s2x::x2bol
def s2x::x2str
def s2x::x2obj
def s2x::x2arr
def s2x::x2dat
def s2x::x2xml
def s2x::x2occ
def s2x::x2ojm
def s2x::x2nul
def s2x::x2und

Variables

list s2x::argvSw = argv[1]
list s2x::argvInpFile = argv[2]
list s2x::argvOutFile = argv[3]
tuple s2x::f = open(argvInpFile,'rb')
tuple s2x::nLenFile = f.tell()
tuple s2x::sHeader = f.read(2)
tuple s2x::sLenData = f.read(4)
tuple s2x::sFileType = f.read(4)
tuple s2x::sth1 = f.read(6)
tuple s2x::solname = f.read(nLenSoln)
tuple s2x::sth2 = f.read(4)
 s2x::solxroot = d.firstChild
 s2x::cparent = solxroot
tuple s2x::sVname = f.read(nLenVname)
tuple s2x::type = f.read(1)
tuple s2x::end = f.read(1)
tuple s2x::sxmloutput = d.toprettyxml('\t','\n','utf-8')
tuple s2x::foutput = open(argvOutFile,'w')
tuple s2x::d = minidom.parse(argvInpFile)
tuple s2x::nLenSoln = len(solname)
tuple s2x::sLenSoln = pack('>H',nLenSoln)
 s2x::sData = sFileType+sth1+sLenSoln+solname+sth2
 s2x::c = solxroot.firstChild
tuple s2x::nLenVname = len(sVname)
tuple s2x::sLenVname = pack('>H',nLenVname)