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);
52 static void initClass(
void);
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 toplevel superclass for nodekits.
Definition: SoBaseKit.h:66
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:555
The SoSeparator class is a state-preserving group node.
Definition: SoSeparator.h:44
The SoType class is the basis for the run-time type system in Coin.
Definition: SoType.h:59