11 #ifndef __GA_AIFStringTuple__
12 #define __GA_AIFStringTuple__
38 virtual int getTupleSize(
const GA_Attribute *attrib)
const = 0;
45 int tuple_index=0)
const = 0;
54 const char *
string,
int tuple_index)
const = 0;
57 const char *
string,
int tuple_index)
const;
61 const char **strings,
int count,
65 const char **strings,
int count,
78 if (length <= getTupleSize(attrib))
80 return setTupleSize(attrib, length);
85 if (length >= getTupleSize(attrib))
87 return setTupleSize(attrib, length);
103 virtual int arrayAppendUniqueString(
GA_Attribute *attrib,
114 virtual int arrayGetMaxLength(
const GA_Attribute *attrib,
119 virtual const char *arrayGetString(
const GA_Attribute *attrib,
Definition of a geometry attribute.
GLuint GLsizei GLsizei * length
virtual bool arrayReserve(GA_Attribute *attrib, int length) const
Reserve space in the array.
A range of elements in an index-map.
virtual bool arrayTruncate(GA_Attribute *attrib, int length) const
Truncate the array to the given entries.
GLsizei const GLchar *const * strings
Generic Attribute Interface class to work with string indices directly, rather than string values...