1 #ifndef COIN_SOMFIELD_H 2 #define COIN_SOMFIELD_H 27 #include <Inventor/fields/SoField.h> 39 static void atexit_cleanup(
void);
41 int getNum(
void)
const;
42 void setNum(
const int num);
44 virtual void deleteValues(
int start,
int num = -1);
45 virtual void insertSpace(
int start,
int num);
47 SbBool set1(
const int index,
const char *
const valuestring);
48 void get1(
const int index,
SbString & valuestring);
52 virtual void enableDeleteValues(
void);
53 virtual SbBool isDeleteValuesEnabled(
void)
const;
57 virtual void makeRoom(
int newnum);
59 #ifndef DOXYGEN_SKIP_THIS // Internal methods. 60 virtual int fieldSizeof(
void)
const = 0;
61 virtual void * valuesPtr(
void) = 0;
62 virtual void setValuesPtr(
void * ptr) = 0;
63 virtual void allocValues(
int num);
64 #endif // DOXYGEN_SKIP_THIS 71 virtual void deleteAllValues(
void) = 0;
72 virtual void copyValue(
int to,
int from) = 0;
74 virtual SbBool read1Value(
SoInput * in,
int idx) = 0;
76 virtual void write1Value(
SoOutput * out,
int idx)
const = 0;
77 virtual SbBool readBinaryValues(
SoInput * in,
int num);
78 virtual void writeBinaryValues(
SoOutput * out)
const;
79 virtual int getNumValuesPerLine(
void)
const;
93 #endif // !COIN_SOMFIELD_H virtual SbBool readValue(SoInput *in)=0
The SoOutput class is an abstraction of an output stream.SoOutput offers the ability to write basic t...
Definition: SoOutput.h:42
The SoField class is the top-level abstract base class for fields.Fields is the mechanism used throug...
Definition: SoField.h:38
The SoMField class is the base class for fields which can contain multiple values....
Definition: SoMField.h:32
int num
Definition: SoMField.h:66
static SoType getClassTypeId(void)
Definition: SoField.cpp:705
virtual void writeValue(SoOutput *out) const =0
void evaluate(void) const
Definition: SoField.h:131
int maxNum
Definition: SoMField.h:67
static void initClass(void)
Definition: SoField.cpp:612
The SbString class is a string class with convenience functions for string operations....
Definition: SbString.h:42
The SoType class is the basis for the run-time type system in Coin.Many of the classes in the Coin li...
Definition: SoType.h:50
SbBool userDataIsUsed
Definition: SoMField.h:68
int getNum(void) const
Definition: SoMField.h:87