GlobalObjects
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GloRecordAttributeTypes.h
Go to the documentation of this file.
1#ifndef INC_GLORECORDATTRIBUTETYPES_H
2#define INC_GLORECORDATTRIBUTETYPES_H
3//-----------------------------------------------------------------------------
43//-----------------------------------------------------------------------------
44#include <string>
45#if defined(__GNUC__)
46 #include <limits.h>
47#endif
48//-----------------------------------------------------------------------------
49namespace glo
50{
51 //---------------------------------------------------------------------------
55 //---------------------------------------------------------------------------
65 const unsigned long OBJ_ID_DIGITVALUE = ULONG_MAX;
66 //---------------------------------------------------------------------------
67
68 //---------------------------------------------------------------------------
69 // >>>>>>>>>>>>>>>>>>>>>>>> CppTypeString >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
70 //---------------------------------------------------------------------------
120 typedef const std::string CppTypeString;
121 //---------------------------------------------------------------------------
149 CppTypeString CPP_TYPE_STR_STRING_LIST = "std::list<std::string>";
150 CppTypeString CPP_TYPE_STR_STRING_SET = "std::set<std::string>";
151 CppTypeString CPP_TYPE_STR_STRING_VECTOR = "std::vector<std::string>";
157 //---------------------------------------------------------------------------
158 // <<<<<<<<<<<<<<<<<<<<<<<< CppTypeString <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
159 //---------------------------------------------------------------------------
160
161 //---------------------------------------------------------------------------
162 // >>>>>>>>>>>>>>>>>>>>>>>> SchemaTypeString >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
163 //---------------------------------------------------------------------------
210 typedef const std::string SchemaTypeString;
211 //---------------------------------------------------------------------------
243 SchemaTypeString SCHEMA_TYPE_STR_STRINGVECTOR = "std::vector<std::string>";
245 //---------------------------------------------------------------------------
246 // <<<<<<<<<<<<<<<<<<<<<<<< SchemaTypeString <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
247 //---------------------------------------------------------------------------
248
249 //---------------------------------------------------------------------------
250 // >>>>>>>>>>>>>>>>>>>>>>>>> TypeDataLength >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
251 //---------------------------------------------------------------------------
288 typedef const unsigned short TypeDataLength;
289 //---------------------------------------------------------------------------
300 //-------------------------------------------------------------------------
311 //-------------------------------------------------------------------------
322 //-------------------------------------------------------------------------
333 //-------------------------------------------------------------------------
344 //-------------------------------------------------------------------------
355 //-------------------------------------------------------------------------
366 //-------------------------------------------------------------------------
377 //-------------------------------------------------------------------------
388 //-------------------------------------------------------------------------
399 //-------------------------------------------------------------------------
410 //-------------------------------------------------------------------------
421 //-------------------------------------------------------------------------
432 //-------------------------------------------------------------------------
444 //-------------------------------------------------------------------------
456 //-------------------------------------------------------------------------
468 //-------------------------------------------------------------------------
479 //-------------------------------------------------------------------------
490 //-------------------------------------------------------------------------
501 //-------------------------------------------------------------------------
512 //-------------------------------------------------------------------------
523 //-------------------------------------------------------------------------
534 //-------------------------------------------------------------------------
545 //---------------------------------------------------------------------------
546 // <<<<<<<<<<<<<<<<<<<<<<<<< TypeDataLength <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
547 //---------------------------------------------------------------------------
548
549 //---------------------------------------------------------------------------
550 // >>>>>>>>>>>>>>>>>>>>>>>>> enum EnDataType >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
551 //---------------------------------------------------------------------------
612 //---------------------------------------------------------------------------
613 // <<<<<<<<<<<<<<<<<<<<<<<<< enum EnDataType <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
614 //---------------------------------------------------------------------------
615
616 //---------------------------------------------------------------------------
617 // >>>>>>>>>>>>>>>>>>>>>> enum EnDataTypeGroup >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
618 //---------------------------------------------------------------------------
740 //---------------------------------------------------------------------------
741 // <<<<<<<<<<<<<<<<<<<<<< enum EnDataTypeGroup <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
742 //---------------------------------------------------------------------------
743
744 //---------------------------------------------------------------------------
745 // >>>>>>>>>>>>>>>>>>>>>>> DATA_REFERENCE_INFO >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
746 //---------------------------------------------------------------------------
779 typedef unsigned long DATA_REFERENCE_INFO;
820 //---------------------------------------------------------------------------
821 // <<<<<<<<<<<<<<<<<<<<<<< DATA_REFERENCE_INFO <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
822 //---------------------------------------------------------------------------
823
824 //---------------------------------------------------------------------------
825 // >>>>>>>>>>>>>>>>>>>>>>>>>>> functions >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
826 //---------------------------------------------------------------------------
858 ClassInfoAttribute * pClassInfoAttribute,
859 unsigned long ulClassID = 0 );
860 //---------------------------------------------------------------------------
905 ClassInfoAttribute * pClassInfoAttribute,
906 const std::string & rsFieldContent,
907 const std::string & rsDataPath,
908 bool bOnlyClassIDTable = false );
909 //---------------------------------------------------------------------------
910 // <<<<<<<<<<<<<<<<<<<<<<<<<<< functions <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
911 //---------------------------------------------------------------------------
912}; // namespace glo
913#endif
Base class for the individual attributes of a Record.
Definition GloBaseRecordAttribute.h:116
In objects of this class, the information for GlobalObjects is how a persistent class attribute is st...
Definition GloClassInfoAttribute.h:83
Definition GloAbstractBaseLot.h:49
static TypeDataLength BOOL_TEXT_LENGTH
Definition GloRecordAttributeTypes.h:310
SchemaTypeString SCHEMA_TYPE_STR_CHAR
Definition GloRecordAttributeTypes.h:214
const unsigned long OBJ_ID_DIGITVALUE
Definition GloRecordAttributeTypes.h:65
static TypeDataLength FILENAME_LENGTH
Definition GloRecordAttributeTypes.h:500
CppTypeString CPP_TYPE_STR_SHORT
Definition GloRecordAttributeTypes.h:145
static TypeDataLength DATETIME_TEXT_LENGTH
Definition GloRecordAttributeTypes.h:343
CppTypeString CPP_TYPE_STR_LONGLONG
Definition GloRecordAttributeTypes.h:137
SchemaTypeString SCHEMA_TYPE_STR_DOUBLE
Definition GloRecordAttributeTypes.h:217
CppTypeString CPP_TYPE_STR_BLOB
Definition GloRecordAttributeTypes.h:122
CppTypeString CPP_TYPE_STR_PO_REFSET
Definition GloRecordAttributeTypes.h:144
CppTypeString CPP_TYPE_STR_UNSIGNED_INT
Definition GloRecordAttributeTypes.h:153
SchemaTypeString SCHEMA_TYPE_STR_POINTERREFSET
Definition GloRecordAttributeTypes.h:236
static TypeDataLength BLOB_TEXT_LENGTH
Definition GloRecordAttributeTypes.h:511
SchemaTypeString SCHEMA_TYPE_STR_DOUBLEVECTOR
Definition GloRecordAttributeTypes.h:220
CppTypeString CPP_TYPE_STR_UNSIGNED_LONG
Definition GloRecordAttributeTypes.h:154
SchemaTypeString SCHEMA_TYPE_STR_BOOL
Definition GloRecordAttributeTypes.h:213
static TypeDataLength STRING_TEXT_LENGTH
Definition GloRecordAttributeTypes.h:299
static TypeDataLength LONGLONG_TEXT_LENGTH
Definition GloRecordAttributeTypes.h:420
SchemaTypeString SCHEMA_TYPE_STR_STDSHAREDREF
Definition GloRecordAttributeTypes.h:238
static const DATA_REFERENCE_INFO DATA_REFERENCE_INFO_NULL
Definition GloRecordAttributeTypes.h:789
SchemaTypeString SCHEMA_TYPE_STR_STRINGLIST
Definition GloRecordAttributeTypes.h:241
CppTypeString CPP_TYPE_STR_LONGDOUBLE
Definition GloRecordAttributeTypes.h:136
static TypeDataLength INT_TEXT_LENGTH
Definition GloRecordAttributeTypes.h:376
CppTypeString CPP_TYPE_STR_UNSIGNED_CHAR
Definition GloRecordAttributeTypes.h:152
CppTypeString CPP_TYPE_STR_INT_VECTOR
Definition GloRecordAttributeTypes.h:134
SchemaTypeString SCHEMA_TYPE_STR_POINTERREF
Definition GloRecordAttributeTypes.h:234
CppTypeString CPP_TYPE_STR_DOUBLE
Definition GloRecordAttributeTypes.h:126
CppTypeString CPP_TYPE_STR_PO_REFLIST
Definition GloRecordAttributeTypes.h:143
static TypeDataLength OBJID_DIGIT_LENGTH
Definition GloRecordAttributeTypes.h:489
EnDataTypeGroup
Definition GloRecordAttributeTypes.h:659
@ eDATATYPEGROUP_PTR_REFERENCE
Definition GloRecordAttributeTypes.h:723
@ eDATATYPEGROUP_NOTHING
Definition GloRecordAttributeTypes.h:669
@ eDATATYPEGROUP_POD_REFERENCE
Definition GloRecordAttributeTypes.h:738
@ eDATATYPEGROUP_INTEGER
Definition GloRecordAttributeTypes.h:705
@ eDATATYPEGROUP_DECIMAL
Definition GloRecordAttributeTypes.h:679
@ eDATATYPEGROUP_FIXEDLENGTH
Definition GloRecordAttributeTypes.h:689
static const DATA_REFERENCE_INFO DATA_REFERENCE_INFO_KEEP_EXT_FILE
Definition GloRecordAttributeTypes.h:819
const std::string CppTypeString
Definition GloRecordAttributeTypes.h:120
SchemaTypeString SCHEMA_TYPE_STR_EMBEDDED
Definition GloRecordAttributeTypes.h:221
CppTypeString CPP_TYPE_STR_UNSIGNED_LONGLONG
Definition GloRecordAttributeTypes.h:155
CppTypeString CPP_TYPE_STR_CHAR
Definition GloRecordAttributeTypes.h:124
SchemaTypeString SCHEMA_TYPE_STR_STRING
Definition GloRecordAttributeTypes.h:240
static TypeDataLength OBJID_TEXT_LENGTH
Definition GloRecordAttributeTypes.h:478
CppTypeString CPP_TYPE_STR_INT_LIST
Definition GloRecordAttributeTypes.h:132
SchemaTypeString SCHEMA_TYPE_STR_OBJID
Definition GloRecordAttributeTypes.h:229
CppTypeString CPP_TYPE_STR_LONG
Definition GloRecordAttributeTypes.h:135
static TypeDataLength USHORT_TEXT_LENGTH
Definition GloRecordAttributeTypes.h:365
SchemaTypeString SCHEMA_TYPE_STR_STRINGSET
Definition GloRecordAttributeTypes.h:242
static TypeDataLength ULONGLONG_TEXT_LENGTH
Definition GloRecordAttributeTypes.h:431
CppTypeString CPP_TYPE_STR_DOUBLE_LIST
Definition GloRecordAttributeTypes.h:127
static TypeDataLength LONGDOUBLE_TEXT_LENGTH
Definition GloRecordAttributeTypes.h:467
CppTypeString CPP_TYPE_STR_STRING_VECTOR
Definition GloRecordAttributeTypes.h:151
SchemaTypeString SCHEMA_TYPE_STR_BLOB
Definition GloRecordAttributeTypes.h:212
static TypeDataLength CHAR_TEXT_LENGTH
Definition GloRecordAttributeTypes.h:321
CppTypeString CPP_TYPE_STR_STRING_LIST
Definition GloRecordAttributeTypes.h:149
int getNewRecordAttributeFromType(BaseRecordAttribute *&prRetVal, ClassInfoAttribute *pClassInfoAttribute, unsigned long ulClassID=0)
CppTypeString CPP_TYPE_STR_DOUBLE_VECTOR
Definition GloRecordAttributeTypes.h:129
SchemaTypeString SCHEMA_TYPE_STR_STRINGVECTOR
Definition GloRecordAttributeTypes.h:243
SchemaTypeString SCHEMA_TYPE_STR_INT
Definition GloRecordAttributeTypes.h:222
SchemaTypeString SCHEMA_TYPE_STR_FLOAT
Definition GloRecordAttributeTypes.h:216
static TypeDataLength DOUBLE_TEXT_LENGTH
Definition GloRecordAttributeTypes.h:455
SchemaTypeString SCHEMA_TYPE_STR_INTSET
Definition GloRecordAttributeTypes.h:224
SchemaTypeString SCHEMA_TYPE_STR_UNSIGNED
Definition GloRecordAttributeTypes.h:244
int getNewRecordAttributeFromTypeWithValue(BaseRecordAttribute *&prRetVal, ClassInfoAttribute *pClassInfoAttribute, const std::string &rsFieldContent, const std::string &rsDataPath, bool bOnlyClassIDTable=false)
unsigned long DATA_REFERENCE_INFO
Definition GloRecordAttributeTypes.h:779
CppTypeString CPP_TYPE_STR_OD_REF
Definition GloRecordAttributeTypes.h:140
CppTypeString CPP_TYPE_STR_OD_REFSET
Definition GloRecordAttributeTypes.h:142
SchemaTypeString SCHEMA_TYPE_STR_LONGLONG
Definition GloRecordAttributeTypes.h:228
CppTypeString CPP_TYPE_STR_BOOL
Definition GloRecordAttributeTypes.h:123
static TypeDataLength UINT_TEXT_LENGTH
Definition GloRecordAttributeTypes.h:387
CppTypeString CPP_TYPE_STR_INT_SET
Definition GloRecordAttributeTypes.h:133
CppTypeString CPP_TYPE_STR_STDSHARED_REF
Definition GloRecordAttributeTypes.h:146
SchemaTypeString SCHEMA_TYPE_STR_ONDEMANDREF
Definition GloRecordAttributeTypes.h:231
CppTypeString CPP_TYPE_STR_INT
Definition GloRecordAttributeTypes.h:131
SchemaTypeString SCHEMA_TYPE_STR_REFERENCE
Definition GloRecordAttributeTypes.h:230
CppTypeString CPP_TYPE_STR_DATE_TIME
Definition GloRecordAttributeTypes.h:125
SchemaTypeString SCHEMA_TYPE_STR_STDUNIQUEREF
Definition GloRecordAttributeTypes.h:239
SchemaTypeString SCHEMA_TYPE_STR_POINTERREFLIST
Definition GloRecordAttributeTypes.h:235
SchemaTypeString SCHEMA_TYPE_STR_ONDEMANDREFSET
Definition GloRecordAttributeTypes.h:233
static TypeDataLength LOT_TEXT_LENGTH
Definition GloRecordAttributeTypes.h:533
static TypeDataLength ULONG_TEXT_LENGTH
Definition GloRecordAttributeTypes.h:409
static const DATA_REFERENCE_INFO DATA_REFERENCE_INFO_DELETE_EXT_FILE
Definition GloRecordAttributeTypes.h:799
CppTypeString CPP_TYPE_STR_STDUNIQUE_REF
Definition GloRecordAttributeTypes.h:147
SchemaTypeString SCHEMA_TYPE_STR_DOUBLELIST
Definition GloRecordAttributeTypes.h:218
EnDataType
Definition GloRecordAttributeTypes.h:562
@ eDATATYPE_REFLIST_POINTER
TPointerList<Persistent Class>
Definition GloRecordAttributeTypes.h:590
@ eDATATYPE_INT_UNSIGNED
unsigned int
Definition GloRecordAttributeTypes.h:571
@ eDATATYPE_INT
int
Definition GloRecordAttributeTypes.h:570
@ eDATATYPE_STRING
std::string
Definition GloRecordAttributeTypes.h:597
@ eDATATYPE_LONGDOUBLE
long double
Definition GloRecordAttributeTypes.h:578
@ eDATATYPE_FLOAT
float
Definition GloRecordAttributeTypes.h:576
@ eDATATYPE_LONG_UNSIGNED
unsigned long
Definition GloRecordAttributeTypes.h:573
@ eDATATYPE_ENUM_SIZE
Definition GloRecordAttributeTypes.h:610
@ eDATATYPE_POINTER
Persistent Class* (Pointer Member)
Definition GloRecordAttributeTypes.h:587
@ eDATATYPE_SET_INT
std::set<int>
Definition GloRecordAttributeTypes.h:593
@ eDATATYPE_BOOL
bool
Definition GloRecordAttributeTypes.h:565
@ eDATATYPE_LIST_INT
std::list<int>
Definition GloRecordAttributeTypes.h:582
@ eDATATYPE_UNDEF
undefined
Definition GloRecordAttributeTypes.h:563
@ eDATATYPE_BLOB
eut::Blob
Definition GloRecordAttributeTypes.h:564
@ eDATATYPE_STDUNIQUEPOINTER
std::unique_ptr<Persistent Class>
Definition GloRecordAttributeTypes.h:596
@ eDATATYPE_LIST_STRING
std::list<std::string>
Definition GloRecordAttributeTypes.h:583
@ eDATATYPE_CHAR_UNSIGNED
unsigned char
Definition GloRecordAttributeTypes.h:567
@ eDATATYPE_STDSHAREDPOINTER
std::shared_ptr<Persistent Class>
Definition GloRecordAttributeTypes.h:595
@ eDATATYPE_VECTOR_DOUBLE
std::vector<double>
Definition GloRecordAttributeTypes.h:598
@ eDATATYPE_SHORT_UNSIGNED
unsigned short
Definition GloRecordAttributeTypes.h:569
@ eDATATYPE_REFLIST_ONDEMAND
TOndemandList<Persistent Class>
Definition GloRecordAttributeTypes.h:588
@ eDATATYPE_VECTOR_STRING
std::vector<std::string>
Definition GloRecordAttributeTypes.h:600
@ eDATATYPE_VECTOR_INT
std::vector<int>
Definition GloRecordAttributeTypes.h:599
@ eDATATYPE_SET_STRING
std::set<std::string>
Definition GloRecordAttributeTypes.h:594
@ eDATATYPE_DOUBLE
double
Definition GloRecordAttributeTypes.h:577
@ eDATATYPE_LONGLONG_UNSIGNED
unsigned long long
Definition GloRecordAttributeTypes.h:575
@ eDATATYPE_OBJID
ObjID.
Definition GloRecordAttributeTypes.h:584
@ eDATATYPE_ONDEMAND
TOndemand<Persistent Class>
Definition GloRecordAttributeTypes.h:586
@ eDATATYPE_SHORT
short
Definition GloRecordAttributeTypes.h:568
@ eDATATYPE_EMBEDDED
Persistent Class (Member)
Definition GloRecordAttributeTypes.h:580
@ eDATATYPE_DATE_TIME
std::time_t
Definition GloRecordAttributeTypes.h:579
@ eDATATYPE_REFERENCE
Reference.
Definition GloRecordAttributeTypes.h:585
@ eDATATYPE_LIST_DOUBLE
std::list<double>
Definition GloRecordAttributeTypes.h:581
@ eDATATYPE_REFSET_POINTER
TPointerSet<Persistent Class>
Definition GloRecordAttributeTypes.h:591
@ eDATATYPE_REFSET_ONDEMAND
TOndemandSet<Persistent Class>
Definition GloRecordAttributeTypes.h:589
@ eDATATYPE_LONG
long
Definition GloRecordAttributeTypes.h:572
@ eDATATYPE_LONGLONG
long long
Definition GloRecordAttributeTypes.h:574
@ eDATATYPE_SET_DOUBLE
std::set<double>
Definition GloRecordAttributeTypes.h:592
@ eDATATYPE_CHAR
char
Definition GloRecordAttributeTypes.h:566
const unsigned short TypeDataLength
Definition GloRecordAttributeTypes.h:288
SchemaTypeString SCHEMA_TYPE_STR_INTVECTOR
Definition GloRecordAttributeTypes.h:225
CppTypeString CPP_TYPE_STR_STRING
Definition GloRecordAttributeTypes.h:148
CppTypeString CPP_TYPE_STR_REFERENCE
Definition GloRecordAttributeTypes.h:139
SchemaTypeString SCHEMA_TYPE_STR_SHORT
Definition GloRecordAttributeTypes.h:237
static TypeDataLength SHORT_TEXT_LENGTH
Definition GloRecordAttributeTypes.h:354
const std::string SchemaTypeString
Definition GloRecordAttributeTypes.h:210
static const DATA_REFERENCE_INFO DATA_REFERENCE_INFO_NEW_EXT_FILE
Definition GloRecordAttributeTypes.h:809
CppTypeString CPP_TYPE_STR_FLOAT
Definition GloRecordAttributeTypes.h:130
SchemaTypeString SCHEMA_TYPE_STR_DATETIME
Definition GloRecordAttributeTypes.h:215
static TypeDataLength STRING_MAX_TEXT_LENGTH
Definition GloRecordAttributeTypes.h:544
static TypeDataLength FLOAT_TEXT_LENGTH
Definition GloRecordAttributeTypes.h:443
SchemaTypeString SCHEMA_TYPE_STR_LONGDOUBLE
Definition GloRecordAttributeTypes.h:227
CppTypeString CPP_TYPE_STR_OD_REFLIST
Definition GloRecordAttributeTypes.h:141
CppTypeString CPP_TYPE_STR_DOUBLE_SET
Definition GloRecordAttributeTypes.h:128
CppTypeString CPP_TYPE_STR_STRING_SET
Definition GloRecordAttributeTypes.h:150
SchemaTypeString SCHEMA_TYPE_STR_INTLIST
Definition GloRecordAttributeTypes.h:223
CppTypeString CPP_TYPE_STR_UNSIGNED_SHORT
Definition GloRecordAttributeTypes.h:156
CppTypeString CPP_TYPE_STR_OBJID
Definition GloRecordAttributeTypes.h:138
static TypeDataLength STRING_MAX_INDEX_LENGTH
Definition GloRecordAttributeTypes.h:522
SchemaTypeString SCHEMA_TYPE_STR_DOUBLESET
Definition GloRecordAttributeTypes.h:219
static TypeDataLength LONG_TEXT_LENGTH
Definition GloRecordAttributeTypes.h:398
SchemaTypeString SCHEMA_TYPE_STR_LONG
Definition GloRecordAttributeTypes.h:226
SchemaTypeString SCHEMA_TYPE_STR_ONDEMANDREFLIST
Definition GloRecordAttributeTypes.h:232
static TypeDataLength UCHAR_TEXT_LENGTH
Definition GloRecordAttributeTypes.h:332