本文整理匯總了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;
}
示例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;
}
示例3: BaseClone
ReferenceTarget *CubeMap::Clone(RemapDir &remap)
{
CubeMap *pnew = new CubeMap;
pnew->ReplaceReference(0,pblock->Clone(remap));
BaseClone(this, pnew, remap);
return pnew;
}
示例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);
}
示例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);
}
示例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;
}
示例7: PFOperatorSimpleSpeed
RefTargetHandle PFOperatorSimpleSpeed::Clone(RemapDir &remap)
{
PFOperatorSimpleSpeed* newOp = new PFOperatorSimpleSpeed();
newOp->ReplaceReference(0, remap.CloneRef(pblock()));
BaseClone(this, newOp, remap);
return newOp;
}
示例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;
}
示例9: PatchDeformPW
RefTargetHandle PatchDeformPW::Clone(RemapDir& remap)
{
PatchDeformPW* newmod = new PatchDeformPW();
newmod->ReplaceReference(PBLOCK_REF,remap.CloneRef(pblock));
BaseClone(this, newmod, remap);
return(newmod);
}
示例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);
}
示例11: PasteSkinWeights
RefTargetHandle PasteSkinWeights::Clone(RemapDir& remap)
{
PasteSkinWeights* newmod = new PasteSkinWeights();
newmod->ReplaceReference(0,remap.CloneRef(pblock));
BaseClone(this, newmod, remap);
return(newmod);
}
示例12: PFOperatorComments
RefTargetHandle PFOperatorComments::Clone(RemapDir &remap)
{
PFOperatorComments* newOp = new PFOperatorComments();
newOp->ReplaceReference(0, remap.CloneRef(pblock()));
BaseClone(this, newOp, remap);
return newOp;
}
示例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;
}
示例14: SelectByChannel
RefTargetHandle SelectByChannel::Clone(RemapDir& remap)
{
SelectByChannel* newmod = new SelectByChannel();
newmod->ReplaceReference(PBLOCK_REF,remap.CloneRef(pblock));
BaseClone(this, newmod, remap);
return(newmod);
}
示例15: OptMod
RefTargetHandle OptMod::Clone(RemapDir& remap)
{
OptMod* newmod = new OptMod();
newmod->ReplaceReference(0,pblock->Clone(remap));
BaseClone(this, newmod, remap);
return newmod;
}