本文整理汇总了C++中step::RefPtr类的典型用法代码示例。如果您正苦于以下问题:C++ RefPtr类的具体用法?C++ RefPtr怎么用?C++ RefPtr使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了RefPtr类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: copy
void IfcFace::copy(const IfcFace &obj, const CopyOp ©op) {
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;
}
示例2: copy
void IfcFaceBasedSurfaceModel::copy(const IfcFaceBasedSurfaceModel &obj, const CopyOp ©op) {
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;
}
示例3: copy
void IfcIrregularTimeSeries::copy(const IfcIrregularTimeSeries &obj, const CopyOp ©op) {
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;
}
示例4: copy
void IfcPropertySet::copy(const IfcPropertySet &obj, const CopyOp ©op) {
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;
}
示例5: copy
void IfcConnectedFaceSet::copy(const IfcConnectedFaceSet &obj, const CopyOp ©op) {
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;
}
示例6: copy
void IfcPolyLoop::copy(const IfcPolyLoop &obj, const CopyOp ©op) {
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;
}
示例7: copy
void IfcEdgeLoop::copy(const IfcEdgeLoop &obj, const CopyOp ©op) {
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;
}
示例8: copy
void IfcTextureMap::copy(const IfcTextureMap &obj, const CopyOp ©op) {
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;
}
示例9: copy
void IfcSurfaceStyleWithTextures::copy(const IfcSurfaceStyleWithTextures &obj, const CopyOp ©op) {
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;
}
示例10: copy
void IfcPath::copy(const IfcPath &obj, const CopyOp ©op) {
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;
}
示例11: copy
void IfcRelDefines::copy(const IfcRelDefines &obj, const CopyOp ©op) {
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;
}
示例12: copy
void IfcCompositeCurve::copy(const IfcCompositeCurve &obj, const CopyOp ©op) {
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;
}
示例13: copy
void IfcTable::copy(const IfcTable &obj, const CopyOp ©op) {
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;
}
示例14: copy
void IfcLightIntensityDistribution::copy(const IfcLightIntensityDistribution &obj, const CopyOp ©op) {
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;
}
示例15: copy
void IfcShellBasedSurfaceModel::copy(const IfcShellBasedSurfaceModel &obj, const CopyOp ©op) {
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;
}