POET's Type Manager uses a fixed type Id for each atomic type. This includes all C++ base types, plus Type Manager types like PtString, PtDate, PtTime, PtBlob. In addition, we have made a number of POET's internal types into Type Manager types to improve performance. If you add new types using the Type Manager Link Kit then you will have types which are not listed in this table. Your own types must start with a type Id of at least 100. Please check the file PTTYPE.HXX to see if there are additional types in the region past 100.
Here are the standard types that a PtTypeId may take:
TypeId | Value | Type |
const PtTypeId PtCHAR_T | 0 | char |
const PtTypeId PtSHORT_T | 1 | short |
const PtTypeId PtLONG_T | 2 | long |
const PtTypeId PtDOUBLE_T | 3 | double |
const PtTypeId PtFLOAT_T | 4 | float |
const PtTypeId PtWORD_T | 5 | unsigned short |
const PtTypeId PtDWORD_T | 6 | unsigned long |
const PtTypeId PtINT_T | 7 | integer |
const PtTypeId PtUNSIGNED_T | 8 | unsigned integer |
const PtTypeId PtENUM_T | 9 | enum |
const PtTypeId PtBYTE_T | 10 | unsigned char |
const PtTypeId PtSTRING_T | 11 | class PtString |
const PtTypeId PtDATE_T | 12 | class PtDate |
const PtTypeId PtTIME_T | 13 | class PtTime |
const PtTypeId PtBLOCKID_T | 14 | class PtBlockId |
const PtTypeId PtOBJID_T | 15 | class PtObjId |
const PtTypeId PtODREG_T | 16 | class PtClassId |
const PtTypeId PtREF_T | 17 | class PtRef |
const PtTypeId PtBLOB_T | 18 | class PtBlob |
const PtTypeId PtDATIME_T | 19 | class PtDateTime |
const PtTypeId PtISTRING_T | 20 | class PtIntString |
const PtTypeId PtCASEISTRING_T | 21 | class PtCaseIString |
const PtTypeId D_DATE_T | 22 | ODMG d_String |
const PtTypeId D_TIME_T | 23 | ODMG d_Time |
const PtTypeId D_TIMESTAMP_T | 24 | ODMG d_Timestamp |
const PtTypeId D_INTERVAL_T | 25 | ODMG d_Interval |
Copyright (c) 1996 POET Software, Inc. All rights reserved. Reproduction in whole or in part in any form or medium without the express permission of POET Software, Inc. is prohibited.