本文整理汇总了C++中DataDefnBlk::BeginObject方法的典型用法代码示例。如果您正苦于以下问题:C++ DataDefnBlk::BeginObject方法的具体用法?C++ DataDefnBlk::BeginObject怎么用?C++ DataDefnBlk::BeginObject使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类DataDefnBlk
的用法示例。
在下文中一共展示了DataDefnBlk::BeginObject方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: Add_OnOff
void CBlockEvaluator::Add_OnOff(DataDefnBlk &DDB, DDBPages PageIs)
{
BOOL DoIt=true;
if (PrjFileVerNo()>=99)
DoIt=DDB.BeginObject(m_pNd, "EB", "EB_Slct", 0, DDB_NoPage);
if (DoIt)
{
DDB.String("", "EvalSeq.Feed", DC_, "", &m_sBlkSeqFeed, m_pNd, 0);
if (StateSemanticsOn())
DDB.String("", "EvalSeq.Content", DC_, "", &m_sBlkSeqState, m_pNd, 0);
if (m_Options&BEO_WithMakeups)
DDB.Long("Makeups", "", DC_, "", xidNMakeups, m_pNd, isParmStopped|SetOnChange);
if (m_Options&BEO_WithBleeds)
DDB.Long("Bleeds", "", DC_, "", xidNBleeds, m_pNd, isParmStopped|SetOnChange);
//DDB.Text("");
if (m_Options&BEO_WithMakeups)
{
for (int a=0; a<m_pMakeups.GetSize(); a++)
m_pMakeups[a]->Add_OnOff(DDB, isParmStopped|SetOnChange, 100000+a*1000);
}
if (m_pRB)
m_pRB->Add_OnOff(DDB, isParmStopped|SetOnChange);
if (m_pHX)
m_pHX->Add_OnOff(DDB, isParmStopped|SetOnChange);
if (m_pEHX)
m_pEHX->Add_OnOff(DDB, isParmStopped|SetOnChange);
if (m_pVLE)
m_pVLE->Add_OnOff(DDB, isParmStopped|SetOnChange);
if (m_pEvap)
m_pEvap->Add_OnOff(DDB, isParmStopped|SetOnChange);
if (m_Options&BEO_WithBleeds)
{
for (int a=0; a<m_pBleeds.GetSize(); a++)
m_pBleeds[a]->Add_OnOff(DDB, isParmStopped|SetOnChange, 200000+a*1000);
}
}
if (PrjFileVerNo()>=99)
DDB.EndObject();
if (PrjFileVerNo()<99 && (DDB.DoingPutData() && DDB.ForFileSnpScn() || 0))
{
static DDBValueLst DDBBS[]={
{0, "RB EHX VLE" },
{1, "EHX RB VLE" },
{0}};
DDB.Byte("BlockActionSeq", "", DC_, "", xidOldBlkSeq, m_pNd, isParmStopped, DDBBS);
}
DDB.Text("");
};