Click or drag to resize

CSTRParseList Method

Parse a tokenized list to get a selection list.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public static void ParseList(
	CGXNETCore gxNetShared,
	string str_val,
	CVV gvv
)

public static void ParseList(
	CGXNETCore gxNetShared,
	string str_val,
	CVV gvv
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
str_val
Type: SystemString
String to be parsed
gvv
Type: GeoEngine.Core.GXNetXCVV
Selection Buffer to fill
Remarks
Given a list such as "1,3,4,6-9,12", it fills the input buffer with 1 if the number is selected, 0 if not. The items are delimited with spaces or commas, and ranges are acceptable, either using a "-" or ":", e.g. 3-6 and 3:6 both mean 3,4,5, and 6. Only values from 0 to one less than the buffer length are used. Out-of-range values are ignored.
See Also