This document is archived and information here might be outdated. Recommended version. |
Provides access to editable properties common to all network analyst class definitions.
Name | Description | |
---|---|---|
CandidateFieldNames | The field names that will be used by default for the network analyst class. | |
ClassCLSID | The COM class id for the network analyst class. | |
Fields | The fields for the network analyst class. | |
FieldType | The field type for a network analyst class field. | |
IsInput | Indicates if the class is used as an input to analysis. | |
IsOutput | Indicates if the class is used as an output from analysis. | |
LowerBound | The minimum number of objects required in the class by the solver to perform analysis. | |
Name | The name of the class. | |
UpperBound | The maximum number of objects allowed in the class by the solver to perform analysis. |
CoClasses and Classes | Description |
---|---|
NAClassDefinition | Defines how fields should be mapped as inputs and outputs of analysis functions. |
INAClassDefinitionEdit is the interface on the NAClassDefinition object used to setup the properties of an NAClassDefinition object. It provides properties for things like the NAClass name, its field types, the candidate field names used during bulk loading of network location features, if the NAClass is for input and/or output and the upper and lower bound of features in the class required for analysis.
These properties should only be set by an NASolver in response to a call to CreateContext or UpdateContext. The only exception is CandidateFieldNames which can be set at any time to provide good default field mappings to be used by the NAClassFieldMap in conjunction with the NAClassLoader.
This interface could also be useful to set up custom class definitions for a custom solver.
The INAClassDefinition interface should be used if you want to access the properties of an NAClassDefinition object.