12 #ifndef __CH_Group_h__
13 #define __CH_Group_h__
77 void setName(
const char *
name);
85 bool isRoot()
const {
return myIsInTree && myParent==NULL; }
87 int getTotalEntries()
const;
90 void displayInfo(
int indent = 0)
const;
94 void changeIndex(
int new_index );
100 bool isEventualParentOf(
CH_Group *other );
101 int findIndex(
CH_Group *subgroup );
105 bool strictContains(
const CH_Channel *chp)
const;
114 bool use_alias=
false)
const;
129 void changeReferencesToNodeId(
int old_id,
int new_id);
130 void removeChannelsWithNodeId(
int node_id);
137 unsigned getScopeFlags(
unsigned flags );
138 void dirtyScopeFlags(
unsigned flags );
139 void dirtySubtreeScopeFlags(
unsigned flags );
142 bool updateScopeFlags(
unsigned flags );
143 void dirtyAllScopeFlags();
150 void removeMeFromMyParent();
152 bool removeGroupInternal(
CH_Group *sub_group);
163 const char *
pattern,
bool minimal );
165 const char *new_name=0 );
166 bool getGroupsFromChannels(
169 void propagateInTreeFlag();
173 void save(std::ostream &os,
int binary)
const;
181 unsigned myIsInTree: 1;
static char getGroupChar()
GLboolean GLboolean GLboolean b
const GLuint GLenum const void * binary
const UT_ValArray< CH_Group * > & getSubGroups()
GLuint const GLchar * name
CH_Group * getParentGroup()
GLsizei GLsizei GLchar * source
GLboolean GLboolean GLboolean GLboolean a
bool OIIO_API contains(string_view a, string_view b)
Does 'a' contain the string 'b' within it?
const UT_String & getName() const
GLenum GLsizei GLenum GLenum const void * table
ImageBuf OIIO_API channels(const ImageBuf &src, int nchannels, cspan< int > channelorder, cspan< float > channelvalues={}, cspan< std::string > newchannelnames={}, bool shuffle_channel_names=false, int nthreads=0)