- Timestamp:
- 01/16/08 16:07:40 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/Carsten_PtrWork2/Source/System/FileIO/Base/OSGSceneFileHandler.h
r785 r1039 66 66 /*========================== PUBLIC =================================*/ 67 67 68 typedef Node Ptr (*FileIOReadCBF )( SceneFileType *type,69 std::istream &is,70 const Char8 *ext );71 72 typedef bool (*FileIOWriteCBF)( SceneFileType *type,73 const NodePtr &node,74 std::ostream &os,75 const Char8 *ext,76 bool compress);68 typedef NodeTransitPtr (*FileIOReadCBF )( SceneFileType *type, 69 std::istream &is, 70 const Char8 *ext ); 71 72 typedef bool (*FileIOWriteCBF)( SceneFileType *type, 73 const NodePtr &node, 74 std::ostream &os, 75 const Char8 *ext, 76 bool compress); 77 77 78 78 public: 79 79 80 typedef std::vector<FieldContainer Ptr> FCPtrStore;80 typedef std::vector<FieldContainerRefPtr> FCPtrStore; 81 81 82 82 /*---------------------------------------------------------------------*/ … … 113 113 /*! \{ */ 114 114 115 virtual Node Ptrread ( std::istream &is,116 const Char8 *ext,117 GraphOpSeq *graphOpSeq =118 _defaultgraphOpSeq); 119 120 virtual FCPtrStore readTopNodes( std::istream &is,121 const Char8 *ext,122 GraphOpSeq *graphOpSeq =123 _defaultgraphOpSeq); 124 125 virtual Node Ptrread (const Char8 *fileName,126 GraphOpSeq *graphOpSeq =127 _defaultgraphOpSeq); 128 129 virtual FCPtrStore readTopNodes(const Char8 *fileName,130 GraphOpSeq *graphOpSeq =115 virtual NodeTransitPtr read ( std::istream &is, 116 const Char8 *ext, 117 GraphOpSeq *graphOpSeq = 118 _defaultgraphOpSeq); 119 120 virtual FCPtrStore readTopNodes( std::istream &is, 121 const Char8 *ext, 122 GraphOpSeq *graphOpSeq = 123 _defaultgraphOpSeq); 124 125 virtual NodeTransitPtr read (const Char8 *fileName, 126 GraphOpSeq *graphOpSeq = 127 _defaultgraphOpSeq); 128 129 virtual FCPtrStore readTopNodes(const Char8 *fileName, 130 GraphOpSeq *graphOpSeq = 131 131 _defaultgraphOpSeq); 132 132
