Manages conversion among character encodings (Ansi, Unicode, UTF-8) for an ordered list of strings.
class DStringSetProperty;
dstringproperty.h
Append and get functions are provided for each encoding type.
The dtSearch Engine's C++ support classes use DStringSetProperty to provide easy access to string sets passed to or from the dtSearch Engine. For example, DSearchJob uses a DStringSetProperty for the list of indexes to search.
"W", "A", "U8", and "Ui" versions of "append" and "getString" functions are provided to append or or retrieve the string values as Unicode (W), Ansi (A), UTF-8 (U8), or TCHAR or CString (Ui).
DStringSetProperty stores text internally in a DStringSet in UTF-8, the same format that the dtSearch Engine uses.
DStringSetProperty, like DStringProperty, is designed to be associated with a structure element, so append*() or getString^() calls will provide easy access to the contents of a string set attached to a structure.
|
Method |
Description |
|
This is the overview for the append method overload. | |
|
Append an Ansi string to the set | |
|
This is the overview for the appendU8 method overload. | |
|
This is the overview for the appendUi method overload. | |
|
Append values from a string set that do not already exist in this string set | |
|
Append a Unicode string to the set | |
|
Clear the string set | |
|
This is the overview for the copy method overload. | |
|
Unicode MfcAvailable | |
|
Constructor attaching a const char * pointer that will be made to point to the start of the string set | |
|
! Find a string in the set | |
|
! For use in properties that are sets of name,value pairs | |
|
! For use in properties that are sets of name,value pairs (case-insensitive) | |
|
This is the overview for the formatAsSimpleString method overload. | |
|
Format the set as a delimited string (Utf-8) | |
|
Format the set as a delimited string (CString) | |
|
Returns the number of strings in the set | |
|
Get one string from the set, as Ansi | |
|
Get all values in the string set | |
|
Get one string from the set, as UTF-8 | |
|
Get the value of a string as a CString | |
|
Get one string from the set, as Unicode | |
|
If this property is linked to a dtSearch API structure string pointer, update the pointer every time its value changes. | |
|
Remove a string from the set | |
|
This is the overview for the tokenize method overload. | |
|
Tokenize an Ansi string to make a string set, using whitespace, comma, and semicolon as delimiters | |
|
Tokenize a UTF-8 string to make a string set, using whitespace, comma, and semicolon as delimiters | |
|
This is the overview for the tokenizeW method overload. |
|
Operator |
Description |
|
This is the overview for the = operator overload. | |
|
Get a const char * pointer to the start of the buffer |
|
Operator |
|
Method |
|
protected |
|
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.
|