Eclipse SUMO - Simulation of Urban MObility
SUMOTime.cpp File Reference
#include <config.h>
#include <sstream>
#include <iostream>
#include <iomanip>
#include "SUMOTime.h"
#include "StringTokenizer.h"
#include "StringUtils.h"
#include "StdDefs.h"
#include "MsgHandler.h"
Include dependency graph for SUMOTime.cpp:

Go to the source code of this file.

Functions

bool checkStepLengthMultiple (const SUMOTime t, const std::string &error, SUMOTime deltaT, SUMOTime begin)
 check if given SUMOTime is multiple of the step length More...
 
void checkTimeBounds (const double time)
 check the valid SUMOTime range of double input and throw an error if out of bounds More...
 
std::string elapsedMs2string (long long int t)
 convert ms to string for log output More...
 
SUMOTime string2time (const std::string &r)
 convert string to SUMOTime More...
 
std::string time2string (SUMOTime t)
 convert SUMOTime to string (using the global format setting) More...
 
std::string time2string (SUMOTime t, bool humanReadable)
 convert SUMOTime to string (independently of global format setting) More...
 

Variables

SUMOTime DELTA_T = 1000
 

Detailed Description

Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Mirko Barthauer
Date
Fri, 29.04.2005

Definition in file SUMOTime.cpp.

Function Documentation

◆ checkStepLengthMultiple()

bool checkStepLengthMultiple ( const SUMOTime  t,
const std::string &  error,
SUMOTime  deltaT,
SUMOTime  begin 
)

check if given SUMOTime is multiple of the step length

Definition at line 135 of file SUMOTime.cpp.

References time2string(), and WRITE_WARNING.

Referenced by MSFrame::checkOptions(), NLDetectorBuilder::checkSampleInterval(), and NLDetectorBuilder::createEdgeLaneMeanData().

Here is the caller graph for this function:

◆ checkTimeBounds()

void checkTimeBounds ( const double  time)

check the valid SUMOTime range of double input and throw an error if out of bounds

Definition at line 150 of file SUMOTime.cpp.

References STEPS2TIME, SUMOTime_MAX, and toString().

Referenced by libsumo::Helper::buildStopParameters(), LIBSUMO_NAMESPACE::Vehicle::changeLane(), LIBSUMO_NAMESPACE::Vehicle::changeLaneRelative(), LIBSUMO_NAMESPACE::Vehicle::openGap(), LIBSUMO_NAMESPACE::Vehicle::setAcceleration(), and LIBSUMO_NAMESPACE::Vehicle::slowDown().

Here is the caller graph for this function:

◆ elapsedMs2string()

std::string elapsedMs2string ( long long int  t)

convert ms to string for log output

Definition at line 122 of file SUMOTime.cpp.

References gHumanReadableTime, STEPS2TIME, time2string(), and toString().

Referenced by MSNet::generateStatistics(), and SUMOAbstractRouter< E, V >::~SUMOAbstractRouter().

Here is the caller graph for this function:

◆ string2time()

SUMOTime string2time ( const std::string &  r)

convert string to SUMOTime

Definition at line 46 of file SUMOTime.cpp.

References StringTokenizer::getVector(), STEPS2TIME, SUMOTime_MAX, TIME2STEPS, and StringUtils::toDouble().

Referenced by MSNet::adaptIntermodalRouter(), RONet::adaptIntermodalRouter(), ODMatrix::add(), MSDetectorControl::add(), MSDetectorControl::addDetectorAndInterval(), NLHandler::addEdgeLaneMeanData(), NLHandler::addPhase(), NLBuilder::build(), GNEAdditionalFrame::buildAdditionalOverView(), GNETLSEditorFrame::TLSPhases::buildDefaultPhase(), MSTransportableDevice_Routing::buildDevices(), NLBuilder::buildNet(), NLBuilder::buildRouteLoaderControl(), NLTriggerBuilder::buildVaporizer(), MSDevice_Routing::buildVehicleDevices(), MSFrame::checkOptions(), MSDevice_Routing::checkOptions(), TraCIServer::cleanup(), MSNet::closeBuilding(), MSRouteHandler::closeFlow(), MSRouteHandler::closeTransportable(), MSRouteHandler::closeTransportableFlow(), MSRouteHandler::closeVehicle(), ROPerson::computeIntermodal(), computeRoutes(), MSPModel_JuPedSim::execute(), LIBSUMO_NAMESPACE::Simulation::getEndTime(), MSTLLogicControl::WAUTSwitchProcedure::getGSPTime(), MSNet::getIntermodalRouter(), MSNet::getMesoType(), SUMOSAXAttributes::getOptPeriod(), SUMOSAXAttributes::getOptSUMOTimeReporting(), SUMOSAXAttributes::getPeriod(), SUMOSAXAttributes::getSUMOTimeReporting(), MSDevice::getTimeParam(), GUIMessageWindow::getTimeString(), GUIApplicationWindow::handleEvent_SimulationLoaded(), MSStageDriving::init(), MSRailCrossing::init(), MSActuatedTrafficLightLogic::init(), MSLane::initCollisionOptions(), MSDevice_Taxi::initDispatch(), MSRoutingEngine::initRouter(), MSRoutingEngine::initWeightUpdate(), LIBSUMO_NAMESPACE::Simulation::load(), GUISettingsHandler::loadBreakpoints(), GUINet::loadEdgeData(), main(), MSActuatedTrafficLightLogic::MSActuatedTrafficLightLogic(), MSDevice_Taxi::MSDevice_Taxi(), MSNet::MSNet(), MSPModel_Striping::MSPModel_Striping(), MSTransportableControl::MSTransportableControl(), MSVehicleControl::MSVehicleControl(), MSTriggeredRerouter::myEndElement(), SUMORouteHandler::myEndElement(), MSStateHandler::MSStateTimeHandler::myStartElement(), MSStateHandler::myStartElement(), GUIDialog_Breakpoints::onCmdEditTable(), ROLoader::openRoutes(), TraCIServer::openSocket(), SUMOVehicleParserHelper::parseAngleTimesMap(), SUMOVehicleParameter::parseDepart(), MSDevice_FCDReplay::parseNext(), MSNet::quickReload(), readDetectorFlows(), GUILoadThread::run(), GNECalibratorFlow::setAttribute(), GNEInductionLoopDetector::setAttribute(), GNELaneAreaDetector::setAttribute(), GNEMultiEntryExitDetector::setAttribute(), GNERouteProbe::setAttribute(), GNEVariableSpeedSignStep::setAttribute(), GNEMeanData::setAttribute(), GNERoute::setAttribute(), GNEStop::setAttribute(), GNEStopPlan::setAttribute(), GNEVType::setAttribute(), GNEDemandElementFlow::setFlowAttribute(), MSFrame::setMSGlobals(), MSRailCrossing::setParameter(), MSActuatedTrafficLightLogic::setParameter(), MSSimpleTrafficLightLogic::setParameter(), LIBSUMO_NAMESPACE::Vehicle::setStopParameter(), signalHandler(), MSVehicle::slowDownForSchedule(), startComputation(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToFlowJunctions(), GNERouteHandler::transformToFlowTAZs(), GNERouteHandler::transformToRouteFlow(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::WAUTSwitchProcedure_Stretch(), MSQueueExport::write(), MSFCDExport::write(), MSEmissionExport::write(), GNEChargingStation::writeAdditional(), and MSNet::writeSummaryOutput().

◆ time2string() [1/2]

std::string time2string ( SUMOTime  t)

convert SUMOTime to string (using the global format setting)

Definition at line 116 of file SUMOTime.cpp.

References gHumanReadableTime, and time2string().

◆ time2string() [2/2]

std::string time2string ( SUMOTime  t,
bool  humanReadable 
)

convert SUMOTime to string (independently of global format setting)

Definition at line 69 of file SUMOTime.cpp.

References gPrecision, MAX2(), MIN2(), SUMOTime_MAX, TIME2STEPS, and TS.

Referenced by RailwayRouter< E, V >::_compute(), MSTransportable::abortStage(), LIBSUMO_NAMESPACE::Person::add(), MSVehicleTransfer::add(), MSPModel_JuPedSim::add(), MSPModel_Striping::add(), GUIApplicationWindow::addBreakpoint(), MSTriggeredRerouter::addParkValues(), MSDispatch::addReservation(), IntermodalNetwork< E, L, N, V >::addSchedule(), MSBaseVehicle::addStop(), AGActivityTripWriter::addTrip(), GUIRunThread::begin(), NLBuilder::build(), GNEContainerFrame::buildContainer(), CHBuilder< E, V >::buildContractionHierarchy(), NLBuilder::buildNet(), GNEPersonFrame::buildPerson(), GNEVehicleFrame::buildVehicleOverRoute(), MSBaseVehicle::calculateArrivalParams(), MSSwarmTrafficLightLogic::calculateEtaDiff(), MSSwarmTrafficLightLogic::calculateEtaRatio(), MSDeterministicHiLevelTrafficLightLogic::canRelease(), MSSOTLPolicyBasedTrafficLightLogic::canRelease(), MSSwarmTrafficLightLogic::canRelease(), MELoop::changeSegment(), GUIApplicationWindow::checkGamingEvents(), GUIApplicationWindow::checkGamingEventsDRT(), MSVehicleTransfer::checkInsertions(), MSFrame::checkOptions(), checkStepLengthMultiple(), MEVehicle::checkStop(), MSNet::closeSimulation(), DijkstraRouter< E, V >::compute(), MSDispatch_Greedy::computeDispatch(), MSDispatch_GreedyClosest::computeDispatch(), NBOwnTLDef::computeLogicAndConts(), computeRoutes(), GNEVehicleFrame::createPath(), MSDevice_Taxi::customerArrived(), MSDeterministicHiLevelTrafficLightLogic::decideNextPhase(), MSSOTLPolicyBasedTrafficLightLogic::decideNextPhase(), MSSwarmTrafficLightLogic::decideNextPhase(), MSSOTLPolicy::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decidePolicy(), MSSwarmTrafficLightLogic::decidePolicy(), MSDevice_SSM::determineConflictPoint(), MSDispatch_GreedyShared::dispatch(), MSDispatch_RouteExtension::dispatch(), MSDevice_Taxi::dispatchShared(), GUIBaseVehicle::drawParkingInfo(), GUIBaseVehicle::drawStopLabels(), GUIParameterTracker::GUIParameterTrackerPanel::drawValue(), elapsedMs2string(), GUIDialog_Breakpoints::encode2TXT(), MSE3Collector::enter(), MSParkingArea::enter(), MSDevice_SSM::estimateConflictTimes(), METriggeredCalibrator::execute(), Command_SaveTLSState::execute(), Command_SaveTLSSwitches::execute(), Command_SaveTLSSwitchStates::execute(), Command_RouteReplacement::execute(), MSVTypeProbe::execute(), MSCalibrator::execute(), MSVehicle::executeMove(), MSLane::executeMovements(), MSDevice_Taxi::generateOutput(), MSDevice_Tripinfo::generateOutput(), CommonXMLStructure::SumoBaseObject::getAllAttributes(), GNECalibrator::getAttribute(), GNECalibratorFlow::getAttribute(), GNEChargingStation::getAttribute(), GNEInductionLoopDetector::getAttribute(), GNELaneAreaDetector::getAttribute(), GNEMultiEntryExitDetector::getAttribute(), GNERerouter::getAttribute(), GNERerouterInterval::getAttribute(), GNERouteProbe::getAttribute(), GNEVaporizer::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNEMeanData::getAttribute(), GNERoute::getAttribute(), GNEStop::getAttribute(), GNEStopPlan::getAttribute(), GNEVType::getAttribute(), MSVehicle::getBackPositionOnLane(), SUMOVehicleParameter::getDepart(), MSRailSignal::LinkInfo::getDriveWay(), GNEDemandElementFlow::getFlowAttribute(), IntermodalTrip< E, N, V >::getID(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForInputLanes(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForOutputLanes(), MSPModel_Striping::getNextLane(), MSDevice_Routing::getParameter(), MSTransportableDevice_Routing::getParameter(), GUICalibrator::getParameterWindow(), GUIVehicle::getParameterWindow(), GUIMEVehicle::getParameterWindow(), GUIContainer::getParameterWindow(), GUIPerson::getParameterWindow(), MSSwarmTrafficLightLogic::getPheromoneForInputLanes(), MSSwarmTrafficLightLogic::getPheromoneForOutputLanes(), MSStageDriving::getStageSummary(), MSStageWaiting::getStageSummary(), GUIVehicle::getStopInfo(), LIBSUMO_NAMESPACE::Vehicle::getStopParameter(), MSLane::handleCollisionBetween(), GUIApplicationWindow::handleEvent_SimulationEnded(), MSLane::handleIntermodalCollisionBetween(), MSBaseVehicle::haveValidStopEdges(), MSIdling_Stop::idle(), MSIdling_TaxiStand::idle(), MSVehicle::Influencer::implicitDeltaPosRemote(), ROMAAssignments::incremental(), MSVehicle::Influencer::influenceChangeDecision(), MSActuatedTrafficLightLogic::init(), MSEdge::insertVehicle(), MSSOTLTrafficLightLogic::isThresholdPassed(), MSVehicle::joinTrainPartFront(), MSAbstractLaneChangeModel::laneChangeOutput(), MSE3Collector::leave(), MSE3Collector::leaveFront(), MSVehicle::leaveLane(), LIBSUMO_NAMESPACE::Simulation::load(), GUINet::loadEdgeData(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::moveInDirectionOnLane(), MSPModel_Striping::PState::moveTo(), MSPModel_Striping::PState::moveToXY(), MSCalibrator::myStartElement(), MSLaneSpeedTrigger::myStartElement(), MSCalibrator::VehicleRemover::notifyEnter(), MSDevice_Transportable::notifyLeave(), MSE3Collector::MSE3EntryReminder::notifyLeave(), MSE3Collector::MSE3LeaveReminder::notifyLeave(), MSDevice_Battery::notifyMove(), MSE2Collector::notifyMove(), MSDevice_Vehroutes::notifyStopEnded(), GUIDialog_ViewSettings::onCmdExportSetting(), GUIParameterTracker::onCmdSave(), MSMeanData::openInterval(), ROLoader::openRoutes(), NBLoadedTLDef::SignalGroup::patchTYellow(), MSNet::postSimStepOutput(), MSNet::preSimStepOutput(), MSStageDriving::proceed(), MSVehicle::processLaneAdvances(), MSVehicle::processNextStop(), ROLoader::processRoutes(), ODMatrix::readTime(), GUIDialog_Breakpoints::rebuildList(), MSLink::removeApproachingPerson(), MSCalibrator::removePending(), MSBaseVehicle::replaceRoute(), MSTriggeredRerouter::rerouteParkingArea(), MSVehicle::rerouteParkingArea(), GNENetHelper::AttributeCarriers::retrieveRerouterInterval(), MSStageDriving::routeOutput(), MSStageTranship::routeOutput(), MSStageWaiting::routeOutput(), MSStageWalking::routeOutput(), MSTransportable::routeOutput(), ROPerson::Ride::saveAsXML(), ROPerson::Walk::saveAsXML(), MSStateHandler::saveState(), MEVehicle::saveState(), MSVehicle::saveState(), GUIMessageWindow::setCursorPos(), MSCalibrator::setFlow(), MSNet::simulate(), MSNet::simulationStep(), MSStopOut::stopEnded(), MSStopOut::stopStarted(), MSLane::succLinkSec(), MELoop::teleportVehicle(), time2string(), MSTriggeredRerouter::triggerRouting(), MSTransportable::tripInfoOutput(), MSPerson::MSPersonStage_Access::tripInfoOutput(), MSStageDriving::tripInfoOutput(), MSStageTranship::tripInfoOutput(), MSStageWaiting::tripInfoOutput(), MSStageWalking::tripInfoOutput(), MSSOTLTrafficLightLogic::trySwitch(), MSSOTLTrafficLightLogic::updateDecayThreshold(), MSDevice_Taxi::updateMove(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSSwarmTrafficLightLogic::updateSensitivities(), MSAbstractLaneChangeModel::updateShadowLane(), MSVehicle::updateState(), MSPModel_Striping::PState::walk(), MSStop::write(), SUMOVTypeParameter::write(), SUMOVehicleParameter::Stop::write(), MSXMLRawOut::write(), MSElecHybridExport::write(), MSFullExport::write(), MSQueueExport::write(), MSFCDExport::write(), MSBatteryExport::write(), MSEmissionExport::write(), ODMatrix::write(), GNECalibrator::writeAdditional(), GNEChargingStation::writeAdditional(), GNEInductionLoopDetector::writeAdditional(), GNELaneAreaDetector::writeAdditional(), GNEMultiEntryExitDetector::writeAdditional(), GNERerouter::writeAdditional(), GNERouteProbe::writeAdditional(), GNEVaporizer::writeAdditional(), GNEVariableSpeedSignStep::writeAdditional(), MSElecHybridExport::writeAggregated(), MSLink::writeApproaching(), MSNet::writeCollisions(), GNERoute::writeDemandElement(), RODFDetector::writeEmitterDefinition(), ODMatrix::writeFlows(), ROMAAssignments::writeInterval(), MSNet::writeOutput(), MSDevice_Vehroutes::writeOutput(), RODFDetector::writeSingleSpeedTrigger(), MSNet::writeStatistics(), MSDevice_Tripinfo::writeStatistics(), ROLoader::writeStats(), MSNet::writeSummaryOutput(), MSTractionSubstation::writeTractionSubstationOutput(), MSChargingStation::writeVehicle(), MSOverheadWire::writeVehicle(), TrajectoriesHandler::writeXMLEmissions(), MEInductLoop::writeXMLOutput(), MSE2Collector::writeXMLOutput(), MSE3Collector::writeXMLOutput(), MSCalibrator::writeXMLOutput(), MSRouteProbe::writeXMLOutput(), and MSDevice_Vehroutes::writeXMLRoute().

Variable Documentation

◆ DELTA_T

SUMOTime DELTA_T = 1000

Definition at line 38 of file SUMOTime.cpp.

Referenced by MSCFModel_CC::_consensus(), MSCFModel_CACC::_v(), MSCFModel_CC::_v(), MSVehicle::Influencer::GapControlState::activate(), MSRoutingEngine::adaptEdgeEfforts(), MSTransportableControl::add(), MSPModel_Striping::add(), MSVehicleContainer::add(), MSRouteHandler::addRideOrTransport(), GUITLLogicPhasesTrackerWindow::addValue(), MSCFModel::applyStartupDelay(), MSDevice_ToC::awarenessRecoveryStep(), MSTransportableDevice_FCDReplay::buildDevices(), MSFrame::buildStreams(), MSVehicleType::check(), MELoop::checkCar(), MSLaneChanger::checkChange(), RONet::checkFlows(), GUIApplicationWindow::checkGamingEvents(), GUIApplicationWindow::checkGamingEventsDRT(), MSE2Collector::checkJam(), GUISUMOAbstractView::checkSnapshots(), GUIViewTraffic::checkSnapshots(), MEVehicle::checkStop(), MSTransportableControl::checkWaiting(), NLJunctionControlBuilder::closeTrafficLightLogic(), MSPModel_NonInteracting::PState::computeDuration(), MSLink::computeFoeArrivalTimeBraking(), MSInsertionControl::computeRandomDepartOffset(), MSSOTLTrafficLightLogic::computeReturnTime(), MSSwarmTrafficLightLogic::computeReturnTime(), MSCFModel_Krauss::createVehicleVariables(), MSLane::detectCollisionBetween(), MSE3Collector::detectorUpdate(), MSMeanData::detectorUpdate(), TraCIServer::dispatchCommand(), MSPModel_Striping::PState::distToLaneEnd(), MSVehicle::enterLaneAtInsertion(), METriggeredCalibrator::execute(), Command_SaveTLSProgram::execute(), Command_SaveTLSState::execute(), Command_SaveTLSSwitches::execute(), Command_SaveTLSSwitchStates::execute(), MSDevice_BTreceiver::BTreceiverUpdate::execute(), MSDevice_FCDReplay::MoveVehicles::execute(), MSTransportableDevice_FCDReplay::MovePedestrians::execute(), MSPModel_Striping::MovePedestrians::execute(), MSCalibrator::execute(), MSEventControl::execute(), MSPModel_JuPedSim::execute(), MSVehicle::executeMove(), MSCFModel_EIDM::finalizeSpeed(), MSTransportableControl::fixLoadCount(), TrackerValueDesc::getAggregationSpan(), MSVehicle::getArrivalTime(), MEVehicle::getConservativeSpeed(), LIBSUMO_NAMESPACE::InductionLoop::getLastStepMeanLength(), LIBSUMO_NAMESPACE::InductionLoop::getLastStepMeanSpeed(), LIBSUMO_NAMESPACE::InductionLoop::getLastStepVehicleIDs(), LIBSUMO_NAMESPACE::InductionLoop::getLastStepVehicleNumber(), MSInductLoop::getOccupancy(), GUINet::getRTFactor(), MSPModel_JuPedSim::PState::getSpeed(), MSVehicle::getStopDelay(), MSLeaderInfo::getSubLanes(), LIBSUMO_NAMESPACE::InductionLoop::getVehicleData(), MSPModel_Striping::getVehicleObstacles(), GUIApplicationWindow::handleEvent_SimulationLoaded(), MSDevice_Battery::increaseChargingStartTime(), MSVehicle::Influencer::influenceSpeed(), MSDevice_FCDReplay::init(), MSLane::insertVehicle(), MSVehicle::keepStopping(), MSAbstractLaneChangeModel::laneChangeOutput(), MSTransportableControl::loadAnyWaiting(), MSVehicle::loadState(), GUIRunThread::makeStep(), MSPModel_Striping::moveInDirectionOnLane(), MSDevice_ToC::MRMExecutionStep(), MSCFModel_Krauss::MSCFModel_Krauss(), MSPModel_JuPedSim::MSPModel_JuPedSim(), MSRailSignal::MSRailSignal(), MSDevice_Tripinfo::notifyIdle(), MSDevice_ElecHybrid::notifyMove(), MSDevice_StationFinder::notifyMove(), MSDevice_Taxi::notifyMove(), MSDevice_Transportable::notifyMove(), MSDevice_Tripinfo::notifyMove(), GUIApplicationWindow::onCmdBreakpoint(), GUIApplicationWindow::onCmdBreakpointEarly(), GUIDialog_Breakpoints::onCmdEditTable(), GUIParameterTracker::onCmdSave(), MSVehicleContainer::DepartFinder::operator()(), NLTriggerBuilder::parseAndBuildCalibrator(), AdditionalHandler::parseCalibratorAttributes(), MSCFModel_Krauss::patchSpeedBeforeLC(), MSNet::postMoveStep(), MSNet::postSimStepOutput(), MSDevice_Routing::preInsertionReroute(), SUMOVehicleParserHelper::processActionStepLength(), MSVehicle::processNextStop(), TraCIServerAPI_Vehicle::processSet(), MSDevice_ToC::requestToC(), TrackerValueDesc::setAggregationSpan(), MSFrame::setMSGlobals(), LIBSUMO_NAMESPACE::Vehicle::setSpeed(), MSTLLogicControl::TLSLogicVariants::setStateInstantiatingOnline(), MSTransportableControl::setWaitEnd(), MSTrafficLightLogic::SwitchCommand::shiftTime(), MELoop::simulate(), MSCFModel_EIDM::slowToStartTerm(), MSLaneChangerSublane::startChangeSublane(), MSAbstractLaneChangeModel::startLaneChangeManeuver(), MSDevice_StationFinder::teleportToChargingStation(), MSDevice_ToC::ToCPreparationStep(), MSDevice_ToC::triggerDownwardToC(), MSDevice_ToC::triggerMRM(), GUIRunThread::tryStep(), MSOffTrafficLightLogic::trySwitch(), MSRailSignal::trySwitch(), NEMALogic::trySwitch(), MSAbstractLaneChangeModel::unchanged(), NEMAPhase::update(), PolygonDynamics::update(), MSRailCrossing::updateCurrentPhase(), GUIApplicationWindow::updateTimeLCD(), MSVehicle::updateWaitingTime(), MSPModel_Striping::PState::walk(), ODMatrix::write(), MSChargingStation::writeChargingStationOutput(), MSNet::writeOutput(), MSOverheadWire::writeOverheadWireSegmentOutput(), and MSMeanData::writeXMLOutput().