ntndarray mapping

This commit is contained in:
Michael Davidsaver
2017-09-20 20:00:59 -05:00
parent 67bda75bcb
commit 0d4e99c1a2
7 changed files with 161 additions and 62 deletions

View File

@@ -39,6 +39,9 @@ struct context {
grp.atomic = value.as<pvd::boolean>();
grp.atomic_set = true;
} else if(field=="+id") {
grp.id = value.as<std::string>();
} else {
conf.warning += "Unknown group option ";
conf.warning += field;
@@ -53,8 +56,9 @@ struct context {
} else if(key=="+channel") {
fld.channel = value.ref<std::string>();
if(fld.channel.empty())
throw std::runtime_error("+channel can't be empty string");
} else if(key=="+id") {
fld.id = value.ref<std::string>();
} else if(key=="+trigger") {
fld.trigger = value.ref<std::string>();