-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1565 from NREL/BIMDataHub
Merging pull request from @zhouchong90 and adding IFC import, nice job!
- Loading branch information
Showing
23 changed files
with
1,651 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#ifndef BIMSERVER_I | ||
#define BIMSERVER_I | ||
|
||
#ifdef SWIGPYTHON | ||
%module openstudiobimserver | ||
#endif | ||
|
||
|
||
#define UTILITIES_API | ||
#define BIMSERVER_API | ||
|
||
%include <utilities/core/CommonInclude.i> | ||
%import <utilities/core/CommonImport.i> | ||
%import <utilities/Utilities.i> | ||
%import <model/Model.i> | ||
|
||
%{ | ||
#include <bimserver/ProjectImportation.hpp> | ||
using namespace openstudio::bimserver; | ||
using namespace openstudio; | ||
|
||
#include <model/Model.hpp> | ||
#include <model/ModelObject.hpp> | ||
|
||
%} | ||
|
||
// #ifdef SWIGCSHARP | ||
%rename(BIMserverProjectImportation) openstudio::bimserver::ProjectImportation; | ||
// #endif | ||
|
||
%include bimserver/ProjectImportation.hpp> | ||
|
||
#endif //BIMSERVER_I |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#ifndef BIMSERVER_BIMSERVERAPI_HPP | ||
#define BIMSERVER_BIMSERVERAPI_HPP | ||
|
||
#if _WIN32 || _MSC_VER | ||
|
||
#ifdef openstudio_bimserver_EXPORTS | ||
#define BIMSERVER_API __declspec(dllexport) | ||
#else | ||
#define BIMSERVER_API __declspec(dllimport) | ||
#endif | ||
#else | ||
#define BIMSERVER_API | ||
#endif | ||
|
||
#endif |
Oops, something went wrong.
b567fe4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
develop (macumber) - x86_64-MacOS-10.9-clang: Tests Failed
b567fe4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
develop (macumber) - x86_64-Linux-Ubuntu-14.04-clang-3.5: OK (2102 of 2196 tests passed)
b567fe4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
develop (macumber) - x86_64-Linux-Ubuntu-14.04-cppcheck-1.61: OK (0 of 0 tests passed)
b567fe4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
develop (macumber) - Win64-Windows-7-VisualStudio-12: OK (2175 of 2196 tests passed)
b567fe4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
develop (macumber) - i386-Windows-7-VisualStudio-12: OK (2176 of 2196 tests passed)