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
¶ Bases:
object
FME Library Iterator Class
init()
FMELibraryIterator
should not be constructed directly. Instead, use the iterator semantics ofFMELibrary
to get anFMELibraryIterator
which can be used to iterate over its librarys.-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
getAsAppearance
()¶ This method returns a copy of the current shared object as an appearance if
getType()
returnsFME_LIB_APPEARANCE
. Otherwise, it returnsNone
.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()
returnsFME_LIB_TEXTURE
. Otherwise, it returnsNone
.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
, orFME_LIB_GEOMETRY_DEFINITION
.
-