| 
    H3D API
    2.4.1
    
   | 
 
Class used as the private data in field JSObject classes. More...
#include <H3D/SpiderMonkeyTypes.h>
Public Member Functions | |
| PointerPrivateData (PointerType *_ptr, bool _internal_pointer, int _array_index=-1) | |
| Constructor.  More... | |
| ~PointerPrivateData () | |
| Destructor.  | |
| PointerType * | getPointer () | 
| Get the pointer the JSObject encapsulates.  | |
| bool | isDisposed () | 
| Returns true if this data object has been disposed.  | |
| int | getArrayIndex () | 
| Return the array index (in case we using (MF, index) to represent an SF object Return -1 if it IS an SF object.  | |
| void | dispose () | 
| Dispose the object. Sets the dispose flag to true.  | |
Class used as the private data in field JSObject classes.
      
  | 
  inline | 
Constructor.
| _ptr | A pointer to the class for which this private data should be created. | 
| _internal_pointer | If true, the field will be deleted when the FieldObjectPrivate object is destructed. | 
| _array_index | Index into array if MF object. |