17 #ifndef ZORBA_XQUERY_FUNCTIONS_API_H
18 #define ZORBA_XQUERY_FUNCTIONS_API_H
20 #include <zorba/config.h>
68 return i_->next( result );
203 char const *flags =
"" );
223 char const *flags =
"" ) {
ZORBA_DLL_PUBLIC String encode_for_uri(String const &uri_part)
Encodes reserved characters in an xs:string that is intended to be used in the path segment of a URI...
virtual bool next(value_type *result)=0
const_pointer c_str() const
Gets a pointer to a null-terminated array of characters representing the string's contents...
Sequence(iterator *i)
Constructs a new Sequence.
Sequence(Sequence const &s)
Copy constructs a Sequence.
ZORBA_DLL_PUBLIC bool ends_with(String const &arg1, String const &arg2)
Tests whether or not the value of arg1 ends with a sequence of collation units that provides a match ...
Provides a way for a function to return a sequence of some type T that can be iterated over...
ZORBA_DLL_PUBLIC Sequence< String > tokenize(String const &input, char const *pattern, char const *flags="")
This function breaks the input string into a sequence of strings, treating any substring that matches...
ZORBA_DLL_PUBLIC String lower_case(String const &arg)
Translates every character to its lower-case correspondent as defined in the appropriate case mapping...
bool next(value_type *result)
Gets the next element in the sequence.
enable_if<!zorba::internal::is_movable< T >::value, T & >::type move(T &t)
ZORBA_DLL_PUBLIC bool starts_with(String const &arg1, String const &arg2)
Tests whether or not the value of arg1 starts with a sequence of collation units that provides a matc...
ZORBA_DLL_PUBLIC String upper_case(String const &arg)
Translates every character to its upper-case correspondent as defined in the appropriate case mapping...