Classes | Functions | Variables

s2x Namespace Reference

Classes

class  s2xErr

Functions

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

Variables

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

Function Documentation

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

Variable Documentation

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