Action:
|
Reads an enumeration table.
|
|
Prototype:
|
int read_enum (
|
|
|
enum_table const& tbl
|
// enumeration table
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "kernel/kernutil/fileio/fileio.hxx"
|
|
#include "baseutil/mmgr/enum_tbl.hxx"
|
|
Description:
|
Read an enumeration table. The <identifier> specifies which enumeration is active and its valid values. The <identifier> is not written to the file. A valid value only is written to the file. This is a character string or a long value from the enumeration <identifier> written with C printf format "%s". For compatibility with older files, accept the integer value, even for interfaces which write the corresponding string.
ActiveFile is a
FileInterface object and does most of the actual work.
|
|
|
return ActiveFile ? ActiveFile->read_enum(tb1) : 0;
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/kernutil/fileio/fileio.hxx
|
|
Effect:
|
Read-only
|