53#ifndef _SO_FIELD_DATA_
54#define _SO_FIELD_DATA_
56#include <Inventor/misc/SoBasic.h>
57#include <Inventor/SbPList.h>
58#include <Inventor/SbString.h>
88 SoFieldData(
const SoFieldData &);
89 SoFieldData(
const SoFieldData *);
92 SoFieldData(
int numFields) : fields(numFields) {}
101 const char *fieldName,
109 SbBool copyConnections)
const;
112 int getNumFields()
const {
return fields.
getLength(); }
115 const SbName & getFieldName(
int index)
const;
132 void addEnumValue(
const char *typeName,
133 const char *valName,
int val);
134 void getEnumData(
char *typeName,
int &num,
135 int *&vals,
SbName *&names);
136 void getEnumValueName(
char *typeName,
int val,
SbName *&name);
146 SbBool errorOnUnknownField,
147 SbBool ¬BuiltIn)
const;
165 void copy(
const SoFieldData *from);
187 SbBool readFieldDescriptions(
189 int numDescriptionsExpected)
const;
192 void writeFieldDescriptions(
200 int numFieldsWritten)
const;
226 SoEnumEntry(
const SbName &name);
227 SoEnumEntry(
const SoEnumEntry &o);
Character string stored in a hash table.
List of generic (void *) pointers.
int getLength() const
Returns number of pointers in list.
Class for smart character strings.
Abstract base class for objects that contain fields.
Base class for all fields.
Used to write Open Inventor data files.