Inventor/elements/SoOverrideElement.h File Reference

#include <Inventor/elements/SoSubElement.h>
#include <Inventor/STL/bitset>

Go to the source code of this file.

Classes

class  SoOverrideElement
 Stores a flag for each type of element which can be overridden. More...
class  SoOverrideElement::BitSetGetter
class  SoOverrideElement::BitSetSetter

Defines

#define SO_GET_OVERRIDE(flag)
#define SO_SET_OVERRIDE(flag)

Define Documentation

#define SO_GET_OVERRIDE ( flag   ) 
Value:
const SoOverrideElement *elt;                                       \
  elt = SoElement::getConstElement<SoOverrideElement>(state);         \
  return (elt->m_flags.test(flag));
#define SO_SET_OVERRIDE ( flag   ) 
Value:
SoOverrideElement   *elt;                                         \
  elt = SoElement::getElement<SoOverrideElement>(state);            \
  if (override)                                                     \
    elt->m_flags.set(flag);                                         \
  else                                                              \
    elt->m_flags.reset(flag);

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/