138#ifndef HIDDEN_FROM_DOC
146 int getNum()
const { evaluate();
return num; }
199 SoNONUNICODE
SbBool set1(
int index,
const char *valueString);
226 static void initClass();
227 static void exitClass();
229 static void *createInstance(
SoType* dynamicType = NULL);
232 int getChangedStartIndex();
233 int getChangedNumValues();
234 int getChangedType();
236 void valueChanged(
int start = -1,
int numValues = -1,
SbBool resetDefault =
TRUE);
242 virtual void write1Value(
SoOutput *out,
int index)
const = 0;
244 virtual void writeBinaryValues(
SoOutput*,
int ,
int )
const;
246 virtual void* getValuesPointer(
int ) {
return NULL; }
253 virtual void makeRoom(
int newNum);
256 void resetChangedStatus();
257 int changedStartIndex;
258 int changedNumValues;
261 static SoType classTypeId;
265 virtual void allocValues(
int num) = 0;
268 virtual void deleteAllValues() = 0;
271 virtual void copyValue(
int to,
int from) = 0;
277 virtual void writeValue(
SoOutput *out)
const;
283 virtual void writeBinaryValues(
SoOutput *out)
const;
286 virtual int getNumValuesPerLine()
const;
#define TRUE
Possible value of SbBool.
Class for smart character strings.
Base class for all fields.
Base class for all multiple-valued fields.
int getNum() const
Returns the number of values currently in the field.
void get1(int index, SbString &valueString)
This is equivalent to the get() method of SoField, but operates on only one value.
virtual void insertSpace(int start, int num)
Inserts space for num values at index start .
void setNum(int num)
Forces this field to have exactly num values, inserting or deleting values as necessary.
static SoType getClassTypeId()
Return the type identifier for this field class.
SoNONUNICODE SbBool set1(int index, const char *valueString)
This is equivalent to the set() method of SoField, but operates on only one value.
SbBool set1(int index, const SbString &valueString)
This is equivalent to the set() method of SoField, but operates on only one value.
virtual void deleteValues(int start, int num=-1)
Deletes num values beginning at index start (index start through start + num -1 will be del...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Handle memory bu...
Used to write Open Inventor data files.
Stores runtime type information.