 | 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
Syntaxpublic static void ParseList(
CGXNETCore gxNetShared,
string str_val,
CVV gvv
)
public static void ParseList(
CGXNETCore gxNetShared,
string str_val,
CVV gvv
)
Public Shared Sub ParseList (
gxNetShared As CGXNETCore,
str_val As String,
gvv As CVV
)
Public Shared Sub ParseList (
gxNetShared As CGXNETCore,
str_val As String,
gvv As CVV
)
public:
static void ParseList(
CGXNETCore^ gxNetShared,
String^ str_val,
CVV^ gvv
)
public:
static void ParseList(
CGXNETCore^ gxNetShared,
String^ str_val,
CVV^ gvv
)
static member ParseList :
gxNetShared : CGXNETCore *
str_val : string *
gvv : CVV -> unit
static member ParseList :
gxNetShared : CGXNETCore *
str_val : string *
gvv : CVV -> unit
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