com.esri.arcgis.geoprocessing
Interface IGPCompositeLayer

All Superinterfaces:
Serializable
All Known Implementing Classes:
GPCompositeLayer, GPGroupLayer, GPNALayer

public interface IGPCompositeLayer
extends Serializable

Provides access to GPCompositeLayer objects.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 void add(IGPLayer pGPLayer)
          Add a layer.
 void clear()
          Remove all layers.
 IArray getChildren()
          Returns the array of layers.
 int getCount()
          Gets the number of layers.
 IGPLayer getLayer(int index)
          Returns a given layer.
 void remove(int index)
          Remove a layer.
 

Method Detail

getCount

int getCount()
             throws IOException,
                    AutomationException
Gets the number of layers.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The pCount
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLayer

IGPLayer getLayer(int index)
                  throws IOException,
                         AutomationException
Returns a given layer.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.datasourcesfile.IGPLayer
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

add

void add(IGPLayer pGPLayer)
         throws IOException,
                AutomationException
Add a layer.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pGPLayer - A reference to a com.esri.arcgis.datasourcesfile.IGPLayer (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

void remove(int index)
            throws IOException,
                   AutomationException
Remove a layer.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
index - The index (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clear

void clear()
           throws IOException,
                  AutomationException
Remove all layers.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getChildren

IArray getChildren()
                   throws IOException,
                          AutomationException
Returns the array of layers.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A reference to a com.esri.arcgis.system.IArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.