Retrieves a list of names of layer states contained in the current database.
eOk if operation succeeded; error code otherwise.