2005-11-18 01:15:24 +01:00
* * * include / X3DTK / private / X3DAbstractNode . h . orig Fri Aug 27 13 : 18 : 33 2004
2006-12-21 20:33:08 +01:00
- - - include / X3DTK / private / X3DAbstractNode . h Sat Dec 16 15 : 42 : 01 2006
2005-11-18 01:15:24 +01:00
* * * * * * * * * * * * * * *
2006-12-21 20:33:08 +01:00
* * * 102 , 108 * * * *
inline void defineTypeName ( const SFString & name , const SFString & component = SFString ( " " ) , const SFString & sceneGraph = SFString ( " " ) ) { defineTempTypeName ( this , name , component , sceneGraph ) ; } ;
/// Method to avoid defineTypeName having a template parameter.
template < class T >
! inline void defineTempTypeName ( T * t , const SFString & name , const SFString & component , const SFString & sceneGraph ) { define ( Recorder < T > : : getTypeName ( name , component , sceneGraph ) ) ; } ;
/// Defines an attribute.
template < class T , class V >
inline void defineAttribute ( const SFString & name , V T : : * member , const V & init ) ;
- - - 102 , 108 - - - -
inline void defineTypeName ( const SFString & name , const SFString & component = SFString ( " " ) , const SFString & sceneGraph = SFString ( " " ) ) { defineTempTypeName ( this , name , component , sceneGraph ) ; } ;
/// Method to avoid defineTypeName having a template parameter.
template < class T >
! inline void defineTempTypeName ( T * /* t */ , const SFString & name , const SFString & component , const SFString & sceneGraph ) { define ( Recorder < T > : : getTypeName ( name , component , sceneGraph ) ) ; } ;
/// Defines an attribute.
template < class T , class V >
inline void defineAttribute ( const SFString & name , V T : : * member , const V & init ) ;
* * * * * * * * * * * * * * *
* * * 132 , 137 * * * *
- - - 132 , 147 - - - -
/// Removes a parent.
2005-11-18 01:15:24 +01:00
bool removeParent ( const SFNode & N ) ;
} ;
2006-12-21 20:33:08 +01:00
+
2005-11-18 01:15:24 +01:00
+ inline void X3DAbstractNode_addParentToChild ( SFNode parent , SFNode child ) {
+ X3DAbstractNode : : addParentToChild ( parent , child ) ;
+ }
+ inline void X3DAbstractNode_removeParentFromChild ( SFNode parent , SFNode child ) {
+ X3DAbstractNode : : removeParentFromChild ( parent , child ) ;
+ }
+ inline SFType * X3DAbstractNode_getType ( X3DAbstractNode * node ) {
+ return node - > getType ( ) ;
+ }
2006-12-21 20:33:08 +01:00
2005-11-18 01:15:24 +01:00
}