api_set_journal_name
List of: Functions
Subjects: ACIS Journal
Contents: Kernel

Action: Sets the snapshot journal file name.

Prototype: outcome api_set_journal_name (


AcisJournal* aj, // acis journal


char* name // journal file name


);


outcome api_set_journal_name (


AcisOptions* ao, // acis options


char* name // journal file name


);

Includes: #include "kernel/acis.hxx"

#include "kernel/kernapi/api/acis_journal.hxx"

#include "kernel/kernapi/api/acis_options.hxx"

#include "kernel/kernapi/api/api.hxx"

Description: Sets the file name for the snapshot journal. The extension name is not needed.

Limitations: If a name other than AcisJour is set, then the new name would be used always. In this case, instead of serializing the output name (AcisJour_x,scm, x = 0...n), it would create always the same file (e.g. My_name.scm). This can be really useful because it will not create a large number of files if the journal is implemented in a function that is called many times and it is desired to keep only the last call (e.g. when an error occurs).

Library: kernel

Filename: kern/kernel/kernapi/api/acis_journal.hxx

Effect: System routine
PDF/KERN/16FNA.PDF
HTM/DATA/KERN/KERN/16FNA/0154.HTM