Download EnSight Interface Manual

Transcript
3.2 USERD_writer_get_name
/*--------------------------------------------------------------------*/
USERD_writer_get_name
/*--------------------------------------------------------------------*/
/*
*/
/*
Gets the name of the writer, so gui can list as a writer
*/
/*
*/
/* (OUT) writer_name
= the name of the writer (data format) */
/*
(max length is Z_MAX_USERD_NAME, which */
/*
is 20)
*/
/*
*/
/* (OUT) *two_fields
= FALSE if only one data field is
*/
/*
required.
*/
/*
TRUE if two data fields required
*/
/*
*/
/* returns: Z_OK if successful
*/
/*
Z_ERR if not successful
*/
/*
*/
/* Notes:
*/
/* * Always called. Provide a name for your custom writer format
*/
/*
*/
/* * If you don’t want a custom writer to show up in the data dialog */
/*
choices, return a name of “No Custom”
*/
/*--------------------------------------------------------------------*/
int
USERD_writer_get_name(char writer_name[Z_MAX_USERD_NAME],
int *two_fields)
3-8
EnSight Interface Manual