MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / MsgMetadata

Class MsgMetadata

src/common/MsgMetadata.h:42–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40class MetadataFromBlr;
41
42class MsgMetadata : public RefCntIface<IMessageMetadataImpl<MsgMetadata, CheckStatusWrapper> >
43{
44 friend class MetadataBuilder;
45 friend class StatementMetadata;
46 friend class MetadataFromBlr;
47
48public:
49 struct Item
50 {
51 explicit Item(MemoryPool& pool)
52 : field(pool),
53 relation(pool),
54 owner(pool),
55 alias(pool),
56 type(0),
57 subType(0),
58 length(0),
59 scale(0),
60 charSet(0),
61 offset(0),
62 nullInd(0),
63 nullable(false),
64 finished(false)
65 {
66 }
67
68 Item(MemoryPool& pool, const Item& v)
69 : field(pool, v.field),
70 relation(pool, v.relation),
71 owner(pool, v.owner),
72 alias(pool, v.alias),
73 type(v.type),
74 subType(v.subType),
75 length(v.length),
76 scale(v.scale),
77 charSet(v.charSet),
78 offset(v.offset),
79 nullInd(v.nullInd),
80 nullable(v.nullable),
81 finished(v.finished)
82 {
83 }
84
85 string field;
86 string relation;
87 string owner;
88 string alias;
89 unsigned type;
90 int subType;
91 unsigned length;
92 int scale;
93 unsigned charSet;
94 unsigned offset;
95 unsigned nullInd;
96 bool nullable;
97 bool finished;
98 };
99

Callers 2

getMetadataMethod · 0.85
getMethod · 0.85

Calls 1

getCountMethod · 0.45

Tested by

no test coverage detected