return set_state_2X (node, version);
}
- const XMLProperty *prop;
+ XMLProperty const * prop;
const XMLNode *io_node = 0;
Processor::set_state(node, version);
const string instr = enum_2_string (IO::Input);
const string outstr = enum_2_string (IO::Output);
- if (_own_input) {
+ if (_own_input && _input) {
for (niter = nlist.begin(); niter != nlist.end(); ++niter) {
- const XMLProperty* prop;
+ XMLProperty const * prop;
if ((prop = (*niter)->property ("name")) != 0) {
if (_name == prop->value()) {
if ((prop = (*niter)->property ("direction")) != 0) {
}
- if (_own_output) {
+ if (_own_output && _output) {
for (niter = nlist.begin(); niter != nlist.end(); ++niter) {
if ((*niter)->name() == "IO") {
- const XMLProperty* prop;
+ XMLProperty const * prop;
if ((prop = (*niter)->property ("name")) != 0) {
if (_name == prop->value()) {
if ((prop = (*niter)->property ("direction")) != 0) {