Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
#include <ilog/macros.h>
#include <ilog/string.h>
[library ilog ilog/calendar.h] IlCalendar class. From IBM ICU classes, adapted for Rogue Wave Views libraries.
Copyright (C) 1997-1999, International Business Machines Corporation and others. All Rights Reserved.
#define IL_DATE_FAILURE | ( | x | ) |
Tests a IlDateErrorCode
value for failure.
#define IL_DATE_SUCCESS | ( | x | ) |
Tests a IlDateErrorCode
value for success.
enum IlDateErrorCode |
Error code to replace exception handling so that the code is compatible with all C++ compilers, and to use the same mechanism for C and C++.
Functions that take a reference (C++) or a pointer (C) to a IlDateErrorCode
first test
if (IL_DATE_FAILURE(errorCode)) { return immediately; }
so that in a chain of such functions the first one that sets an error code causes the following ones to not perform any operations.
Error codes should be tested using IL_DATE_FAILURE()
and IL_DATE_SUCCESS()
.
© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.