/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2010,2011,2012,2013, by the GROMACS development team, led by
- * David van der Spoel, Berk Hess, Erik Lindahl, and including many
- * others, as listed in the AUTHORS file in the top-level source
- * directory and at http://www.gromacs.org.
+ * Copyright (c) 2010,2011,2012,2013,2014, 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.
*
* GROMACS is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
#ifndef GMX_ANALYSISDATA_ANALYSISDATA_H
#define GMX_ANALYSISDATA_ANALYSISDATA_H
-#include "abstractdata.h"
+#include "gromacs/analysisdata/abstractdata.h"
+#include "gromacs/utility/real.h"
namespace gmx
{
*/
AnalysisDataHandle();
+ //! Returns whether this data handle is valid.
+ bool isValid() const { return impl_ != NULL; }
+
/*! \brief
* Start data for a new frame.
*
/*! \brief
* Creates a new data handle associated with \p data.
*
- * \param data Data to associate the handle with.
+ * \param impl Data to associate the handle with.
*
* The constructor is private because data handles should only be
* constructed through AnalysisData::startData().