当前位置: 首页>>代码示例>>C++>>正文


C++ step::RefPtr类代码示例

本文整理汇总了C++中step::RefPtr的典型用法代码示例。如果您正苦于以下问题:C++ RefPtr类的具体用法?C++ RefPtr怎么用?C++ RefPtr使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了RefPtr类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: copy

void IfcFace::copy(const IfcFace &obj, const CopyOp &copyop) {
    Step::Set< Step::RefPtr< IfcFaceBound >, 1 >::const_iterator it_m_bounds;
    IfcTopologicalRepresentationItem::copy(obj, copyop);
    for (it_m_bounds = obj.m_bounds.begin(); it_m_bounds != obj.m_bounds.end(); ++it_m_bounds) {
        Step::RefPtr< IfcFaceBound > copyTarget = (IfcFaceBound *) (copyop((*it_m_bounds).get()));
        m_bounds.insert(copyTarget.get());
    }
    return;
}
开发者ID:whztt07,项目名称:ifc2x3-SDK,代码行数:9,代码来源:IfcFace.cpp

示例2: copy

void IfcFaceBasedSurfaceModel::copy(const IfcFaceBasedSurfaceModel &obj, const CopyOp &copyop) {
    Step::Set< Step::RefPtr< IfcConnectedFaceSet >, 1 >::const_iterator it_m_fbsmFaces;
    IfcGeometricRepresentationItem::copy(obj, copyop);
    for (it_m_fbsmFaces = obj.m_fbsmFaces.begin(); it_m_fbsmFaces != obj.m_fbsmFaces.end(); ++it_m_fbsmFaces) {
        Step::RefPtr< IfcConnectedFaceSet > copyTarget = (IfcConnectedFaceSet *) (copyop((*it_m_fbsmFaces).get()));
        m_fbsmFaces.insert(copyTarget.get());
    }
    return;
}
开发者ID:whztt07,项目名称:ifc2x3-SDK,代码行数:9,代码来源:IfcFaceBasedSurfaceModel.cpp

示例3: copy

void IfcIrregularTimeSeries::copy(const IfcIrregularTimeSeries &obj, const CopyOp &copyop) {
    Step::List< Step::RefPtr< IfcIrregularTimeSeriesValue >, 1 >::const_iterator it_m_values;
    IfcTimeSeries::copy(obj, copyop);
    for (it_m_values = obj.m_values.begin(); it_m_values != obj.m_values.end(); ++it_m_values) {
        Step::RefPtr< IfcIrregularTimeSeriesValue > copyTarget = (IfcIrregularTimeSeriesValue *) (copyop((*it_m_values).get()));
        m_values.push_back(copyTarget.get());
    }
    return;
}
开发者ID:gitter-badger,项目名称:ifc2x3-SDK,代码行数:9,代码来源:IfcIrregularTimeSeries.cpp

示例4: copy

void IfcPropertySet::copy(const IfcPropertySet &obj, const CopyOp &copyop) {
    Step::Set< Step::RefPtr< IfcProperty >, 1 >::const_iterator it_m_hasProperties;
    IfcPropertySetDefinition::copy(obj, copyop);
    for (it_m_hasProperties = obj.m_hasProperties.begin(); it_m_hasProperties != obj.m_hasProperties.end(); ++it_m_hasProperties) {
        Step::RefPtr< IfcProperty > copyTarget = (IfcProperty *) (copyop((*it_m_hasProperties).get()));
        m_hasProperties.insert(copyTarget.get());
    }
    return;
}
开发者ID:whztt07,项目名称:ifc2x3-SDK,代码行数:9,代码来源:IfcPropertySet.cpp

示例5: copy

void IfcConnectedFaceSet::copy(const IfcConnectedFaceSet &obj, const CopyOp &copyop) {
    Step::Set< Step::RefPtr< IfcFace >, 1 >::const_iterator it_m_cfsFaces;
    IfcTopologicalRepresentationItem::copy(obj, copyop);
    for (it_m_cfsFaces = obj.m_cfsFaces.begin(); it_m_cfsFaces != obj.m_cfsFaces.end(); ++it_m_cfsFaces) {
        Step::RefPtr< IfcFace > copyTarget = (IfcFace *) (copyop((*it_m_cfsFaces).get()));
        m_cfsFaces.insert(copyTarget.get());
    }
    return;
}
开发者ID:whztt07,项目名称:ifc2x3-SDK,代码行数:9,代码来源:IfcConnectedFaceSet.cpp

示例6: copy

void IfcPolyLoop::copy(const IfcPolyLoop &obj, const CopyOp &copyop) {
    Step::List< Step::RefPtr< IfcCartesianPoint >, 3 >::const_iterator it_m_polygon;
    IfcLoop::copy(obj, copyop);
    for (it_m_polygon = obj.m_polygon.begin(); it_m_polygon != obj.m_polygon.end(); ++it_m_polygon) {
        Step::RefPtr< IfcCartesianPoint > copyTarget = (IfcCartesianPoint *) (copyop((*it_m_polygon).get()));
        m_polygon.push_back(copyTarget.get());
    }
    return;
}
开发者ID:gitter-badger,项目名称:ifc2x3-SDK,代码行数:9,代码来源:IfcPolyLoop.cpp

示例7: copy

void IfcEdgeLoop::copy(const IfcEdgeLoop &obj, const CopyOp &copyop) {
    Step::List< Step::RefPtr< IfcOrientedEdge >, 1 >::const_iterator it_m_edgeList;
    IfcLoop::copy(obj, copyop);
    for (it_m_edgeList = obj.m_edgeList.begin(); it_m_edgeList != obj.m_edgeList.end(); ++it_m_edgeList) {
        Step::RefPtr< IfcOrientedEdge > copyTarget = (IfcOrientedEdge *) (copyop((*it_m_edgeList).get()));
        m_edgeList.push_back(copyTarget.get());
    }
    return;
}
开发者ID:cstb,项目名称:ifc-sdk,代码行数:9,代码来源:IfcEdgeLoop.cpp

示例8: copy

void IfcTextureMap::copy(const IfcTextureMap &obj, const CopyOp &copyop) {
    Step::Set< Step::RefPtr< IfcVertexBasedTextureMap >, 1 >::const_iterator it_m_textureMaps;
    IfcTextureCoordinate::copy(obj, copyop);
    for (it_m_textureMaps = obj.m_textureMaps.begin(); it_m_textureMaps != obj.m_textureMaps.end(); ++it_m_textureMaps) {
        Step::RefPtr< IfcVertexBasedTextureMap > copyTarget = (IfcVertexBasedTextureMap *) (copyop((*it_m_textureMaps).get()));
        m_textureMaps.insert(copyTarget.get());
    }
    return;
}
开发者ID:whztt07,项目名称:ifc2x3-SDK,代码行数:9,代码来源:IfcTextureMap.cpp

示例9: copy

void IfcSurfaceStyleWithTextures::copy(const IfcSurfaceStyleWithTextures &obj, const CopyOp &copyop) {
    Step::List< Step::RefPtr< IfcSurfaceTexture >, 1 >::const_iterator it_m_textures;
    Step::BaseEntity::copy(obj, copyop);
    for (it_m_textures = obj.m_textures.begin(); it_m_textures != obj.m_textures.end(); ++it_m_textures) {
        Step::RefPtr< IfcSurfaceTexture > copyTarget = (IfcSurfaceTexture *) (copyop((*it_m_textures).get()));
        m_textures.push_back(copyTarget.get());
    }
    return;
}
开发者ID:cstb,项目名称:ifc-sdk,代码行数:9,代码来源:IfcSurfaceStyleWithTextures.cpp

示例10: copy

void IfcPath::copy(const IfcPath &obj, const CopyOp &copyop) {
    Step::List< Step::RefPtr< IfcOrientedEdge >, 1 >::const_iterator it_m_edgeList;
    IfcTopologicalRepresentationItem::copy(obj, copyop);
    for (it_m_edgeList = obj.m_edgeList.begin(); it_m_edgeList != obj.m_edgeList.end(); ++it_m_edgeList) {
        Step::RefPtr< IfcOrientedEdge > copyTarget = (IfcOrientedEdge *) (copyop((*it_m_edgeList).get()));
        m_edgeList.push_back(copyTarget.get());
    }
    return;
}
开发者ID:cstb,项目名称:ifc-sdk,代码行数:9,代码来源:IfcPath.cpp

示例11: copy

void IfcRelDefines::copy(const IfcRelDefines &obj, const CopyOp &copyop) {
    Step::Set< Step::RefPtr< IfcObject >, 1 >::const_iterator it_m_relatedObjects;
    IfcRelationship::copy(obj, copyop);
    for (it_m_relatedObjects = obj.m_relatedObjects.begin(); it_m_relatedObjects != obj.m_relatedObjects.end(); ++it_m_relatedObjects) {
        Step::RefPtr< IfcObject > copyTarget = (IfcObject *) (copyop((*it_m_relatedObjects).get()));
        m_relatedObjects.insert(copyTarget.get());
    }
    return;
}
开发者ID:gitter-badger,项目名称:ifc2x3-SDK,代码行数:9,代码来源:IfcRelDefines.cpp

示例12: copy

void IfcCompositeCurve::copy(const IfcCompositeCurve &obj, const CopyOp &copyop) {
    Step::List< Step::RefPtr< IfcCompositeCurveSegment >, 1 >::const_iterator it_m_segments;
    IfcBoundedCurve::copy(obj, copyop);
    for (it_m_segments = obj.m_segments.begin(); it_m_segments != obj.m_segments.end(); ++it_m_segments) {
        Step::RefPtr< IfcCompositeCurveSegment > copyTarget = (IfcCompositeCurveSegment *) (copyop((*it_m_segments).get()));
        m_segments.push_back(copyTarget.get());
    }
    setSelfIntersect(obj.m_selfIntersect);
    return;
}
开发者ID:whztt07,项目名称:ifc2x3-SDK,代码行数:10,代码来源:IfcCompositeCurve.cpp

示例13: copy

void IfcTable::copy(const IfcTable &obj, const CopyOp &copyop) {
    Step::List< Step::RefPtr< IfcTableRow >, 1 >::const_iterator it_m_rows;
    Step::BaseEntity::copy(obj, copyop);
    setName(obj.m_name);
    for (it_m_rows = obj.m_rows.begin(); it_m_rows != obj.m_rows.end(); ++it_m_rows) {
        Step::RefPtr< IfcTableRow > copyTarget = (IfcTableRow *) (copyop((*it_m_rows).get()));
        m_rows.push_back(copyTarget.get());
    }
    return;
}
开发者ID:cstb,项目名称:ifc-sdk,代码行数:10,代码来源:IfcTable.cpp

示例14: copy

void IfcLightIntensityDistribution::copy(const IfcLightIntensityDistribution &obj, const CopyOp &copyop) {
    Step::List< Step::RefPtr< IfcLightDistributionData >, 1 >::const_iterator it_m_distributionData;
    Step::BaseEntity::copy(obj, copyop);
    setLightDistributionCurve(obj.m_lightDistributionCurve);
    for (it_m_distributionData = obj.m_distributionData.begin(); it_m_distributionData != obj.m_distributionData.end(); ++it_m_distributionData) {
        Step::RefPtr< IfcLightDistributionData > copyTarget = (IfcLightDistributionData *) (copyop((*it_m_distributionData).get()));
        m_distributionData.push_back(copyTarget.get());
    }
    return;
}
开发者ID:cstb,项目名称:ifc-sdk,代码行数:10,代码来源:IfcLightIntensityDistribution.cpp

示例15: copy

void IfcShellBasedSurfaceModel::copy(const IfcShellBasedSurfaceModel &obj, const CopyOp &copyop) {
    Step::Set< Step::RefPtr< IfcShell >, 1 >::const_iterator it_m_sbsmBoundary;
    IfcGeometricRepresentationItem::copy(obj, copyop);
    for (it_m_sbsmBoundary = obj.m_sbsmBoundary.begin(); it_m_sbsmBoundary != obj.m_sbsmBoundary.end(); ++it_m_sbsmBoundary) {
        Step::RefPtr< IfcShell > copyTarget = new IfcShell;
        copyTarget->copy(*((*it_m_sbsmBoundary).get()), copyop);
        m_sbsmBoundary.insert(copyTarget.get());
    }
    return;
}
开发者ID:gitter-badger,项目名称:ifc2x3-SDK,代码行数:10,代码来源:IfcShellBasedSurfaceModel.cpp


注:本文中的step::RefPtr类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。