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.SoBase provides the ba...
Definition: SoBase.h:45
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: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.Fields is the mechanism used throug...
Definition: SoField.h:47
The SoMField class is the base class for fields which can contain multiple values.All field types which may contain more than one member value inherits this class. SoMField is an abstract class.
Definition: SoMField.h:41
int num
Definition: SoMField.h:80
static SoType getClassTypeId(void)
Definition: SoField.cpp:723
virtual void writeValue(SoOutput *out) const =0
int maxNum
Definition: SoMField.h:81
virtual SoNotRec createNotRec(SoBase *cont)
Definition: SoField.cpp:2569
void evaluate(void) const
Definition: SoField.h:140
int getNum(void) const
Definition: SoMField.h:102
static void initClass(void)
Definition: SoField.cpp:626
The SbString class is a string class with convenience functions for string operations.This is the class used for storing and working with character strings. It automatically takes care of supporting all the "bookkeeping" tasks usually associated with working with character strings, like memory allocation and deallocation etc.
Definition: SbString.h:52
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:59
SbBool userDataIsUsed
Definition: SoMField.h:82