Beispiel #1
0
 def startCompound( self ):
     print( "{}TAG_Compound{}: {{".format( self._is, _tns( self._n ) ) )
     self.setIndent( self._i + 1 )
Beispiel #2
0
 def startIntArray( self, length ):
     print( "{}TAG_Int_Array{}: [{:d} int{}]".format( self._is, _tns( self._n ), length, "s" if length != 1 else "" ) )
Beispiel #3
0
 def string( self, value ):
     print( "{}TAG_String{}: {:s}".format( self._is, _tns( self._n ), value ) )
Beispiel #4
0
 def startList( self, tagType, length ):
     print( "{}TAG_List{}: {} [".format( self._is, _tns( self._n ), _tls( length, tagType ) ) )
     self._n = None
     self.setIndent( self._i + 1 )
Beispiel #5
0
 def double( self, value ):
     print( "{}TAG_Double{}: {:g}".format( self._is, _tns( self._n ), value ) )
Beispiel #6
0
 def startByteArray( self, length ):
     print( "{}TAG_Byte_Array{}: [{:d} byte{}]".format( self._is, _tns( self._n ), length, "s" if length != 1 else "" ) )
Beispiel #7
0
 def float( self, value ):
     print( "{}TAG_Float{}: {:g}".format( self._is, _tns( self._n ), value ) )
Beispiel #8
0
 def long( self, value ):
     print( "{}TAG_Long{}: {:d}".format( self._is, _tns( self._n ), value ) )
Beispiel #9
0
 def int( self, value ):
     print( "{}TAG_Int{}: {:d}".format( self._is, _tns( self._n ), value ) )
Beispiel #10
0
 def short( self, value ):
     print( "{}TAG_Short{}: {:d}".format( self._is, _tns( self._n ), value ) )
Beispiel #11
0
 def byte( self, value ):
     print( "{}TAG_Byte{}: {:d}".format( self._is, _tns( self._n ), value ) )