Sort all includes in src/gromacs
[alexxy/gromacs.git] / src / gromacs / selection / selectionenums.h
index 41542f3a004045d1929512d55fbd1dfc0716912a..2523ea8876d6e0479984ef1251be6663d54eae38 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2010,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,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
@@ -42,7 +42,7 @@
 #ifndef GMX_SELECTION_SELECTIONENUMS_H
 #define GMX_SELECTION_SELECTIONENUMS_H
 
-#include "../utility/flags.h"
+#include "gromacs/utility/flags.h"
 
 /*! \brief
  * Defines the type of covered fraction.
@@ -59,7 +59,7 @@ namespace gmx
 {
 
 /*! \cond internal */
-/*! \internal \brief
+/*! \brief
  * Flags for options.
  *
  * These flags are not part of the public interface, even though they are in an
@@ -71,13 +71,15 @@ enum SelectionFlag
     efSelection_OnlyAtoms               = 1<<1,
     //! Whether ::POS_MASKONLY should be used for output position evaluation.
     efSelection_DynamicMask             = 1<<2,
+    //! If set, unconditionally empty selections result in compilation errors.
+    efSelection_DisallowEmpty           = 1<<3,
     //! Whether velocities of output positions should be evaluated.
     efSelection_EvaluateVelocities      = 1<<5,
     //! Whether forces on output positions should be evaluated.
     efSelection_EvaluateForces          = 1<<6,
 };
 
-//! \internal Holds a collection of ::SelectionFlag values.
+//! Holds a collection of ::SelectionFlag values.
 typedef FlagsTemplate<SelectionFlag> SelectionFlags;
 //! \endcond