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

Class FMERed8Tile


init(MultipleInvocations)

FMERed8Tile class.

Create an instance of a FMERed8Tile object.

init(numRow, numCol)

Creates a FMERed8Tile with the given parameters.

Parameters

Returns: FMERed8Tile

init(tile)

Create a copy of the passed in tile object.

Parameters

Returns: FMERed8Tile

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 will return a list containing 2 lists where each list has 5 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, a list must have 2 lists where each list contains 5 integer values.@rtype: None