com.esri.arcgis.geometry
Interface ISpatialReferenceSingletonManager

All Superinterfaces:
Serializable
All Known Implementing Classes:
SpatialReferenceEnvironment

public interface ISpatialReferenceSingletonManager
extends Serializable

Ensure that no duplicates of projection engine pcs or gcs objects are created.

Product Availability

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


Method Summary
 void commitIdentity(int[] ppInOutCoordSys)
          Ensures that no copy of pCS exists in the system.
 void createOwnedCS(int[] ppInOutCoordSys)
          Replaces ppInOutCoordSys with an exact, deep copy.
 void findFactoryCS(int factoryCSCode, int[] ppOutCoordSys)
          Finds or manufactures a pre-defined coordinate system.
 void releaseCoordSys(int pInCoordSys)
          Decrements the ref count of the extended coord sys and possibly removes it.
 

Method Detail

createOwnedCS

void createOwnedCS(int[] ppInOutCoordSys)
                   throws IOException,
                          AutomationException
Replaces ppInOutCoordSys with an exact, deep copy.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
ppInOutCoordSys - The ppInOutCoordSys (A COM typedef) (in/out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

commitIdentity

void commitIdentity(int[] ppInOutCoordSys)
                    throws IOException,
                           AutomationException
Ensures that no copy of pCS exists in the system.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
ppInOutCoordSys - The ppInOutCoordSys (A COM typedef) (in/out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findFactoryCS

void findFactoryCS(int factoryCSCode,
                   int[] ppOutCoordSys)
                   throws IOException,
                          AutomationException
Finds or manufactures a pre-defined coordinate system.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
factoryCSCode - The factoryCSCode (in)
ppOutCoordSys - The ppOutCoordSys (A COM typedef) (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

releaseCoordSys

void releaseCoordSys(int pInCoordSys)
                     throws IOException,
                            AutomationException
Decrements the ref count of the extended coord sys and possibly removes it.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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