Coin  4.0.3
Coin3D core library
Loading...
Searching...
No Matches
ScXMLObject Class Referenceabstract

Base class for all SCXML objects. More...

#include <Inventor/scxml/ScXMLObject.h>

Inheritance diagram for ScXMLObject:
ScXMLDataObj ScXMLDocument ScXMLElt ScXMLEvaluator ScXMLEvent ScXMLEventTarget ScXMLConstantDataObj ScXMLExprDataObj ScXMLXMLDataObj ScXMLAbstractStateElt ScXMLAnchorElt ScXMLContentElt ScXMLDataElt ScXMLDataModelElt ScXMLExecutableElt ScXMLFinalizeElt ScXMLHistoryElt ScXMLInitialElt ScXMLOnEntryElt ScXMLOnExitElt ScXMLParamElt ScXMLScxmlElt ScXMLTransitionElt ScXMLCoinEvaluator ScXMLECMAScriptEvaluator ScXMLMinimumEvaluator ScXMLXPathEvaluator SoScXMLEvent ScXMLStateMachine SoScXMLNavigationTarget

Public Member Functions

virtual SoType getTypeId (void) const =0
 Returns the type identification of an object derived from a class inheriting SoBase. This is used for runtime type checking and "downward" casting.
 
SbBool isOfType (SoType type) const
 Returns TRUE if the type of this object is either of the same type or inherited from type.
 

Static Public Member Functions

static void cleanClass (void)
 Does the opposite of initClass, deallocates any class specific resources and resets the class to an uninitialized state with respect to the Coin type system.
 
static SoType getClassTypeId (void)
 This static method returns the SoType object associated with objects of this class.
 
static void initClass (void)
 Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system.
 

Static Protected Member Functions

static void registerClassType (const char *xmlns, const char *classname, SoType type)
 
static void registerInvokeClassType (const char *xmlns, const char *targettype, const char *source, SoType type)
 

Detailed Description

Base class for all SCXML objects.

Since
Coin 3.0

Member Function Documentation

◆ getClassTypeId()

SoType ScXMLObject::getClassTypeId ( void )
static

This static method returns the SoType object associated with objects of this class.

See also
SoBase::getClassTypeId

◆ getTypeId()

ScXMLObject::getTypeId ( void ) const
pure virtual

Returns the type identification of an object derived from a class inheriting SoBase. This is used for runtime type checking and "downward" casting.

See also
SoBase::getTypeId() const

Implemented in SoScXMLDollyTarget, SoScXMLFlightControlTarget, SoScXMLMiscTarget, SoScXMLMotionTarget, SoScXMLPanTarget, SoScXMLRotateTarget, SoScXMLSeekTarget, SoScXMLSpinTarget, SoScXMLZoomTarget, ScXMLAnchorElt, ScXMLAssignElt, ScXMLCoinEvaluator, ScXMLCoinEqualsOpExprDataObj, ScXMLCoinAddOpExprDataObj, ScXMLCoinSubtractOpExprDataObj, ScXMLCoinMultiplyOpExprDataObj, ScXMLCoinDivideOpExprDataObj, ScXMLCoinLengthFuncExprDataObj, ScXMLContentElt, ScXMLDataElt, ScXMLDataModelElt, ScXMLDocument, ScXMLECMAScriptEvaluator, ScXMLElseElt, ScXMLElseIfElt, ScXMLStringDataObj, ScXMLRealDataObj, ScXMLBoolDataObj, ScXMLSbDataObj, ScXMLXMLDataObj, ScXMLReferenceDataObj, ScXMLAndOpExprDataObj, ScXMLOrOpExprDataObj, ScXMLNotOpExprDataObj, ScXMLEqualsOpExprDataObj, ScXMLAddOpExprDataObj, ScXMLSubtractOpExprDataObj, ScXMLMultiplyOpExprDataObj, ScXMLDivideOpExprDataObj, ScXMLNegateOpExprDataObj, ScXMLEvent, ScXMLEventElt, ScXMLFinalElt, ScXMLFinalizeElt, ScXMLHistoryElt, ScXMLIfElt, ScXMLInitialElt, ScXMLInvokeElt, ScXMLLogElt, ScXMLMinimumEvaluator, ScXMLInExprDataObj, ScXMLAppendOpExprDataObj, ScXMLOnEntryElt, ScXMLOnExitElt, ScXMLParallelElt, ScXMLParamElt, ScXMLScriptElt, ScXMLScxmlElt, ScXMLSendElt, ScXMLStateElt, ScXMLStateMachine, ScXMLTransitionElt, ScXMLValidateElt, ScXMLXPathEvaluator, SoScXMLEvent, SoScXMLStateMachine, SoScXMLNavigationTarget, ScXMLAbstractStateElt, ScXMLElt, ScXMLEvaluator, ScXMLDataObj, ScXMLConstantDataObj, ScXMLExprDataObj, ScXMLEventTarget, ScXMLExecutableElt, and ScXMLMinimumExprDataObj.

◆ initClass()

void ScXMLObject::initClass ( void )
static

Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system.

See also
SoBase::initClass()

◆ isOfType()

SbBool ScXMLObject::isOfType ( SoType type) const

Returns TRUE if the type of this object is either of the same type or inherited from type.

See also
SoBase::isOfType(SoType type) const

◆ registerClassType()

void ScXMLObject::registerClassType ( const char * xmlns,
const char * classname,
SoType type )
staticprotected

Internal method. Friendly forwarding for ScXMLObject subclasses.

◆ registerInvokeClassType()

void ScXMLObject::registerInvokeClassType ( const char * xmlns,
const char * targettype,
const char * source,
SoType type )
staticprotected

Internal method. Friendly forwarding for ScXMLObject subclasses.


The documentation for this class was generated from the following files: