Skip to content
Snippets Groups Projects
EmptyValues.cpp 572 B
Newer Older
//------------------------------------------------------------------------------
// Includes
//------------------------------------------------------------------------------
#include <climits>
#include <cfloat>

namespace Mantid
{
  
  /**
   * Returns what we consider an "empty" integer within a property
   * @returns An flag value
   */
  int EMPTY_INT()
  {
    return INT_MAX;
  }
  
  /**
   * Returns what we consider an "empty" double within a property
   * @returns An flag value
   */
  double EMPTY_DBL()
  {
      return DBL_MAX/2;
  }

} // namespace Mantid