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


C++ RefPtr::copy方法代码示例

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


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

示例1: copy

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

示例2: 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

示例3: copy

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

示例4: copy

void IfcConstructionMaterialResource::copy(const IfcConstructionMaterialResource &obj, const CopyOp &copyop) {
    Step::Set< Step::RefPtr< IfcActorSelect >, 1 >::const_iterator it_m_suppliers;
    IfcConstructionResource::copy(obj, copyop);
    for (it_m_suppliers = obj.m_suppliers.begin(); it_m_suppliers != obj.m_suppliers.end(); ++it_m_suppliers) {
        Step::RefPtr< IfcActorSelect > copyTarget = new IfcActorSelect;
        copyTarget->copy(*((*it_m_suppliers).get()), copyop);
        m_suppliers.insert(copyTarget.get());
    }
    setUsageRatio(obj.m_usageRatio);
    return;
}
开发者ID:whztt07,项目名称:ifc2x3-SDK,代码行数:11,代码来源:IfcConstructionMaterialResource.cpp

示例5: copy

void IfcSurfaceStyle::copy(const IfcSurfaceStyle &obj, const CopyOp &copyop) {
    Step::Set< Step::RefPtr< IfcSurfaceStyleElementSelect >, 1, 5 >::const_iterator it_m_styles;
    IfcPresentationStyle::copy(obj, copyop);
    setSide(obj.m_side);
    for (it_m_styles = obj.m_styles.begin(); it_m_styles != obj.m_styles.end(); ++it_m_styles) {
        Step::RefPtr< IfcSurfaceStyleElementSelect > copyTarget = new IfcSurfaceStyleElementSelect;
        copyTarget->copy(*((*it_m_styles).get()), copyop);
        m_styles.insert(copyTarget.get());
    }
    return;
}
开发者ID:whztt07,项目名称:ifc2x3-SDK,代码行数:11,代码来源:IfcSurfaceStyle.cpp

示例6: copy

void IfcConstraintClassificationRelationship::copy(const IfcConstraintClassificationRelationship &obj, const CopyOp &copyop) {
    Step::Set< Step::RefPtr< IfcClassificationNotationSelect >, 1 >::const_iterator it_m_relatedClassifications;
    Step::BaseEntity::copy(obj, copyop);
    setClassifiedConstraint((IfcConstraint*)copyop(obj.m_classifiedConstraint.get()));
    for (it_m_relatedClassifications = obj.m_relatedClassifications.begin(); it_m_relatedClassifications != obj.m_relatedClassifications.end(); ++it_m_relatedClassifications) {
        Step::RefPtr< IfcClassificationNotationSelect > copyTarget = new IfcClassificationNotationSelect;
        copyTarget->copy(*((*it_m_relatedClassifications).get()), copyop);
        m_relatedClassifications.insert(copyTarget.get());
    }
    return;
}
开发者ID:cstb,项目名称:ifc-sdk,代码行数:11,代码来源:IfcConstraintClassificationRelationship.cpp

示例7: copy

void IfcFillAreaStyleTiles::copy(const IfcFillAreaStyleTiles &obj, const CopyOp &copyop) {
    Step::Set< Step::RefPtr< IfcFillAreaStyleTileShapeSelect >, 1 >::const_iterator it_m_tiles;
    IfcGeometricRepresentationItem::copy(obj, copyop);
    setTilingPattern((IfcOneDirectionRepeatFactor*)copyop(obj.m_tilingPattern.get()));
    for (it_m_tiles = obj.m_tiles.begin(); it_m_tiles != obj.m_tiles.end(); ++it_m_tiles) {
        Step::RefPtr< IfcFillAreaStyleTileShapeSelect > copyTarget = new IfcFillAreaStyleTileShapeSelect;
        copyTarget->copy(*((*it_m_tiles).get()), copyop);
        m_tiles.insert(copyTarget.get());
    }
    setTilingScale(obj.m_tilingScale);
    return;
}
开发者ID:whztt07,项目名称:ifc2x3-SDK,代码行数:12,代码来源:IfcFillAreaStyleTiles.cpp

示例8: copy

void IfcTimeSeriesSchedule::copy(const IfcTimeSeriesSchedule &obj, const CopyOp &copyop) {
    Step::List< Step::RefPtr< IfcDateTimeSelect >, 1 >::const_iterator it_m_applicableDates;
    IfcControl::copy(obj, copyop);
    for (it_m_applicableDates = obj.m_applicableDates.begin(); it_m_applicableDates != obj.m_applicableDates.end(); ++it_m_applicableDates) {
        Step::RefPtr< IfcDateTimeSelect > copyTarget = new IfcDateTimeSelect;
        copyTarget->copy(*((*it_m_applicableDates).get()), copyop);
        m_applicableDates.push_back(copyTarget.get());
    }
    setTimeSeriesScheduleType(obj.m_timeSeriesScheduleType);
    setTimeSeries((IfcTimeSeries*)copyop(obj.m_timeSeries.get()));
    return;
}
开发者ID:cstb,项目名称:ifc-sdk,代码行数:12,代码来源:IfcTimeSeriesSchedule.cpp

示例9: copy

void IfcPropertyEnumeration::copy(const IfcPropertyEnumeration &obj, const CopyOp &copyop) {
    Step::List< Step::RefPtr< IfcValue >, 1 >::const_iterator it_m_enumerationValues;
    Step::BaseEntity::copy(obj, copyop);
    setName(obj.m_name);
    for (it_m_enumerationValues = obj.m_enumerationValues.begin(); it_m_enumerationValues != obj.m_enumerationValues.end(); ++it_m_enumerationValues) {
        Step::RefPtr< IfcValue > copyTarget = new IfcValue;
        copyTarget->copy(*((*it_m_enumerationValues).get()), copyop);
        m_enumerationValues.push_back(copyTarget.get());
    }
    m_unit = new IfcUnit;
    m_unit->copy(*(obj.m_unit.get()), copyop);
    return;
}
开发者ID:gitter-badger,项目名称:ifc2x3-SDK,代码行数:13,代码来源:IfcPropertyEnumeration.cpp

示例10: copy

void IfcPresentationLayerAssignment::copy(const IfcPresentationLayerAssignment &obj, const CopyOp &copyop) {
    Step::Set< Step::RefPtr< IfcLayeredItem >, 1 >::const_iterator it_m_assignedItems;
    Step::BaseEntity::copy(obj, copyop);
    setName(obj.m_name);
    setDescription(obj.m_description);
    for (it_m_assignedItems = obj.m_assignedItems.begin(); it_m_assignedItems != obj.m_assignedItems.end(); ++it_m_assignedItems) {
        Step::RefPtr< IfcLayeredItem > copyTarget = new IfcLayeredItem;
        copyTarget->copy(*((*it_m_assignedItems).get()), copyop);
        m_assignedItems.insert(copyTarget.get());
    }
    setIdentifier(obj.m_identifier);
    return;
}
开发者ID:cstb,项目名称:ifc-sdk,代码行数:13,代码来源:IfcPresentationLayerAssignment.cpp


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