fmeobjects.FMELibraryIterator

Inheritance diagram of fmeobjects.FMELibraryIterator

FMELibraryIterator.getAsAppearance()

This method returns a copy of the current shared object as an appearance if getType() returns FME_LIB_APPEARANCE.

FMELibraryIterator.getAsTexture()

This method returns a copy of the current shared object as a texture if getType() returns FME_LIB_TEXTURE.

FMELibraryIterator.getReference()

Returns the object's reference from the FMELibrary.

FMELibraryIterator.getType()

This method returns the type of the current shared object.

class FMELibraryIterator

FME Library Iterator Class

init()

FMELibraryIterator should not be constructed directly. Instead, use the iterator semantics of FMELibrary to get an FMELibraryIterator which can be used to iterate over its librarys.

__init__(*args, **kwargs)
getAsAppearance()

This method returns a copy of the current shared object as an appearance if getType() returns FME_LIB_APPEARANCE. Otherwise, it returns None.

Return type

FMEAppearance or None

Returns

An appearance representing the current object or None.

getAsTexture()

This method returns a copy of the current shared object as a texture if getType() returns FME_LIB_TEXTURE. Otherwise, it returns None.

Return type

FMETexture or None

Returns

A texture representing the current object or None.

getReference()

Returns the object’s reference from the FMELibrary.

Return type

int

Returns

The object’s reference.

getType()

This method returns the type of the current shared object.

Return type

int

Returns

The object’s type. Must be either: FME_LIB_APPEARANCE, FME_LIB_TEXTURE, FME_LIB_RASTER, or FME_LIB_GEOMETRY_DEFINITION.