/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2010,2011,2012,2013,2014,2015,2016,2017,2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2010-2018, The GROMACS development team.
+ * Copyright (c) 2019, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
* TrajectoryAnalysisSettings
*/
-TrajectoryAnalysisSettings::TrajectoryAnalysisSettings()
- : impl_(new Impl)
+TrajectoryAnalysisSettings::TrajectoryAnalysisSettings() : impl_(new Impl)
{
impl_->frflags |= TRX_NEED_X;
}
-TrajectoryAnalysisSettings::~TrajectoryAnalysisSettings()
-{
-}
+TrajectoryAnalysisSettings::~TrajectoryAnalysisSettings() {}
-void TrajectoryAnalysisSettings::setOptionsModuleSettings(
- ICommandLineOptionsModuleSettings *settings)
+void TrajectoryAnalysisSettings::setOptionsModuleSettings(ICommandLineOptionsModuleSettings* settings)
{
impl_->optionsModuleSettings_ = settings;
}
-TimeUnit
-TrajectoryAnalysisSettings::timeUnit() const
+TimeUnit TrajectoryAnalysisSettings::timeUnit() const
{
return impl_->timeUnit;
}
-const AnalysisDataPlotSettings &
-TrajectoryAnalysisSettings::plotSettings() const
+const AnalysisDataPlotSettings& TrajectoryAnalysisSettings::plotSettings() const
{
return impl_->plotSettings;
}
-unsigned long
-TrajectoryAnalysisSettings::flags() const
+unsigned long TrajectoryAnalysisSettings::flags() const
{
return impl_->flags;
}
-bool
-TrajectoryAnalysisSettings::hasFlag(unsigned long flag) const
+bool TrajectoryAnalysisSettings::hasFlag(unsigned long flag) const
{
return (impl_->flags & flag) != 0U;
}
-bool
-TrajectoryAnalysisSettings::hasPBC() const
+bool TrajectoryAnalysisSettings::hasPBC() const
{
return impl_->bPBC;
}
-bool
-TrajectoryAnalysisSettings::hasRmPBC() const
+bool TrajectoryAnalysisSettings::hasRmPBC() const
{
return impl_->bRmPBC;
}
-int
-TrajectoryAnalysisSettings::frflags() const
+int TrajectoryAnalysisSettings::frflags() const
{
return impl_->frflags;
}
-void
-TrajectoryAnalysisSettings::setFlags(unsigned long flags)
+void TrajectoryAnalysisSettings::setFlags(unsigned long flags)
{
impl_->flags = flags;
}
-void
-TrajectoryAnalysisSettings::setFlag(unsigned long flag, bool bSet)
+void TrajectoryAnalysisSettings::setFlag(unsigned long flag, bool bSet)
{
if (bSet)
{
}
-void
-TrajectoryAnalysisSettings::setPBC(bool bPBC)
+void TrajectoryAnalysisSettings::setPBC(bool bPBC)
{
impl_->bPBC = bPBC;
}
-void
-TrajectoryAnalysisSettings::setRmPBC(bool bRmPBC)
+void TrajectoryAnalysisSettings::setRmPBC(bool bRmPBC)
{
impl_->bRmPBC = bRmPBC;
}
-void
-TrajectoryAnalysisSettings::setFrameFlags(int frflags)
+void TrajectoryAnalysisSettings::setFrameFlags(int frflags)
{
impl_->frflags = frflags;
}
-void
-TrajectoryAnalysisSettings::setHelpText(const ArrayRef<const char *const> &help)
+void TrajectoryAnalysisSettings::setHelpText(const ArrayRef<const char* const>& help)
{
GMX_RELEASE_ASSERT(impl_->optionsModuleSettings_ != nullptr,
"setHelpText() called in invalid context");