Lines Matching defs:elmSnapshot
3815 * @param elmSnapshot
3821 const xml::ElementNode &elmSnapshot,
3825 throw ConfigFileError(this, &elmSnapshot, N_("Maximum snapshot tree depth of %u exceeded"), SETTINGS_SNAPSHOT_DEPTH_MAX);
3829 if (!elmSnapshot.getAttributeValue("uuid", strTemp))
3830 throw ConfigFileError(this, &elmSnapshot, N_("Required Snapshot/@uuid attribute is missing"));
3834 if (!elmSnapshot.getAttributeValue("name", snap.strName))
3835 throw ConfigFileError(this, &elmSnapshot, N_("Required Snapshot/@name attribute is missing"));
3838 elmSnapshot.getAttributeValue("Description", snap.strDescription);
3840 if (!elmSnapshot.getAttributeValue("timeStamp", strTemp))
3841 throw ConfigFileError(this, &elmSnapshot, N_("Required Snapshot/@timeStamp attribute is missing"));
3844 elmSnapshot.getAttributeValuePath("stateFile", snap.strStateFile); // online snapshots only
3848 if (!(pelmHardware = elmSnapshot.findChildElement("Hardware")))
3849 throw ConfigFileError(this, &elmSnapshot, N_("Required Snapshot/@Hardware element is missing"));
3852 xml::NodesLoop nlSnapshotChildren(elmSnapshot);
3888 readDebugging(elmSnapshot.findChildElement("Debugging"), &snap.debugging);
3889 readAutostart(elmSnapshot.findChildElement("Autostart"), &snap.autostart);