Merge master

This commit is contained in:
Thomas Krijnen
2019-05-31 14:33:40 +02:00
2 changed files with 84 additions and 99 deletions
-10
View File
@@ -174,7 +174,6 @@ struct ShapeRTTI : public boost::static_visitor<PyObject*>
%extend IfcGeom::Representation::Triangulation { %extend IfcGeom::Representation::Triangulation {
%pythoncode %{ %pythoncode %{
if _newclass:
# Hide the getters with read-only property implementations # Hide the getters with read-only property implementations
id = property(id) id = property(id)
faces = property(faces) faces = property(faces)
@@ -188,7 +187,6 @@ struct ShapeRTTI : public boost::static_visitor<PyObject*>
// would appear before templated getter functions are defined. // would appear before templated getter functions are defined.
%extend IfcGeom::Representation::Triangulation<float> { %extend IfcGeom::Representation::Triangulation<float> {
%pythoncode %{ %pythoncode %{
if _newclass:
# Hide the getters with read-only property implementations # Hide the getters with read-only property implementations
verts = property(verts) verts = property(verts)
normals = property(normals) normals = property(normals)
@@ -196,7 +194,6 @@ struct ShapeRTTI : public boost::static_visitor<PyObject*>
}; };
%extend IfcGeom::Representation::Triangulation<double> { %extend IfcGeom::Representation::Triangulation<double> {
%pythoncode %{ %pythoncode %{
if _newclass:
# Hide the getters with read-only property implementations # Hide the getters with read-only property implementations
verts = property(verts) verts = property(verts)
normals = property(normals) normals = property(normals)
@@ -205,7 +202,6 @@ struct ShapeRTTI : public boost::static_visitor<PyObject*>
%extend IfcGeom::Representation::Serialization { %extend IfcGeom::Representation::Serialization {
%pythoncode %{ %pythoncode %{
if _newclass:
# Hide the getters with read-only property implementations # Hide the getters with read-only property implementations
id = property(id) id = property(id)
brep_data = property(brep_data) brep_data = property(brep_data)
@@ -220,7 +216,6 @@ struct ShapeRTTI : public boost::static_visitor<PyObject*>
} }
%pythoncode %{ %pythoncode %{
if _newclass:
# Hide the getters with read-only property implementations # Hide the getters with read-only property implementations
id = property(id) id = property(id)
parent_id = property(parent_id) parent_id = property(parent_id)
@@ -237,7 +232,6 @@ struct ShapeRTTI : public boost::static_visitor<PyObject*>
%extend IfcGeom::TriangulationElement { %extend IfcGeom::TriangulationElement {
%pythoncode %{ %pythoncode %{
if _newclass:
# Hide the getters with read-only property implementations # Hide the getters with read-only property implementations
geometry = property(geometry) geometry = property(geometry)
%} %}
@@ -245,7 +239,6 @@ struct ShapeRTTI : public boost::static_visitor<PyObject*>
%extend IfcGeom::SerializedElement { %extend IfcGeom::SerializedElement {
%pythoncode %{ %pythoncode %{
if _newclass:
# Hide the getters with read-only property implementations # Hide the getters with read-only property implementations
geometry = property(geometry) geometry = property(geometry)
%} %}
@@ -253,7 +246,6 @@ struct ShapeRTTI : public boost::static_visitor<PyObject*>
%extend IfcGeom::Material { %extend IfcGeom::Material {
%pythoncode %{ %pythoncode %{
if _newclass:
# Hide the getters with read-only property implementations # Hide the getters with read-only property implementations
has_diffuse = property(hasDiffuse) has_diffuse = property(hasDiffuse)
has_specular = property(hasSpecular) has_specular = property(hasSpecular)
@@ -269,7 +261,6 @@ struct ShapeRTTI : public boost::static_visitor<PyObject*>
%extend IfcGeom::Transformation { %extend IfcGeom::Transformation {
%pythoncode %{ %pythoncode %{
if _newclass:
# Hide the getters with read-only property implementations # Hide the getters with read-only property implementations
matrix = property(matrix) matrix = property(matrix)
%} %}
@@ -277,7 +268,6 @@ struct ShapeRTTI : public boost::static_visitor<PyObject*>
%extend IfcGeom::Matrix { %extend IfcGeom::Matrix {
%pythoncode %{ %pythoncode %{
if _newclass:
# Hide the getters with read-only property implementations # Hide the getters with read-only property implementations
data = property(data) data = property(data)
%} %}
-5
View File
@@ -127,7 +127,6 @@ static IfcUtil::ArgumentType helper_fn_attribute_type(const IfcUtil::IfcBaseClas
} }
%pythoncode %{ %pythoncode %{
if _newclass:
# Hide the getters with read-only property implementations # Hide the getters with read-only property implementations
header = property(header) header = property(header)
schema = property(schema_name) schema = property(schema_name)
@@ -479,7 +478,6 @@ static IfcUtil::ArgumentType helper_fn_attribute_type(const IfcUtil::IfcBaseClas
%extend IfcParse::IfcSpfHeader { %extend IfcParse::IfcSpfHeader {
%pythoncode %{ %pythoncode %{
if _newclass:
# Hide the getters with read-only property implementations # Hide the getters with read-only property implementations
file_description = property(file_description) file_description = property(file_description)
file_name = property(file_name) file_name = property(file_name)
@@ -489,7 +487,6 @@ static IfcUtil::ArgumentType helper_fn_attribute_type(const IfcUtil::IfcBaseClas
%extend IfcParse::FileDescription { %extend IfcParse::FileDescription {
%pythoncode %{ %pythoncode %{
if _newclass:
# Hide the getters with read-write property implementations # Hide the getters with read-write property implementations
__swig_getmethods__["description"] = description __swig_getmethods__["description"] = description
__swig_setmethods__["description"] = description __swig_setmethods__["description"] = description
@@ -502,7 +499,6 @@ static IfcUtil::ArgumentType helper_fn_attribute_type(const IfcUtil::IfcBaseClas
%extend IfcParse::FileName { %extend IfcParse::FileName {
%pythoncode %{ %pythoncode %{
if _newclass:
# Hide the getters with read-write property implementations # Hide the getters with read-write property implementations
__swig_getmethods__["name"] = name __swig_getmethods__["name"] = name
__swig_setmethods__["name"] = name __swig_setmethods__["name"] = name
@@ -530,7 +526,6 @@ static IfcUtil::ArgumentType helper_fn_attribute_type(const IfcUtil::IfcBaseClas
%extend IfcParse::FileSchema { %extend IfcParse::FileSchema {
%pythoncode %{ %pythoncode %{
if _newclass:
# Hide the getters with read-write property implementations # Hide the getters with read-write property implementations
__swig_getmethods__["schema_identifiers"] = schema_identifiers __swig_getmethods__["schema_identifiers"] = schema_identifiers
__swig_setmethods__["schema_identifiers"] = schema_identifiers __swig_setmethods__["schema_identifiers"] = schema_identifiers