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

Method YEntry

src/yvalve/why.cpp:1139–1154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1137 {
1138 public:
1139 YEntry(CheckStatusWrapper* aStatus, Y* object, CHECK_ENTRY checkAttachment = CHECK_ALL)
1140 : ref(object->attachment.get()), nextRef(NULL)
1141 {
1142 aStatus->init();
1143 init(object->next);
1144
1145 if (checkAttachment != CHECK_NONE && !(nextRef.hasData()))
1146 nextIsEmpty(aStatus, checkAttachment);
1147
1148 if (checkAttachment != CHECK_NONE && ref && ref->savedStatus.getError())
1149 {
1150 const IStatus* err = ref->savedStatus.value();
1151 fini();
1152 status_exception::raise(err);
1153 }
1154 }
1155
1156 ~YEntry()
1157 {

Callers

nothing calls this directly

Calls 8

finiFunction · 0.85
raiseFunction · 0.85
initFunction · 0.70
getMethod · 0.45
initMethod · 0.45
hasDataMethod · 0.45
getErrorMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected