@@ -40,6 +40,7 @@ class lazyInstMgr {
4040 lazyFileReaderVec_t _files;
4141
4242 Registry * _headerRegistry, * _mainRegistry;
43+ ErrorDescriptor * _errors;
4344
4445 unsigned long _lazyInstanceCount;
4546 int _longestTypeNameLen;
@@ -49,13 +50,9 @@ class lazyInstMgr {
4950public:
5051 lazyInstMgr ();
5152 void addSchema ( void (*initFn) () ); // ?
52- void openFile ( std::string fname ) {
53- // lazyFileReader adds itself to the file list - good idea or bad?
54- /* _files.push_back( */ new lazyFileReader ( fname, this ) /* )*/ ;
55- }
53+ void openFile ( std::string fname );
5654
5755 void addLazyInstance ( namedLazyInstance inst );
58- void addDataSection ( lazyDataSectionReader* d, lazyFileReader* f ); // /< only used by lazy file reader functions
5956
6057 // / FIXME don't return something that can be modified; also, template references will cause problems on windows
6158 instanceRefMMap_range getReferentInstances ( instanceID id ) {
@@ -87,6 +84,10 @@ class lazyInstMgr {
8784 sectionID registerDataSection ( lazyDataSectionReader * sreader );
8885 fileID registerLazyFile ( lazyFileReader * freader );
8986
87+ ErrorDescriptor * getErrorDesc () {
88+ return _errors;
89+ }
90+
9091 /* TODO impliment these
9192 * void normalizeInstanceIds();
9293 * void eliminateDuplicates();
0 commit comments