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

Class FMELibraryIterator

object --+
         |
        FMELibraryIterator

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.

Instance Methods [hide private]
 
__init__()
x.__init__(...) initializes x; see help(type(x)) for signature
 
__iter__(x)
iter(x)
a new object with type S, a subtype of T
__new__(T, S, ...)
FMEAppearance or None
getAsAppearance()
This method returns a copy of the current shared object as an appearance if type() returns FME_LIB_APPEARANCE.
FMETexture or None
getAsTexture()
This method returns a copy of the current shared object as a texture if type() returns FME_LIB_TEXTURE.
int
getReference()
Returns the object's reference from the FMELibrary.
 
getType()
This method returns the type of the current shared object.@rtype: int
the next value, or raise StopIteration
next(x)

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__()
(Constructor)

 

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

Overrides: object.__init__

__new__(T, S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__

getAsAppearance()

 

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

Returns: FMEAppearance or None
An appearance representing the current object or None

getAsTexture()

 

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

Returns: FMETexture or None
A texture representing the current object or None

getReference()

 

Returns the object's reference from the FMELibrary.

Returns: int
The object's reference.

getType()

 

This method returns the type of the current shared object.@rtype: int

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