| 60 | |
| 61 | |
| 62 | class ExtEngineManager final : public Firebird::PermanentStorage |
| 63 | { |
| 64 | private: |
| 65 | class AttachmentImpl; |
| 66 | template <typename T> class ContextManager; |
| 67 | class TransactionImpl; |
| 68 | |
| 69 | class RoutineMetadata final : |
| 70 | public Firebird::VersionedIface<Firebird::IRoutineMetadataImpl<RoutineMetadata, Firebird::CheckStatusWrapper> >, |
| 71 | public Firebird::PermanentStorage |
| 72 | { |
| 73 | public: |
| 74 | explicit RoutineMetadata(MemoryPool& pool) |
| 75 | : PermanentStorage(pool), |
| 76 | package(pool), |
| 77 | name(pool), |
| 78 | entryPoint(pool), |
| 79 | body(pool), |
| 80 | triggerTable(pool), |
| 81 | triggerType(0) |
| 82 | { |
| 83 | } |
| 84 | |
| 85 | const char* getPackage(Firebird::CheckStatusWrapper* /*status*/) const |
| 86 | { |
| 87 | return package.nullStr(); |
| 88 | } |
| 89 | |
| 90 | const char* getName(Firebird::CheckStatusWrapper* /*status*/) const |
| 91 | { |
| 92 | return name.c_str(); |
| 93 | } |
| 94 | |
| 95 | const char* getEntryPoint(Firebird::CheckStatusWrapper* /*status*/) const |
| 96 | { |
| 97 | return entryPoint.c_str(); |
| 98 | } |
| 99 | |
| 100 | const char* getBody(Firebird::CheckStatusWrapper* /*status*/) const |
| 101 | { |
| 102 | return body.c_str(); |
| 103 | } |
| 104 | |
| 105 | Firebird::IMessageMetadata* getInputMetadata(Firebird::CheckStatusWrapper* /*status*/) const |
| 106 | { |
| 107 | return getMetadata(inputParameters); |
| 108 | } |
| 109 | |
| 110 | Firebird::IMessageMetadata* getOutputMetadata(Firebird::CheckStatusWrapper* /*status*/) const |
| 111 | { |
| 112 | return getMetadata(outputParameters); |
| 113 | } |
| 114 | |
| 115 | Firebird::IMessageMetadata* getTriggerMetadata(Firebird::CheckStatusWrapper* /*status*/) const |
| 116 | { |
| 117 | return getMetadata(triggerFields); |
| 118 | } |
| 119 | |