Beispiel #1
0
//컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴
//Procedure		EmitWarning
//Author		Robert Slater
//Date			Mon 1 Apr 1996
//
//Description	
//
//Inputs		
//
//Returns	
//
//------------------------------------------------------------------------------
void	EmitWarning(char *fmt, ...)
{
	va_list	marker;	 //this points to an array of pointers
	va_start(marker, fmt);
	EmitWarning(__LINE__ , marker[0], __FILE__ ,  fmt);

}
static bool ValidateCoordinate(const QString& name, double value)
{
  auto hasValidPrecision = ValidatePrecision(value);
  if (!hasValidPrecision)
    EmitWarning(QString("Point set %1 coordinate is outside double precision range.").arg(name), "Invalid point set input");

  return hasValidPrecision;
}