com.esri.arcgis.datasourcesraster
Interface IDescTable

All Superinterfaces:
Serializable
All Known Implementing Classes:
IDescTableProxy

public interface IDescTable
extends Serializable

Provides access to members that control a descriptor table.

Remarks

This interface is not intended to be used by outside developers.

Product Availability

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


Method Summary
 void addColumn(int col_index, IDescColumn col)
          Adds a column to the descriptor table.
 void deleteColumn(int col_index)
          Deletes a column from the descriptor table.
 void fieldDesc(int index, String[] name, short[] type, int[] width)
          Provides a description of the field.
 int findField(String strtofind)
          Finds a field in the descriptor table.
 IBinFunction getBinFunction()
          Pixel to Row tranlator.
 int getNumFields()
          Number of fields in the descriptor table.
 IDescColumn readColumn(int col_index)
          Reads a column from the descriptor table.
 IDescRow readRow(int row_index)
          Returns a row from the the descriptor table.
 int valueToIndex(double pixval)
          Converts pixel values to rows in the descriptor table.
 IDescColumn writeColumn(int col_index)
          Writes column to the descriptor table.
 void writeRow(int row_index, IDescRow row)
          Writes row of data to the descriptor table.
 

Method Detail

getNumFields

int getNumFields()
                 throws IOException,
                        AutomationException
Number of fields in the descriptor table.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

fieldDesc

void fieldDesc(int index,
               String[] name,
               short[] type,
               int[] width)
               throws IOException,
                      AutomationException
Provides a description of the field.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
index - The index (in)
name - The name (out: use single element array)
type - The type (out: use single element array)
width - The width (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBinFunction

IBinFunction getBinFunction()
                            throws IOException,
                                   AutomationException
Pixel to Row tranlator.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

valueToIndex

int valueToIndex(double pixval)
                 throws IOException,
                        AutomationException
Converts pixel values to rows in the descriptor table.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

readRow

IDescRow readRow(int row_index)
                 throws IOException,
                        AutomationException
Returns a row from the the descriptor table.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

writeRow

void writeRow(int row_index,
              IDescRow row)
              throws IOException,
                     AutomationException
Writes row of data to the descriptor table.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
row_index - The row_index (in)
row - A reference to a com.esri.arcgis.datasourcesraster.IDescRow (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readColumn

IDescColumn readColumn(int col_index)
                       throws IOException,
                              AutomationException
Reads a column from the descriptor table.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

writeColumn

IDescColumn writeColumn(int col_index)
                        throws IOException,
                               AutomationException
Writes column to the descriptor table.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

findField

int findField(String strtofind)
              throws IOException,
                     AutomationException
Finds a field in the descriptor table.

Product Availability

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

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

addColumn

void addColumn(int col_index,
               IDescColumn col)
               throws IOException,
                      AutomationException
Adds a column to the descriptor table.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
col_index - The col_index (in)
col - A reference to a com.esri.arcgis.datasourcesraster.IDescColumn (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteColumn

void deleteColumn(int col_index)
                  throws IOException,
                         AutomationException
Deletes a column from the descriptor table.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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