add windows dll import/export macros to cllazyfile
This commit is contained in:
parent
6e8cad223e
commit
5288026043
4 changed files with 8 additions and 5 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#ifndef INSTMGRHELPER_H
|
||||
#define INSTMGRHELPER_H
|
||||
|
||||
#include "sc_export.h"
|
||||
#include <lazyInstMgr.h>
|
||||
#include <instmgr.h>
|
||||
|
||||
|
|
@ -14,7 +15,7 @@
|
|||
* This class is used when creating SDAI_Application_instance's and using a lazyInstMgr. It is returned
|
||||
* by instMgrAdapter. SDAI_Application_instance only uses the GetSTEPentity function.
|
||||
*/
|
||||
class mgrNodeHelper: public MgrNodeBase {
|
||||
class SC_LAZYFILE_EXPORT mgrNodeHelper: public MgrNodeBase {
|
||||
protected:
|
||||
lazyInstMgr * _lim;
|
||||
instanceID _id;
|
||||
|
|
@ -40,7 +41,7 @@ class mgrNodeHelper: public MgrNodeBase {
|
|||
* when an instance is looked up, this uses lazyInstMgr to load it, and then returns a pointer to it.
|
||||
*/
|
||||
|
||||
class instMgrAdapter: public InstMgrBase {
|
||||
class SC_LAZYFILE_EXPORT instMgrAdapter: public InstMgrBase {
|
||||
protected:
|
||||
mgrNodeHelper _mn;
|
||||
public:
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
* \sa lazyP21DataSectionReader
|
||||
* \sa lazyP28DataSectionReader
|
||||
*/
|
||||
class lazyDataSectionReader: public sectionReader {
|
||||
class SC_LAZYFILE_EXPORT lazyDataSectionReader: public sectionReader {
|
||||
protected:
|
||||
bool _error, _completelyLoaded;
|
||||
std::string _sectionIdentifier;
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@
|
|||
|
||||
#include "Registry.h"
|
||||
#include "sc_memmgr.h"
|
||||
#include "sc_export.h"
|
||||
|
||||
#include "judyLArray.h"
|
||||
#include "judySArray.h"
|
||||
|
|
@ -20,7 +21,7 @@
|
|||
class Registry;
|
||||
class instMgrAdapter;
|
||||
|
||||
class lazyInstMgr {
|
||||
class SC_LAZYFILE_EXPORT lazyInstMgr {
|
||||
protected:
|
||||
/** multimap from instance number to instances that it refers to
|
||||
* \sa instanceRefs_pair
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "sc_export.h"
|
||||
#include "lazyTypes.h"
|
||||
#include "lazyInstMgr.h"
|
||||
#include "ExpDict.h"
|
||||
|
|
@ -53,7 +54,7 @@
|
|||
//TODO what about complex instances? scanning each on disk could be a bitch; should the compositional types be scanned during lazy loading?
|
||||
|
||||
//TODO/FIXME in generated code, store ia data in map and eliminate data members that are currently used. modify accessors to use map.
|
||||
class lazyRefs {
|
||||
class SC_LAZYFILE_EXPORT lazyRefs {
|
||||
public:
|
||||
typedef std::set< instanceID > referentInstances_t;
|
||||
protected:
|
||||
|
|
|
|||
Loading…
Reference in a new issue