Open CASCADE Technology
7.5.0
|
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Handle.hxx>
#include <Standard_PExtCharacter.hxx>
#include <Standard_Integer.hxx>
#include <Standard_CString.hxx>
#include <Standard_Boolean.hxx>
#include <Standard_ExtString.hxx>
#include <Standard_Character.hxx>
#include <Standard_ExtCharacter.hxx>
#include <Standard_Real.hxx>
#include <Standard_OStream.hxx>
#include <Standard_PCharacter.hxx>
Data Structures | |
class | TCollection_ExtendedString |
A variable-length sequence of "extended" (UNICODE) characters (16-bit character type). It provides editing operations with built-in memory management to make ExtendedString objects easier to use than ordinary extended character arrays. ExtendedString objects follow "value semantics", that is, they are the actual strings, not handles to strings, and are copied through assignment. You may use HExtendedString objects to get handles to strings. More... | |
Functions | |
Standard_Integer | HashCode (const TCollection_ExtendedString &theExtendedString, const Standard_Integer theUpperBound) |
Computes a hash code for the given extended string, in the range [1, theUpperBound]. More... | |
|
inline |
Computes a hash code for the given extended string, in the range [1, theUpperBound].
theExtendedString | the extended string which hash code is to be computed |
theUpperBound | the upper bound of the range a computing hash code must be within |