Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTSegment::SetKSegDefaults

Sets the system wide default values for the extended key segment definition.

Declaration

void CTSegment::SetKSegDefaults(pctKSEGDEF pKSeg);

Description

Set the system wide default values for the extended key segment definition. The default values are:

kseg_ssiz = ctKSEG_SSIZ_COMPUTED;

kseg_type = ctKSEG_TYPE_UNICODE;

kseg_styp = ctKSEG_STYP_UTF16;

kseg_comp = ctKSEG_COMPU_S_DEFAULT | ctKSEG_COMPU_N_NONE;

kseg_desc = "en_US"

Return

void

Example


ctKSEGDEF kseg;

hSegment->SetKSegDefaults(&ksge);

See Also

CTIndex::GetIndexKSeg(), CTIndex::SetIndexKSeg(), CTSegment::GetSegmentKSeg(),
CTSegment::SetSegmentKSeg(), CTTable::GetTableKSeg(), CTTable::SetTableKSeg()

TOCIndex