Add couple missing IfcParse_EXPORTs + add a missing license information

This commit is contained in:
Stinkfist0
2016-05-30 17:12:53 +03:00
parent 53fadd9808
commit 42acc7224c
5 changed files with 27 additions and 6 deletions
+2 -2
View File
@@ -40,7 +40,7 @@ typedef unsigned int UChar32;
namespace IfcParse {
class IfcCharacterDecoder {
class IfcParse_EXPORT IfcCharacterDecoder {
private:
IfcParse::IfcSpfStream* file;
#ifdef HAVE_ICU
@@ -75,7 +75,7 @@ namespace IfcParse {
namespace IfcWrite {
class IfcCharacterEncoder {
class IfcParse_EXPORT IfcCharacterEncoder {
private:
std::string str;
#ifdef HAVE_ICU
+2 -2
View File
@@ -39,7 +39,7 @@
namespace IfcUtil {
class IfcEnumerationDescriptor {
class IfcParse_EXPORT IfcEnumerationDescriptor {
private:
IfcSchema::Type::Enum type;
std::vector<std::string> values;
@@ -62,7 +62,7 @@ namespace IfcUtil {
}
};
class IfcEntityDescriptor {
class IfcParse_EXPORT IfcEntityDescriptor {
public:
class IfcArgumentDescriptor
{
+3 -1
View File
@@ -20,11 +20,13 @@
#ifndef IFCEXCEPTION_H
#define IFCEXCEPTION_H
#include "IfcParse_Export.h"
#include <exception>
#include <string>
namespace IfcParse {
class IfcException : public std::exception {
class IfcParse_EXPORT IfcException : public std::exception {
private:
std::string message;
public:
+19
View File
@@ -1,3 +1,22 @@
/********************************************************************************
* *
* This file is part of IfcOpenShell. *
* *
* IfcOpenShell is free software: you can redistribute it and/or modify *
* it under the terms of the Lesser GNU General Public License as published by *
* the Free Software Foundation, either version 3.0 of the License, or *
* (at your option) any later version. *
* *
* IfcOpenShell is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* Lesser GNU General Public License for more details. *
* *
* You should have received a copy of the Lesser GNU General Public License *
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
* *
********************************************************************************/
#ifndef IfcParse_EXPORT_H
#define IfcParse_EXPORT_H
+1 -1
View File
@@ -146,7 +146,7 @@ namespace IfcWrite {
// Accumulates all schema instances created from constructors
// This way they can be added in a single batch to the IfcFile
class EntityBuffer {
class IfcParse_EXPORT EntityBuffer {
private:
IfcEntityList::ptr buffer;
static EntityBuffer* i;