103 #define MAXLABLINE 300 105 #define MINAMESIZE 20 109 extern int pds_finish_label;
115 #define indentf(X) for (i=0 ; i < X ; i++) stmt[len++] = ' ' 141 if (base_node == NULL)
158 old_node = base_node->
parent;
166 if (node != base_node && node->
parent == old_node)
186 while (node->
parent != old_node)
196 sprintf (&stmt[len],
"%-*s = %s\n\n",
203 sprintf (&stmt[len],
"%-*s = %s\n\n",
235 sprintf (&stmt[len],
"%-*s = %s\n",
253 sprintf (&stmt[len],
"%-*s = %s\n",
267 while (parameter != NULL)
271 if (parameter->
comment != NULL)
289 nl = strlen (parameter->
name);
290 nv = ((nl >
ns)? nl : ns) + 3;
291 vindent = nindent + nv;
303 sprintf (&stmt[len],
"%-*s = ",
313 ip = (parameter->
rows > 0)? parameter->
rows : 1;
315 for (i=0; (i < ip); i++)
363 ncol = vindent + nlv;
422 if (col_count >= parameter->
columns)
454 for (i=0; (i < ip); i++)
485 while (old_node != base_node)
490 sprintf (&stmt[len],
"%-*s = %s\n\n",
501 if (pds_finish_label)
AGGREGATE ParentAggregate(AGGREGATE base_node)
if((msg=H5E_create_msg(cls, H5E_MAJOR, "Dataset"))==NULL) if((H5E_DATASET_g
int ODLFormatString(char stmt[], VALUE_DATA *item, int *column, int left_margin, int right_margin, int format_flag, int is_pointer)
PARAMETER FirstParameter()
int ODLFormatSymbol(char *stmt, VALUE_DATA *item)
int ODLFormatDateTime(char *stmt, VALUE_DATA *item)
int ODLFormatDate(char *stmt, VALUE_DATA *item)
int ODLFormatReal(char *stmt, VALUE_DATA *item)
int ODLFormatInteger(char stmt[], VALUE_DATA *item)
struct Aggregate_Node * parent
int ODLFormatTime(char *stmt, VALUE_DATA *item)
void WriteLabel(FILE *output_file, AGGREGATE base_node)
PARAMETER NextParameter()
int ODLFormatComment(char *stmt, char *comment, int left_margin, int right_margin)
AGGREGATE NextSubAggregate(AGGREGATE base_node, AGGREGATE start_node)