- Timestamp:
- 02/27/08 09:30:29 (9 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/Carsten_PtrWork2/Source/System/FileIO/OSB/OSGNFIOBase.cpp
r1039 r1063 78 78 \***************************************************************************/ 79 79 80 NFIOOptions NFIOBase::_options;81 82 NFIOBase::BinaryReadHandler *NFIOBase::_in = NULL;83 NFIOBase::BinaryWriteHandler *NFIOBase::_out = NULL;84 85 //UInt32 NFIOBase::_id = 1;86 NFIOBase::fcMap NFIOBase::_fcMap;87 std::list<NFIOBase::fcInfo> NFIOBase::_fieldList;88 89 std::list<FieldContainer RefPtr> NFIOBase::_fcList;90 std::set<UInt32> NFIOBase::_fcSet;91 //NFIOBase::IdMap NFIOBase::_ids;92 93 UInt16 NFIOBase::_header_version = 0;80 NFIOOptions NFIOBase::_options; 81 82 NFIOBase::BinaryReadHandler *NFIOBase::_in = NULL; 83 NFIOBase::BinaryWriteHandler *NFIOBase::_out = NULL; 84 85 //UInt32 NFIOBase::_id = 1; 86 NFIOBase::fcMap NFIOBase::_fcMap; 87 std::list<NFIOBase::fcInfo> NFIOBase::_fieldList; 88 89 std::list<FieldContainerInternalRefPtr> NFIOBase::_fcList; 90 std::set<UInt32> NFIOBase::_fcSet; 91 //NFIOBase::IdMap NFIOBase::_ids; 92 93 UInt16 NFIOBase::_header_version = 0; 94 94 95 95 /***************************************************************************\ … … 124 124 _in = new BinaryReadHandler(is); 125 125 126 NodeRefPtr node; 127 128 FieldContainerRefPtr fc = readFieldContainer(); 126 NodeInternalRefPtr node; 127 FieldContainerInternalRefPtr fc = readFieldContainer(); 129 128 130 129 node = boost::dynamic_pointer_cast<Node>(fc); … … 232 231 std::string typeName; 233 232 UInt32 id; 234 FieldContainer RefPtr root;235 FieldContainer RefPtr fc;233 FieldContainerInternalRefPtr root; 234 FieldContainerInternalRefPtr fc; 236 235 237 236 // Keep reading field containers until end of file … … 677 676 // Note: list grows in reachability behind the scenes as side-effect of writeFC 678 677 FieldContainerPtr lfc; 679 for(std::list<FieldContainer RefPtr>::iterator i = _fcList.begin();678 for(std::list<FieldContainerInternalRefPtr>::iterator i = _fcList.begin(); 680 679 i != _fcList.end(); ++i) 681 680 { … … 890 889 { 891 890 _fcSet.insert(id); 892 _fcList.push_back(FieldContainer RefPtr(fc));891 _fcList.push_back(FieldContainerInternalRefPtr(fc)); 893 892 } 894 893 }
