GME  13
Defines
AbstractNumericFacetValidator.cpp File Reference

Go to the source code of this file.

Defines

#define REPORT_FACET_ERROR(val1, val2, except_code, manager)
#define FROM_BASE_VALUE_SPACE(val, facetFlag, except_code, manager)

Define Documentation

#define FROM_BASE_VALUE_SPACE (   val,
  facetFlag,
  except_code,
  manager 
)
Value:
if ((thisFacetsDefined & facetFlag) != 0)                   \
{                                                             \
    try                                                       \
{                                                             \
        numBase->checkContent(val->getRawData(), (ValidationContext*)0, false, manager);      \
}                                                             \
    catch ( XMLException& )                                   \
{                                                             \
        ThrowXMLwithMemMgr1(InvalidDatatypeFacetException               \
                , except_code                                 \
                , val->getRawData()                           \
                , manager);                                   \
}                                                             \
}

Definition at line 49 of file AbstractNumericFacetValidator.cpp.

#define REPORT_FACET_ERROR (   val1,
  val2,
  except_code,
  manager 
)
Value:
ThrowXMLwithMemMgr2(InvalidDatatypeFacetException               \
          , except_code                                 \
          , val1->getFormattedString()                  \
          , val2->getFormattedString()                  \
          , manager);

Definition at line 42 of file AbstractNumericFacetValidator.cpp.