The SoFCDocumentAction class is used to inform an SoFCSelection node when a document has been renamed. More...
#include <SoFCSelectionAction.h>
Public Member Functions | |
SoFCDocumentAction (const SoSFString &docName) | |
~SoFCDocumentAction () | |
Static Public Member Functions | |
static void | finish (void) |
static void | initClass () |
The order of the defined SO_ACTION_ADD_METHOD statements is very important. | |
Public Attributes | |
const SoSFString & | documentName |
Protected Member Functions | |
virtual void | beginTraversal (SoNode *node) |
The SoFCDocumentAction class is used to inform an SoFCSelection node when a document has been renamed.
Definition at line 171 of file SoFCSelectionAction.h.
SoFCDocumentAction::SoFCDocumentAction | ( | const SoSFString & | docName | ) |
Definition at line 569 of file SoFCSelectionAction.cpp.
SoFCDocumentAction::~SoFCDocumentAction | ( | ) |
Definition at line 576 of file SoFCSelectionAction.cpp.
void SoFCDocumentAction::beginTraversal | ( | SoNode * | node | ) | [protected, virtual] |
Definition at line 581 of file SoFCSelectionAction.cpp.
void SoFCDocumentAction::finish | ( | void | ) | [static] |
Definition at line 563 of file SoFCSelectionAction.cpp.
void SoFCDocumentAction::initClass | ( | void | ) | [static] |
The order of the defined SO_ACTION_ADD_METHOD statements is very important.
First the base classes and afterwards subclasses of them must be listed, otherwise the registered methods of subclasses will be overridden. For more details see the thread in the Coin3d forum https://www.coin3d.org/pipermail/coin-discuss/2004-May/004346.html. This means that SoSwitch
must be listed after SoGroup
and SoFCSelection
after SoSeparator
because both classes inherits the others.
Definition at line 521 of file SoFCSelectionAction.cpp.
Referenced by Gui::SoFCDB::init().
const SoSFString& Gui::SoFCDocumentAction::documentName |
Definition at line 179 of file SoFCSelectionAction.h.
Referenced by Gui::SoFCSelection::doAction().