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

Method copy_from

src/isql/InputDevices.cpp:96–105  ·  view source on GitHub ↗

Initializes one indev with another. Useful for method of the owning class that needs to copy from the input indev to the top of the stack and vice-versa.

Source from the content-addressed store, hash-verified

94// Initializes one indev with another. Useful for method of the owning class
95// that needs to copy from the input indev to the top of the stack and vice-versa.
96void InputDevices::indev::copy_from(const indev* src)
97{
98 fb_assert(src);
99 indev_fpointer = src->indev_fpointer;
100 indev_line = src->indev_line;
101 indev_aux = src->indev_aux;
102 indev_fn = src->indev_fn;
103 indev_fn_display = src->indev_fn_display;
104 // indev_next not copied.
105}
106
107// Drop a file associated with an indev.
108void InputDevices::indev::drop()

Callers 2

insertIfpMethod · 0.80
removeIntoIfpMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected