ITK Function Reference

(V10000.1.0.60_20160308.00)
Macros
tc_macros.h File Reference
#include <tc/tc_startup.h>
#include <tc/emh.h>
#include <itk/mem.h>
#include <fclasses/tc_stdarg.h>
#include <fclasses/tc_string.h>

Go to the source code of this file.

Macros

#define DATE_IS_NULL(d1)
 
#define ITKCALL(argument)
 
#define ITKCHECK(x)
 
#define STRCPY(a, b)   tc_strcpy(a, b)
 
#define STRLEN(a)   tc_strlen(a)
 
#define STRNCPY(a, b, s)   tc_strncpy(a, b, s)
 

Detailed Description

Include file to define macros used in Teamcenter

Definition in file tc_macros.h.

Macro Definition Documentation

#define ITKCHECK (   x)
Value:
{ \
if ( retCode == ITK_ok ) \
{ \
if ( ( retCode = (x)) != ITK_ok ) \
{ \
char *errstring = NULL; \
EMH_ask_error_text ( retCode, &errstring ); \
lprintf ( "+++ Error %d: %s\n", retCode , errstring ); \
if ( errstring != NULL ) SM_free ( errstring ); \
lprintf ( "Function %s: Line %d in %s\n ", #x, __LINE__, __FILE__); \
} \
} \
}

Definition at line 69 of file tc_macros.h.