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


C++ BaseClone函数代码示例

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


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

示例1: WindMod

RefTargetHandle WindMod::Clone(RemapDir& remap) 
{
	WindMod *newob = new WindMod(nodeRef,(WindObject*)obRef);	
	newob->SimpleWSMModClone(this, remap);
	BaseClone(this, newob, remap);
	return newob;
}
开发者ID:artemeliy,项目名称:inf4715,代码行数:7,代码来源:wind.cpp

示例2: SmoothMod

RefTargetHandle SmoothMod::Clone(RemapDir& remap) {
   SmoothMod* newmod = new SmoothMod();
   newmod->ReplaceReference (REF_SMOOTH_PBLOCK, remap.CloneRef(pblock));
   newmod->version = version;
   BaseClone(this, newmod, remap);
   return newmod;
}
开发者ID:innovatelogic,项目名称:ilogic-vm,代码行数:7,代码来源:surfmod.cpp

示例3: BaseClone

ReferenceTarget *CubeMap::Clone(RemapDir &remap)
{
	CubeMap *pnew = new CubeMap;
	pnew->ReplaceReference(0,pblock->Clone(remap));
	BaseClone(this, pnew, remap);
	return pnew;
}
开发者ID:2asoft,项目名称:xray,代码行数:7,代码来源:CubeMap.cpp

示例4: TriPatchObject

RefTargetHandle TriPatchObject::Clone(RemapDir& remap) {
	TriPatchObject* newob = new TriPatchObject();
	newob->ReplaceReference(0,pblock->Clone(remap));
	newob->ivalid.SetEmpty();	
	BaseClone(this, newob, remap);
	return(newob);
	}
开发者ID:DimondTheCat,项目名称:xray,代码行数:7,代码来源:tripatch.cpp

示例5: StretchMod

RefTargetHandle StretchMod::Clone(RemapDir& remap) {
        StretchMod* newmod = new StretchMod();
        newmod->ReplaceReference(SIMPMOD_PBLOCKREF, pblock->Clone(remap));
        newmod->SimpleModClone(this);
		BaseClone(this, newmod, remap);
        return(newmod);
        }
开发者ID:2asoft,项目名称:xray,代码行数:7,代码来源:stretch.cpp

示例6: PFTestSplitBySource

//+--------------------------------------------------------------------------+
//|							From ReferenceMaker								 |
//+--------------------------------------------------------------------------+
RefTargetHandle PFTestSplitBySource::Clone(RemapDir &remap)
{
	PFTestSplitBySource* newTest = new PFTestSplitBySource();
	newTest->ReplaceReference(0, remap.CloneRef(pblock()));
	BaseClone(this, newTest, remap);
	return newTest;
}
开发者ID:DimondTheCat,项目名称:xray,代码行数:10,代码来源:PFTestSplitBySource.cpp

示例7: PFOperatorSimpleSpeed

RefTargetHandle PFOperatorSimpleSpeed::Clone(RemapDir &remap)
{
	PFOperatorSimpleSpeed* newOp = new PFOperatorSimpleSpeed();
	newOp->ReplaceReference(0, remap.CloneRef(pblock()));
	BaseClone(this, newOp, remap);
	return newOp;
}
开发者ID:DimondTheCat,项目名称:xray,代码行数:7,代码来源:PFOperatorSimpleSpeed.cpp

示例8: FExtrudeMod

RefTargetHandle FExtrudeMod::Clone(RemapDir& remap) {
	FExtrudeMod *mod = new FExtrudeMod();
	mod->ReplaceReference(kFEX_PBLOCK_REF,remap.CloneRef(mp_pblock));
	mod->ReplaceReference(kFEX_POINT_REF,remap.CloneRef(mp_base));	
	BaseClone(this, mod, remap);
	return mod;
}
开发者ID:innovatelogic,项目名称:ilogic-vm,代码行数:7,代码来源:fextrude.cpp

示例9: PatchDeformPW

RefTargetHandle PatchDeformPW::Clone(RemapDir& remap)
{
	PatchDeformPW* newmod = new PatchDeformPW();	
	newmod->ReplaceReference(PBLOCK_REF,remap.CloneRef(pblock));
	BaseClone(this, newmod, remap);
	return(newmod);
}
开发者ID:innovatelogic,项目名称:ilogic-vm,代码行数:7,代码来源:SkinWrapPatch.cpp

示例10: RelaxMod

RefTargetHandle RelaxMod::Clone(RemapDir& remap) {
	RelaxMod* newmod = new RelaxMod();	
	newmod->ReplaceReference(0,remap.CloneRef(pblock));
	newmod->version = version;
	BaseClone(this, newmod, remap);
	return(newmod);
}
开发者ID:innovatelogic,项目名称:ilogic-vm,代码行数:7,代码来源:relax.cpp

示例11: PasteSkinWeights

RefTargetHandle PasteSkinWeights::Clone(RemapDir& remap)
{
	PasteSkinWeights* newmod = new PasteSkinWeights();	
	newmod->ReplaceReference(0,remap.CloneRef(pblock));
	BaseClone(this, newmod, remap);
	return(newmod);
}
开发者ID:artemeliy,项目名称:inf4715,代码行数:7,代码来源:PasteSkinWeights.cpp

示例12: PFOperatorComments

RefTargetHandle PFOperatorComments::Clone(RemapDir &remap)
{
	PFOperatorComments* newOp = new PFOperatorComments();
	newOp->ReplaceReference(0, remap.CloneRef(pblock()));
	BaseClone(this, newOp, remap);
	return newOp;
}
开发者ID:whztt07,项目名称:OgreGameProject,代码行数:7,代码来源:PFOperatorComments.cpp

示例13: SymmetryMod

RefTargetHandle SymmetryMod::Clone(RemapDir& remap) {
	SymmetryMod *mod = new SymmetryMod();
	mod->ReplaceReference(kSYM_PBLOCK_REF,remap.CloneRef(mp_pblock));
	mod->ReplaceReference(kSYM_MIRROR_REF,remap.CloneRef(mp_mirror));
	BaseClone(this, mod, remap);
	return mod;
}
开发者ID:innovatelogic,项目名称:ilogic-vm,代码行数:7,代码来源:Symmetry.cpp

示例14: SelectByChannel

RefTargetHandle SelectByChannel::Clone(RemapDir& remap)
{
	SelectByChannel* newmod = new SelectByChannel();	
	newmod->ReplaceReference(PBLOCK_REF,remap.CloneRef(pblock));
	BaseClone(this, newmod, remap);
	return(newmod);
}
开发者ID:innovatelogic,项目名称:ilogic-vm,代码行数:7,代码来源:SelectByChannel.cpp

示例15: OptMod

RefTargetHandle OptMod::Clone(RemapDir& remap) 
	{
	OptMod* newmod = new OptMod();	
	newmod->ReplaceReference(0,pblock->Clone(remap));	
	BaseClone(this, newmod, remap);
	return newmod;
	}
开发者ID:2asoft,项目名称:xray,代码行数:7,代码来源:optmod.cpp


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