1#ifndef COIN_SOFOREIGNFILEKIT_H
2#define COIN_SOFOREIGNFILEKIT_H
36#include <Inventor/SbBasic.h>
38#include <Inventor/nodekits/SoSubKit.h>
39#include <Inventor/nodekits/SoBaseKit.h>
41typedef SbBool SoForeignFileIdentifyFunc(
const char *);
43class SoForeignFileKitP;
49 SO_KIT_CATALOG_ENTRY_HEADER(topSeparator);
54 static SbBool isFileSupported(
SoInput * in, SbBool exhaust = FALSE);
55 static SbBool isFileSupported(
const char * filename, SbBool exhaust = FALSE);
58 static SoForeignFileKit * createForeignFileKit(
const char * filename, SbBool exhaust = FALSE);
61 virtual SbBool canReadFile(
const char * filename = NULL)
const;
62 virtual SbBool readFile(
const char * filename);
64 virtual SbBool canWriteFile(
const char * filename = NULL)
const;
65 virtual SbBool writeFile(
const char * filename);
79 static SbBool registerFileExtension(
SoType handler,
SbName extension, SoForeignFileIdentifyFunc * identify);
82 SoForeignFileKitP * pimpl;
The SbName class stores strings by reference.
Definition SbName.h:40
The SoBaseKit class is the top level superclass for nodekits.
Definition SoBaseKit.h:66
static void initClass(void)
Definition SoBaseKit.cpp:678
Abstract base class for foreign file format support in Coin.
Definition SoForeignFileKit.h:45
virtual class SoSeparator * convert()=0
static void initClasses(void)
Definition SoNode.cpp:604
The SoSeparator class is a state-preserving group node.
Definition SoSeparator.h:44
The SoType class is the basis for the runtime type system in Coin.
Definition SoType.h:59