1 #ifndef COIN_SOMFIELD_H 2 #define COIN_SOMFIELD_H 36 #include <Inventor/fields/SoField.h> 48 static void atexit_cleanup(
void);
50 int getNum(
void)
const;
51 void setNum(
const int num);
53 virtual void deleteValues(
int start,
int num = -1);
54 virtual void insertSpace(
int start,
int num);
56 SbBool set1(
const int index,
const char *
const valuestring);
57 void get1(
const int index,
SbString & valuestring);
61 virtual void enableDeleteValues(
void);
62 virtual SbBool isDeleteValuesEnabled(
void)
const;
66 virtual void makeRoom(
int newnum);
68 #ifndef DOXYGEN_SKIP_THIS // Internal methods. 69 virtual int fieldSizeof(
void)
const = 0;
70 virtual void * valuesPtr(
void) = 0;
71 virtual void setValuesPtr(
void * ptr) = 0;
72 virtual void allocValues(
int num);
73 #endif // DOXYGEN_SKIP_THIS 77 void setChangedIndex(
const int chgidx);
78 void setChangedIndices(
const int chgidx = -1,
const int numchgind = 0);
85 virtual void deleteAllValues(
void) = 0;
86 virtual void copyValue(
int to,
int from) = 0;
88 virtual SbBool read1Value(
SoInput * in,
int idx) = 0;
90 virtual void write1Value(
SoOutput * out,
int idx)
const = 0;
91 virtual SbBool readBinaryValues(
SoInput * in,
int num);
92 virtual void writeBinaryValues(
SoOutput * out)
const;
93 virtual int getNumValuesPerLine(
void)
const;
96 int changedIndex, numChangedIndices;
108 #endif // !COIN_SOMFIELD_H The SoBase class is the top-level superclass for a number of class-hierarchies.
Definition: SoBase.h:45
virtual SbBool readValue(SoInput *in)=0
The SoOutput class is an abstraction of an output stream.
Definition: SoOutput.h:51
The SoNotRec class specifies records for notification lists.
Definition: SoNotRec.h:42
The SoField class is the top-level abstract base class for fields.
Definition: SoField.h:47
The SoMField class is the base class for fields which can contain multiple values.
Definition: SoMField.h:41
int num
Definition: SoMField.h:80
static SoType getClassTypeId(void)
Definition: SoField.cpp:724
virtual void writeValue(SoOutput *out) const =0
void evaluate(void) const
Definition: SoField.h:140
int maxNum
Definition: SoMField.h:81
static void initClass(void)
Definition: SoField.cpp:627
The SbString class is a string class with convenience functions for string operations.
Definition: SbString.h:52
The SoType class is the basis for the run-time type system in Coin.
Definition: SoType.h:59
SbBool userDataIsUsed
Definition: SoMField.h:82
int getNum(void) const
Definition: SoMField.h:102