Skip to content
Snippets Groups Projects
EmptyValues.cpp 706 B
Newer Older
//------------------------------------------------------------------------------
// Includes
//------------------------------------------------------------------------------
#include "MantidKernel/EmptyValues.h"
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() { return DBL_MAX / 2; }