Module fmeobjects :: Class FMEStringTile
[hide private]
[frames] | no frames]

Class FMEStringTile


init(MultipleInvocations)

FMEStringTile class.

Create an instance of a FMEStringTile object.

init(numRow, numCol, stringLength)

Creates a FMEStringTile with the given parameters.

Parameters

Returns: FMEStringTile

init(tile)

Create a copy of the passed in tile object.

Parameters

Returns: FMEStringTile

Instance Methods [hide private]
 
__init__(MultipleInvocations)
x.__init__(...) initializes x; see help(type(x)) for signature
list of list(s) where each list contains int
getData()
Returns data values of the tile.
 
setData(dataArray)
This method sets the contents of the tile data values using the provided data list.

Inherited from FMETile: __getObject__, __new__, getByteArray, getDataAsStringArray, getDataType, getDataTypeBitDepth, getInterpretation, getInterpretationBitDepth, getInterpretationNumComponents, getNumCols, getNumDataTypesPerCell, getNumRows, getTileByteLength, getTileNumComponents

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(MultipleInvocations)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__

getData()

 

Returns data values of the tile.

Returns: list of list(s) where each list contains int
Data values of the tile.
  • The number of lists inside the list represents the number of rows in a tile. For example, a tile that has 2 rows and 5 columns with string length 2 will return a list containing 2 lists where each list has 10 integers.

setData(dataArray)

 

This method sets the contents of the tile data values using the provided data list.

Parameters:
  • dataArray (list of list(s) where each list contains int) - This data will set the contents of the tile data.
    • The number of lists inside the list represents the number of rows in a tile. For example, to set a tile that has 2 rows and 5 columns with string length 2, a list must have 2 lists where each list contains 10 integer values.@rtype: None