Server
API Reference Guide
Product Documentation:

Visualization Server
Documentation Home
List of all members
IlsHashKeyManager Class Reference

This class is used with set-relations. More...

#include <ilserver/thash.h>

Inherited by IlsCashMapKeyManager, IlsComputedPerDraftKeyManager, IlsComputedPerOriginalKeyManager, IlsEntryNValueKeyManager, IlsRefCountedTableKeyManager, IlsSentinelsPerDraftKeyManager, IlsSentinelsPerOriginalKeyManager, IlsSwComponent::_IlsContainers_manager, IlsSwComponent::_IlsDataSources_manager, IlsSwComponent::_IlsSwInFormConvManager, IlsSwComponent::_IlsSwServerConvManager, IlsSwComponent::_IlsSwServerNamedConvManager, IlsSwRepresentation::_ecbManager, IlsUpdatedCompositeTableKeyManager, IlsUpdatedSizedCompositeTableKeyManager, and IlsViewedMapKeyManager.

Detailed Description

This class is used with set-relations.

Library: server
and mvcomp

Objects added to a set are stored together with their associated key in a C++ array, called a hash code table, and are indexed using an integer. The class IlsHashKeyManager contains functions that convert the key type used to store objects in a set to an integer.

Synopsis
{
public:
static long Hash(int key, int size);
static long Hash(long key, int size);
static long Hash(unsigned long key, int size);
static long Hash(const char* key, int size);
static long Hash(char* key, int size);
static long Hash(void* key, int size);
static IlsBoolean Match(char, char);
static IlsBoolean Match(int, int);
static IlsBoolean Match(unsigned char, unsigned char);
static IlsBoolean Match(short, short);
static IlsBoolean Match(unsigned short, unsigned short);
static IlsBoolean Match(unsigned int, unsigned int);
static IlsBoolean Match(long, long);
static IlsBoolean Match(unsigned long, unsigned long);
static IlsBoolean Match(float, float);
static IlsBoolean Match(double, double);
static IlsBoolean Match(const char*, const char*);
static IlsBoolean Match(char*, char*);
static IlsBoolean Match(const void*, const void*);
static IlsBoolean Match(void*, void*);
};
See also
IlsOwnsSet, IlsUsesSet
IlsBoolean
bool IlsBoolean
The type IlsBoolean handles Boolean values. A Boolean value is true when set to IlsTrue and false whe...
Definition: config.h:197
IlsHashKeyManager
This class is used with set-relations.
Definition: thash.h:99