Manages conversion among character encodings (Ansi, Unicode, UTF-8) for an ordered list of strings.
File: dstringproperty.h
Namespace: dtSearch
Operator |
Description |
---|---|
Store a DStringSet | |
Copy constructor | |
Get a const char * pointer to the start of the buffer |
Method |
Description |
---|---|
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) | |
Append all values from a string set | |
Append a .NET System::String | |
Append a .NET System::String | |
Append an Ansi string to the set | |
Append all values from a string set | |
Append a UTF-8 string to the set | |
Unicode | |
Append a TCHAR or CString string to the set | |
Append values from a string set that do not already exist in this string set | |
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 | |
Make a string set from a .NET System::Collections::Specialized::StringCollection | |
Make a string set from a .NET System::Collections::Specialized::StringCollection | |
Make a string set from a .NET string array | |
Unicode MfcAvailable | |
Format the set as a delimited string (Utf-8, minimizing use of quotation marks) | |
Format the set as a delimited string (Utf-8, minimizing use of quotation marks) | |
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 | |
Tokenize a .NET System::String to make a string set, using whitespace, comma, and semicolon as delimiters | |
Tokenize a .NET System::String to make a string set, using whitespace, comma, and semicolon as delimiters | |
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 | |
Tokenize a Unicode string to make a string set, using whitespace, comma, and semicolon as delimiters | |
Tokenize a Unicode string to make a string set |
Method |
Description |
---|---|
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) | |
Append all values from a string set | |
Append a .NET System::String | |
Append a .NET System::String | |
Append an Ansi string to the set | |
Append all values from a string set | |
Append a UTF-8 string to the set | |
Unicode | |
Append a TCHAR or CString string to the set | |
Append values from a string set that do not already exist in this string set | |
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 | |
Make a string set from a .NET System::Collections::Specialized::StringCollection | |
Make a string set from a .NET System::Collections::Specialized::StringCollection | |
Make a string set from a .NET string array | |
Unicode MfcAvailable | |
Format the set as a delimited string (Utf-8, minimizing use of quotation marks) | |
Format the set as a delimited string (Utf-8, minimizing use of quotation marks) | |
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 | |
Tokenize a .NET System::String to make a string set, using whitespace, comma, and semicolon as delimiters | |
Tokenize a .NET System::String to make a string set, using whitespace, comma, and semicolon as delimiters | |
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 | |
Tokenize a Unicode string to make a string set, using whitespace, comma, and semicolon as delimiters | |
Tokenize a Unicode string to make a string set |
Operator |
Description |
---|---|
Store a DStringSet | |
Copy constructor | |
Get a const char * pointer to the start of the buffer |
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.