Skip to content
Snippets Groups Projects
EmptyValues.cpp 762 B
Newer Older
//------------------------------------------------------------------------------
// Includes
//------------------------------------------------------------------------------
#include "MantidKernel/EmptyValues.h"
#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" long within a property
   * @returns An flag value
   */
  long EMPTY_LONG()
  {
    return LONG_MAX;
  }

  /**
   * Returns what we consider an "empty" double within a property
   * @returns An flag value
   */
  double EMPTY_DBL()
  {