Custom Solver
NameConstants.h
// Copyright 2009 ESRI
// 
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
// 
// You may freely redistribute and use this sample code, with or
// without modification, provided you include the original copyright
// notice and use restrictions.
// 
// See the use restrictions.
// 



#pragma once

// Connectivity Solver Names

#define CS_NAME                                     L"Connectivity Solver"
#define CS_DISPLAY_NAME                             L"Connectivity"

// NAClass Names

#define CS_BARRIERS_NAME                            L"Barriers"
#define CS_SEED_POINTS_NAME                         L"SeedPoints"
#define CS_LINES_NAME                               L"LineData"

// NAClass SubLayer Names

#define CS_BARRIERS_LAYER_NAME                      L"Barriers"
#define CS_SEED_POINTS_LAYER_NAME                   L"Seed Points"
#define CS_LINES_LAYER_NAME                         L"Lines"

// Generic Class Definition Field Names

#define CS_FIELD_SHAPE                              L"Shape"
#define CS_FIELD_OID                                L"ObjectID"
#define CS_FIELD_NAME                               L"Name"
#define CS_FIELD_FROM_POS                           L"FromPos"
#define CS_FIELD_TO_POS                             L"ToPos"

// NALocation Field Names

#define CS_FIELD_SOURCE_ID                          L"SourceID"
#define CS_FIELD_SOURCE_OID                         L"SourceOID"
#define CS_FIELD_POSITION                           L"PosAlong"
#define CS_FIELD_SIDE_OF_EDGE                       L"SideOfEdge"
#define CS_FIELD_CURBAPPROACH                       L"CurbApproach"
#define CS_FIELD_STATUS                             L"Status"

// Coded Value Domain Names

#define CS_CURBAPPROACH_DOMAINNAME                  L"CurbApproach"
#define CS_LOCATIONSTATUS_DOMAINNAME                L"LocationStatus"
#define CS_SIDEOFEDGE_DOMAINNAME                    L"SideOfEdge"