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

Class ExternalContextImpl

src/jrd/ExtEngineManager.h:150–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148 };
149
150 class ExternalContextImpl :
151 public Firebird::VersionedIface<Firebird::IExternalContextImpl<ExternalContextImpl, Firebird::CheckStatusWrapper> >
152 {
153 friend class AttachmentImpl;
154
155 public:
156 ExternalContextImpl(thread_db* tdbb, Firebird::IExternalEngine* aEngine);
157 virtual ~ExternalContextImpl();
158
159 void releaseTransaction();
160 void setTransaction(thread_db* tdbb);
161
162 Firebird::IMaster* getMaster();
163 Firebird::IExternalEngine* getEngine(Firebird::CheckStatusWrapper* status);
164 Firebird::IAttachment* getAttachment(Firebird::CheckStatusWrapper* status);
165 Firebird::ITransaction* getTransaction(Firebird::CheckStatusWrapper* status);
166 const char* getUserName();
167 const char* getDatabaseName();
168 const char* getClientCharSet();
169 int obtainInfoCode();
170 void* getInfo(int code);
171 void* setInfo(int code, void* value);
172
173 private:
174 Firebird::IExternalEngine* engine;
175 Attachment* internalAttachment;
176 Firebird::ITransaction* internalTransaction;
177 Firebird::IAttachment* externalAttachment;
178 Firebird::ITransaction* externalTransaction;
179 Firebird::GenericMap<Firebird::NonPooled<int, void*> > miscInfo;
180 MetaName clientCharSet;
181 };
182
183 struct EngineAttachment
184 {

Callers 2

getEngineMethod · 0.85
getEngineAttachmentMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected