14 #ifndef __GA_Group_h__
15 #define __GA_Group_h__
43 virtual const GA_Detail &getDetail()
const = 0;
72 virtual int64 getMemoryUsage(
bool inclusive)
const = 0;
82 bool inclusive)
const = 0;
84 virtual GA_Size entries()
const = 0;
89 return entries() == 0;
91 virtual void clear() = 0;
92 virtual void addAll() = 0;
93 virtual bool isOrdered()
const = 0;
94 virtual bool isMixed()
const = 0;
96 virtual bool combine(
const GA_Group * input_group);
111 virtual bool jsonShouldSave(
const GA_SaveMap &map)
const;
164 bool jsonSaveDefinition(
UT_JSONWriter &
w,
const char *type)
const;
180 void dump(std::ostream &os);
192 unsigned myInternal:1,
static GA_GroupType groupType(const char *type)
Used to pass options and map offset values during saving.
virtual bool setName(const UT_StringHolder &n)
GA_GroupMaskType classMaskType() const
GA_API const char * GAgroupType(GA_GroupType owner)
Lookup the owner name from the owner type.
SYS_FORCE_INLINE bool isEmpty() const
JSON reader class which handles parsing of JSON or bJSON files.
Class which writes ASCII or binary JSON streams.
exint GA_Size
Defines the bit width for index and offset types in GA.
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
void setInternal(bool on_off)
bool isElementGroup() const
GLuint const GLchar * name
const UT_StringHolder & getName() const
GA_GroupType classType() const
UT_UniquePtr< GA_Group > GA_GroupUPtr
GA_GroupType
An ordinal enum for the different types of groups in GA.
static const char * groupType(GA_GroupType type)
Container class for all geometry.
GLubyte GLubyte GLubyte GLubyte w
UT_UniquePtr< const GA_Group > GA_ConstGroupUPtr