Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTRecord::NumberOfKeyEntries

Syntax

LONG CTRecord::NumberOfKeyEntries(const CTString& indexName);

Parameters

indexName The name of the index to read the number of entries from.

Description

NumberOfKeyEntries() retrieves the number key entries in an index file identified by indexName.

Return

NumberOfKeyEntries() returns the number of key entries in the index. If an error is detected, NumberOfKeyEntries() throws a CTException exception.

See also

CTRecord::EstimateSpan()

TOCIndex