46 if ((name = node.
property (
"name")) == 0) {
51 set_name (name->
value ());
58 if ((*i)->name() !=
"Channel") {
63 if ((name = (*i)->property (
"name")) == 0) {
69 if ((type = (*i)->property (
"type")) == 0) {
79 if ((*j)->name() !=
"Port") {
84 if ((name = (*j)->property (
"name")) == 0) {
89 add_port_to_channel (n, name->
value ());
103 if (ports_are_inputs ()) {
104 node =
new XMLNode (
"InputBundle");
106 node =
new XMLNode (
"OutputBundle");
114 for (std::vector<Channel>::iterator i = _channel.begin(); i != _channel.end(); ++i) {
119 for (PortList::iterator j = i->ports.begin(); j != i->ports.end(); ++j) {
const std::string & value() const
LIBPBD_API Transmitter error
const XMLNodeList & children(const std::string &str=std::string()) const
std::ostream & endmsg(std::ostream &ostr)
std::list< XMLNode * > XMLNodeList
XMLProperty * property(const char *)
static int loading_state_version
UserBundle(std::string const &)
XMLProperty * add_property(const char *name, const std::string &value)
void add_child_nocopy(XMLNode &)
int set_state(XMLNode const &, int version)
XMLNodeList::const_iterator XMLNodeConstIterator
std::string string_compose(const std::string &fmt, const T1 &o1)