12 #ifndef XPACE_COLLATOR_H 13 #define XPACE_COLLATOR_H 31 Exception(
"Can't construct collator from XML fragment \"%1\".", reason)
43 Exception(
"Collator %1 cannot process term of type %2.")
49 #define COLLATOR_TERM_MISMATCH(term) CollatorTermMismatch(typeid(*this).name(), typeid(term).name()) 67 Exception(
"Collator value (%1) out of range.")
83 return reinterpret_cast<byte*
>((size <
sizeof(smem)) ? smem : (hmem.reset(
new uint64[size >> 3]), hmem.get()));
88 std::unique_ptr<uint64> hmem;
A string, Unicode UTF-16 and reference-counted.
uint const Xpace_Char8 size_t len
unsigned long long uint64
Copyright (C) 2012 Xpace, LLC.
void addParam(const String &p)
Add a parameter to this exception The first parameter added will replace '%1' in the template...
CantCreateCollator(const String config, const Exception reason=Exception())
Xpace project main namespace