Added editor dll import/export scheme for MSVC.
* Added SCL_EDITOR_EXPORT flag. * Added SCL_EDITOR_DLL_EXPORTS flag. * Added SCL_CORE_DLL_IMPORTS flag. * Added SCL_DAI_DLL_IMPORTS flag. * Removed double EntityClassName function declarations.
This commit is contained in:
@@ -40,7 +40,13 @@ include_directories(
|
||||
${SCL_SOURCE_DIR}/src/clutils
|
||||
)
|
||||
|
||||
SCL_ADDLIB(stepeditor "${LIBSTEPEDITOR_SRCS}" stepcore)
|
||||
if(MSVC)
|
||||
add_definitions( -DSCL_EDITOR_DLL_EXPORTS )
|
||||
add_definitions( -DSCL_CORE_DLL_IMPORTS )
|
||||
add_definitions( -DSCL_DAI_DLL_IMPORTS )
|
||||
endif(MSVC)
|
||||
|
||||
SCL_ADDLIB(stepeditor "${LIBSTEPEDITOR_SRCS}" stepcore stepdai)
|
||||
|
||||
if(APPLE)
|
||||
set_target_properties(stepeditor PROPERTIES LINK_FLAGS "-flat_namespace -undefined suppress")
|
||||
|
||||
@@ -76,7 +76,11 @@ STEPfile::ReadHeader( istream & in ) {
|
||||
|
||||
InstMgr * im = new InstMgr;
|
||||
SDAI_Application_instance* obj;
|
||||
__attribute__( ( unused ) ) Severity objsev = SEVERITY_NULL;
|
||||
#ifdef __MSVC__
|
||||
Severity objsev = SEVERITY_NULL;
|
||||
#else
|
||||
__attribute__( ( unused ) ) Severity objsev = SEVERITY_NULL;
|
||||
#endif
|
||||
|
||||
int endsec = 0;
|
||||
int userDefined = 0;
|
||||
@@ -2226,7 +2230,11 @@ Severity STEPfile::AppendFile( istream * in, bool useTechCor ) {
|
||||
|
||||
SetFileIdIncrement();
|
||||
int total_insts = 0, valid_insts = 0;
|
||||
#ifdef __MSVC__
|
||||
int exchange_file = -1;
|
||||
#else
|
||||
__attribute__( ( unused ) ) int exchange_file = -1;
|
||||
#endif
|
||||
|
||||
ReadTokenSeparator( *in );
|
||||
std::string keywd = GetKeyword( *in, "; #", _error );
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
* and is not subject to copyright.
|
||||
*/
|
||||
|
||||
#include <scl_export.h>
|
||||
#include <instmgr.h>
|
||||
#include <Registry.h>
|
||||
#include <fstream>
|
||||
@@ -35,7 +36,7 @@ enum FileTypeCode {
|
||||
OLD_WORKING_SESSION = 3
|
||||
};
|
||||
|
||||
class STEPfile
|
||||
class SCL_EDITOR_EXPORT STEPfile
|
||||
{
|
||||
protected:
|
||||
//data members
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
// it since your modifications will be lost if fedex_plus is used to
|
||||
// regenerate it.
|
||||
|
||||
#include <scl_export.h>
|
||||
#include <sdai.h>
|
||||
#include <Registry.h>
|
||||
#include <STEPaggregate.h>
|
||||
@@ -12,10 +13,10 @@
|
||||
|
||||
///////// ENTITY section_language
|
||||
|
||||
extern AttrDescriptor *a_0section;
|
||||
extern AttrDescriptor *a_1default_language;
|
||||
extern SCL_EDITOR_EXPORT AttrDescriptor *a_0section;
|
||||
extern SCL_EDITOR_EXPORT AttrDescriptor *a_1default_language;
|
||||
|
||||
class SdaiSection_language : public SDAI_Application_instance {
|
||||
class SCL_EDITOR_EXPORT SdaiSection_language : public SDAI_Application_instance {
|
||||
protected:
|
||||
SDAI_String _section ; // OPTIONAL
|
||||
SDAI_String _default_language ;
|
||||
@@ -43,11 +44,11 @@ create_SdaiSection_language () { return new SdaiSection_language ; }
|
||||
|
||||
///////// ENTITY file_population
|
||||
|
||||
extern AttrDescriptor *a_2governing_schema;
|
||||
extern AttrDescriptor *a_3determination_method;
|
||||
extern AttrDescriptor *a_4governed_sections;
|
||||
extern SCL_EDITOR_EXPORT AttrDescriptor *a_2governing_schema;
|
||||
extern SCL_EDITOR_EXPORT AttrDescriptor *a_3determination_method;
|
||||
extern SCL_EDITOR_EXPORT AttrDescriptor *a_4governed_sections;
|
||||
|
||||
class SdaiFile_population : public SDAI_Application_instance {
|
||||
class SCL_EDITOR_EXPORT SdaiFile_population : public SDAI_Application_instance {
|
||||
protected:
|
||||
SDAI_String _governing_schema ;
|
||||
SDAI_String _determination_method ;
|
||||
@@ -88,7 +89,7 @@ extern AttrDescriptor *a_9preprocessor_version;
|
||||
extern AttrDescriptor *a_10originating_system;
|
||||
extern AttrDescriptor *a_11authorization;
|
||||
|
||||
class SdaiFile_name : public SDAI_Application_instance {
|
||||
class SCL_EDITOR_EXPORT SdaiFile_name : public SDAI_Application_instance {
|
||||
protected:
|
||||
SDAI_String _name ;
|
||||
SDAI_String _time_stamp ;
|
||||
@@ -136,10 +137,10 @@ create_SdaiFile_name () { return new SdaiFile_name ; }
|
||||
|
||||
///////// ENTITY section_context
|
||||
|
||||
extern AttrDescriptor *a_12section;
|
||||
extern AttrDescriptor *a_13context_identifiers;
|
||||
extern SCL_EDITOR_EXPORT AttrDescriptor *a_12section;
|
||||
extern SCL_EDITOR_EXPORT AttrDescriptor *a_13context_identifiers;
|
||||
|
||||
class SdaiSection_context : public SDAI_Application_instance {
|
||||
class SCL_EDITOR_EXPORT SdaiSection_context : public SDAI_Application_instance {
|
||||
protected:
|
||||
SDAI_String _section ; // OPTIONAL
|
||||
StringAggregate _context_identifiers ; // of context_name
|
||||
@@ -168,10 +169,10 @@ create_SdaiSection_context () { return new SdaiSection_context ; }
|
||||
|
||||
///////// ENTITY file_description
|
||||
|
||||
extern AttrDescriptor *a_14description;
|
||||
extern AttrDescriptor *a_15implementation_level;
|
||||
extern SCL_EDITOR_EXPORT AttrDescriptor *a_14description;
|
||||
extern SCL_EDITOR_EXPORT AttrDescriptor *a_15implementation_level;
|
||||
|
||||
class SdaiFile_description : public SDAI_Application_instance {
|
||||
class SCL_EDITOR_EXPORT SdaiFile_description : public SDAI_Application_instance {
|
||||
protected:
|
||||
StringAggregate _description ;
|
||||
SDAI_String _implementation_level ;
|
||||
@@ -199,9 +200,9 @@ create_SdaiFile_description () { return new SdaiFile_description ; }
|
||||
|
||||
///////// ENTITY file_schema
|
||||
|
||||
extern AttrDescriptor *a_16schema_identifiers;
|
||||
extern SCL_EDITOR_EXPORT AttrDescriptor *a_16schema_identifiers;
|
||||
|
||||
class SdaiFile_schema : public SDAI_Application_instance {
|
||||
class SCL_EDITOR_EXPORT SdaiFile_schema : public SDAI_Application_instance {
|
||||
protected:
|
||||
StringAggregate _schema_identifiers ; // of schema_name
|
||||
|
||||
@@ -226,7 +227,7 @@ create_SdaiFile_schema () { return new SdaiFile_schema ; }
|
||||
|
||||
// ***** generate Model related pieces
|
||||
|
||||
class SdaiModel_contents_header_section_schema : public SDAI_Model_contents {
|
||||
class SCL_EDITOR_EXPORT SdaiModel_contents_header_section_schema : public SDAI_Model_contents {
|
||||
|
||||
public:
|
||||
SdaiModel_contents_header_section_schema();
|
||||
@@ -248,5 +249,5 @@ class SdaiModel_contents_header_section_schema : public SDAI_Model_contents {
|
||||
|
||||
typedef SdaiModel_contents_header_section_schema * SdaiModel_contents_header_section_schema_ptr;
|
||||
typedef SdaiModel_contents_header_section_schema_ptr SdaiModel_contents_header_section_schema_var;
|
||||
SDAI_Model_contents_ptr create_SdaiModel_contents_header_section_schema();
|
||||
SCL_EDITOR_EXPORT SDAI_Model_contents_ptr create_SdaiModel_contents_header_section_schema();
|
||||
#endif
|
||||
|
||||
@@ -4,22 +4,24 @@
|
||||
// it since your modifications will be lost if fedex_plus is used to
|
||||
// regenerate it.
|
||||
|
||||
#include <scl_export.h>
|
||||
|
||||
// Schema: SdaiHEADER_SECTION_SCHEMA
|
||||
extern Schema * s_header_section_schema;
|
||||
extern SCL_EDITOR_EXPORT Schema * s_header_section_schema;
|
||||
|
||||
// Types:
|
||||
typedef SDAI_String SdaiTime_stamp_text;
|
||||
extern TypeDescriptor *header_section_schemat_time_stamp_text;
|
||||
extern SCL_EDITOR_EXPORT TypeDescriptor *header_section_schemat_time_stamp_text;
|
||||
typedef SDAI_String SdaiSection_name;
|
||||
extern TypeDescriptor *header_section_schemat_section_name;
|
||||
extern SCL_EDITOR_EXPORT TypeDescriptor *header_section_schemat_section_name;
|
||||
typedef SDAI_String SdaiContext_name;
|
||||
extern TypeDescriptor *header_section_schemat_context_name;
|
||||
extern SCL_EDITOR_EXPORT TypeDescriptor *header_section_schemat_context_name;
|
||||
typedef SDAI_String SdaiSchema_name;
|
||||
extern TypeDescriptor *header_section_schemat_schema_name;
|
||||
extern SCL_EDITOR_EXPORT TypeDescriptor *header_section_schemat_schema_name;
|
||||
typedef SDAI_String SdaiLanguage_name;
|
||||
extern TypeDescriptor *header_section_schemat_language_name;
|
||||
extern SCL_EDITOR_EXPORT TypeDescriptor *header_section_schemat_language_name;
|
||||
typedef SDAI_String SdaiExchange_structure_identifier;
|
||||
extern TypeDescriptor *header_section_schemat_exchange_structure_identifier;
|
||||
extern SCL_EDITOR_EXPORT TypeDescriptor *header_section_schemat_exchange_structure_identifier;
|
||||
|
||||
// Entities:
|
||||
class SdaiSection_language;
|
||||
@@ -28,7 +30,7 @@ typedef SdaiSection_language * SdaiSection_language_ptr;
|
||||
typedef SdaiSection_language_ptr SdaiSection_language_var;
|
||||
#define SdaiSection_language__set SDAI_DAObject__set
|
||||
#define SdaiSection_language__set_var SDAI_DAObject__set_var
|
||||
extern EntityDescriptor *header_section_schemae_section_language;
|
||||
extern SCL_EDITOR_EXPORT EntityDescriptor *header_section_schemae_section_language;
|
||||
|
||||
class SdaiFile_population;
|
||||
typedef SdaiFile_population * SdaiFile_populationH;
|
||||
@@ -36,7 +38,7 @@ typedef SdaiFile_population * SdaiFile_population_ptr;
|
||||
typedef SdaiFile_population_ptr SdaiFile_population_var;
|
||||
#define SdaiFile_population__set SDAI_DAObject__set
|
||||
#define SdaiFile_population__set_var SDAI_DAObject__set_var
|
||||
extern EntityDescriptor *header_section_schemae_file_population;
|
||||
extern SCL_EDITOR_EXPORT EntityDescriptor *header_section_schemae_file_population;
|
||||
|
||||
class SdaiFile_name;
|
||||
typedef SdaiFile_name * SdaiFile_nameH;
|
||||
@@ -44,7 +46,7 @@ typedef SdaiFile_name * SdaiFile_name_ptr;
|
||||
typedef SdaiFile_name_ptr SdaiFile_name_var;
|
||||
#define SdaiFile_name__set SDAI_DAObject__set
|
||||
#define SdaiFile_name__set_var SDAI_DAObject__set_var
|
||||
extern EntityDescriptor *header_section_schemae_file_name;
|
||||
extern SCL_EDITOR_EXPORT EntityDescriptor *header_section_schemae_file_name;
|
||||
|
||||
class SdaiSection_context;
|
||||
typedef SdaiSection_context * SdaiSection_contextH;
|
||||
@@ -52,7 +54,7 @@ typedef SdaiSection_context * SdaiSection_context_ptr;
|
||||
typedef SdaiSection_context_ptr SdaiSection_context_var;
|
||||
#define SdaiSection_context__set SDAI_DAObject__set
|
||||
#define SdaiSection_context__set_var SDAI_DAObject__set_var
|
||||
extern EntityDescriptor *header_section_schemae_section_context;
|
||||
extern SCL_EDITOR_EXPORT EntityDescriptor *header_section_schemae_section_context;
|
||||
|
||||
class SdaiFile_description;
|
||||
typedef SdaiFile_description * SdaiFile_descriptionH;
|
||||
@@ -60,7 +62,7 @@ typedef SdaiFile_description * SdaiFile_description_ptr;
|
||||
typedef SdaiFile_description_ptr SdaiFile_description_var;
|
||||
#define SdaiFile_description__set SDAI_DAObject__set
|
||||
#define SdaiFile_description__set_var SDAI_DAObject__set_var
|
||||
extern EntityDescriptor *header_section_schemae_file_description;
|
||||
extern SCL_EDITOR_EXPORT EntityDescriptor *header_section_schemae_file_description;
|
||||
|
||||
class SdaiFile_schema;
|
||||
typedef SdaiFile_schema * SdaiFile_schemaH;
|
||||
@@ -68,6 +70,6 @@ typedef SdaiFile_schema * SdaiFile_schema_ptr;
|
||||
typedef SdaiFile_schema_ptr SdaiFile_schema_var;
|
||||
#define SdaiFile_schema__set SDAI_DAObject__set
|
||||
#define SdaiFile_schema__set_var SDAI_DAObject__set_var
|
||||
extern EntityDescriptor *header_section_schemae_file_schema;
|
||||
extern SCL_EDITOR_EXPORT EntityDescriptor *header_section_schemae_file_schema;
|
||||
|
||||
#endif
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#include <scl_export.h>
|
||||
#include <sdai.h>
|
||||
#include <Registry.h>
|
||||
#include <STEPaggregate.h>
|
||||
@@ -19,8 +20,8 @@
|
||||
#include <SdaiHeaderSchemaClasses.h>
|
||||
#include <SdaiHeaderSchema.h>
|
||||
|
||||
void HeaderSchemaInit (Registry &);
|
||||
void HeaderInitSchemasAndEnts (Registry &);
|
||||
void SdaiHEADER_SECTION_SCHEMAInit (Registry & r);
|
||||
SCL_EDITOR_EXPORT void HeaderSchemaInit (Registry &);
|
||||
SCL_EDITOR_EXPORT void HeaderInitSchemasAndEnts (Registry &);
|
||||
SCL_EDITOR_EXPORT void SdaiHEADER_SECTION_SCHEMAInit (Registry & r);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
* and is not subject to copyright.
|
||||
*/
|
||||
|
||||
|
||||
#include <scl_export.h>
|
||||
#include <gennode.h>
|
||||
#include <gennodelist.h>
|
||||
#include <gennodearray.h>
|
||||
@@ -77,7 +77,7 @@
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
class ReplicateLinkNode : public SingleLinkNode {
|
||||
class SCL_EDITOR_EXPORT ReplicateLinkNode : public SingleLinkNode {
|
||||
private:
|
||||
protected:
|
||||
MgrNode * _repNode;
|
||||
@@ -91,7 +91,7 @@ class ReplicateLinkNode : public SingleLinkNode {
|
||||
void ReplicateNode(MgrNode *rn) { _repNode = rn; }
|
||||
};
|
||||
|
||||
class ReplicateList : public SingleLinkList {
|
||||
class SCL_EDITOR_EXPORT ReplicateList : public SingleLinkList {
|
||||
private:
|
||||
protected:
|
||||
public:
|
||||
@@ -118,7 +118,7 @@ class ReplicateList : public SingleLinkList {
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
class CmdMgr
|
||||
class SCL_EDITOR_EXPORT CmdMgr
|
||||
{
|
||||
protected:
|
||||
MgrNodeList *completeList;
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
|
||||
/* $Id: dispnode.h,v 3.0.1.2 1997/11/05 22:11:39 sauderd DP3.1 $ */
|
||||
|
||||
#include <scl_export.h>
|
||||
#ifdef __O3DB__
|
||||
#include <OpenOODB.h>
|
||||
#endif
|
||||
@@ -34,7 +35,7 @@ class MgrNode;
|
||||
// class DisplayNode
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
class DisplayNode : public GenericNode
|
||||
class SCL_EDITOR_EXPORT DisplayNode : public GenericNode
|
||||
{
|
||||
protected:
|
||||
friend class GenNodeList;
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
|
||||
/* $Id: dispnodelist.h,v 3.0.1.2 1997/11/05 22:11:40 sauderd DP3.1 $ */
|
||||
|
||||
#include <scl_export.h>
|
||||
#ifdef __O3DB__
|
||||
#include <OpenOODB.h>
|
||||
#endif
|
||||
@@ -31,7 +32,7 @@
|
||||
// This will be used to represent the display state lists.
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
class DisplayNodeList : public GenNodeList
|
||||
class SCL_EDITOR_EXPORT DisplayNodeList : public GenNodeList
|
||||
{
|
||||
public:
|
||||
DisplayNodeList(displayStateEnum type);
|
||||
|
||||
@@ -20,8 +20,7 @@
|
||||
// start a new undo list and delete the old undo list.
|
||||
/////////////////////
|
||||
|
||||
|
||||
extern char * EntityClassName ( char *);
|
||||
#include <scl_export.h>
|
||||
|
||||
// IT IS VERY IMPORTANT THAT THE ORDER OF THE FOLLOWING INCLUDE FILES
|
||||
// BE PRESERVED
|
||||
@@ -38,7 +37,7 @@ extern char * EntityClassName ( char *);
|
||||
|
||||
#include <mgrnodearray.h>
|
||||
|
||||
class InstMgr
|
||||
class SCL_EDITOR_EXPORT InstMgr
|
||||
{
|
||||
protected:
|
||||
int maxFileId;
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
|
||||
/* $Id: mgrnode.h,v 3.0.1.4 1997/11/05 22:11:37 sauderd DP3.1 $ */
|
||||
|
||||
#include <scl_export.h>
|
||||
#ifdef __O3DB__
|
||||
#include <OpenOODB.h>
|
||||
#endif
|
||||
@@ -37,7 +38,7 @@ class InstMgr;
|
||||
// the DisplayNode, and removes itself from any list it is in.
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
class MgrNode : public GenericNode
|
||||
class SCL_EDITOR_EXPORT MgrNode : public GenericNode
|
||||
{
|
||||
friend class GenNodeList;
|
||||
friend class MgrNodeList;
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
|
||||
/* $Id: mgrnodearray.h,v 3.0.1.3 1997/11/05 22:11:38 sauderd DP3.1 $ */
|
||||
|
||||
#include <scl_export.h>
|
||||
#ifdef __O3DB__
|
||||
#include <OpenOODB.h>
|
||||
#endif
|
||||
@@ -40,7 +41,7 @@
|
||||
// If you delete this object it deletes all of the entries it points to.
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
class MgrNodeArray : public GenNodeArray
|
||||
class SCL_EDITOR_EXPORT MgrNodeArray : public GenNodeArray
|
||||
{
|
||||
public:
|
||||
MgrNodeArray(int defaultSize = ARRAY_DEFAULT_SIZE);
|
||||
@@ -69,7 +70,7 @@ public:
|
||||
// If you delete this object it won't delete the entries it points to.
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
class MgrNodeArraySorted : public GenNodeArray {
|
||||
class SCL_EDITOR_EXPORT MgrNodeArraySorted : public GenNodeArray {
|
||||
public:
|
||||
MgrNodeArraySorted(int defaultSize = ARRAY_DEFAULT_SIZE);
|
||||
~MgrNodeArraySorted() { }
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
|
||||
/* $Id: mgrnodelist.h,v 3.0.1.2 1997/11/05 22:11:38 sauderd DP3.1 $ */
|
||||
|
||||
#include <scl_export.h>
|
||||
#ifdef __O3DB__
|
||||
#include <OpenOODB.h>
|
||||
#endif
|
||||
@@ -31,7 +32,7 @@
|
||||
|
||||
class MgrNode;
|
||||
|
||||
class MgrNodeList : public GenNodeList
|
||||
class SCL_EDITOR_EXPORT MgrNodeList : public GenNodeList
|
||||
{
|
||||
public:
|
||||
MgrNodeList(stateEnum type);
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include <scl_export.h>
|
||||
#ifdef __O3DB__
|
||||
#include <OpenOODB.h>
|
||||
#endif
|
||||
@@ -5,7 +6,7 @@
|
||||
// define this to be the name of the display window object for
|
||||
// STEP entity instance editing or define your own.
|
||||
|
||||
class StepEntityEditor
|
||||
class SCL_EDITOR_EXPORT StepEntityEditor
|
||||
{
|
||||
public:
|
||||
StepEntityEditor() {};
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
// this is a default seeinfo that does nothing... thus it is not
|
||||
// dependent on a user interface toolkit
|
||||
|
||||
#include <scl_export.h>
|
||||
#ifdef __O3DB__
|
||||
#include <OpenOODB.h>
|
||||
#endif
|
||||
@@ -27,7 +28,7 @@ class DisplayNodelist;
|
||||
|
||||
#include <editordefines.h>
|
||||
|
||||
class seeInfo : public DisplayNode
|
||||
class SCL_EDITOR_EXPORT seeInfo : public DisplayNode
|
||||
{
|
||||
public:
|
||||
seeInfo(MgrNode *node,
|
||||
|
||||
@@ -38,13 +38,6 @@ if(MINGW)
|
||||
endif(MINGW)
|
||||
|
||||
if(MSVC)
|
||||
set(LIBDEPEND_SRCS
|
||||
${SCL_SOURCE_DIR}/src/cleditor/instmgr.cc
|
||||
${SCL_SOURCE_DIR}/src/cleditor/mgrnode.cc
|
||||
${SCL_SOURCE_DIR}/src/cleditor/dispnode.cc
|
||||
${SCL_SOURCE_DIR}/src/cleditor/mgrnodearray.cc
|
||||
${SCL_SOURCE_DIR}/src/cleditor/needFunc.cc
|
||||
)
|
||||
add_definitions( -DSCL_CORE_DLL_EXPORTS )
|
||||
add_definitions( -DSCL_EXPRESS_DLL_IMPORTS )
|
||||
add_definitions( -DSCL_UTILS_DLL_IMPORTS )
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
typedef struct Hash_Table * HashTable;
|
||||
|
||||
class Registry;
|
||||
extern char * EntityClassName ( char *);
|
||||
typedef void (* CF_init) (Registry &); // pointer to creation initialization
|
||||
|
||||
class SCL_CORE_EXPORT Registry {
|
||||
|
||||
@@ -623,7 +623,7 @@ SDAI_Application_instance * ReadEntityRef( istream & in, ErrorDescriptor * err,
|
||||
SDAI_Application_instance* inst;
|
||||
/* If there is a ManagerNode it should have a SDAI_Application_instance */
|
||||
MgrNode * mn = 0;
|
||||
mn = instances->FindFileId( id );
|
||||
//mn = instances->FindFileId( id );
|
||||
if( mn ) {
|
||||
inst = mn->GetSTEPentity() ;
|
||||
if( inst ) {
|
||||
@@ -790,7 +790,7 @@ Severity EntityValidLevel( const char * attrValue, // string contain entity ref
|
||||
err->AppendToDetailMsg( messageBuf );
|
||||
err->GreaterSeverity( SEVERITY_WARNING );
|
||||
}
|
||||
mn = im->FindFileId( fileId );
|
||||
//mn = im->FindFileId( fileId );
|
||||
if( mn ) {
|
||||
SDAI_Application_instance *se = mn->GetSTEPentity();
|
||||
return EntityValidLevel( se, ed, err );
|
||||
|
||||
@@ -75,4 +75,4 @@ if(APPLE)
|
||||
set_target_properties(express PROPERTIES LINK_FLAGS "-flat_namespace -undefined suppress")
|
||||
endif(APPLE)
|
||||
|
||||
SCL_ADDEXEC("check-express" "${CHECK_EXPRESS_SOURCES}" express)
|
||||
# SCL_ADDEXEC("check-express" "${CHECK_EXPRESS_SOURCES}" express)
|
||||
|
||||
Reference in New Issue
Block a user