本文整理汇总了C++中OutputList::endMemberDocSimple方法的典型用法代码示例。如果您正苦于以下问题:C++ OutputList::endMemberDocSimple方法的具体用法?C++ OutputList::endMemberDocSimple怎么用?C++ OutputList::endMemberDocSimple使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类OutputList
的用法示例。
在下文中一共展示了OutputList::endMemberDocSimple方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: writeSimpleDocumentation
// members in a table
void MemberList::writeSimpleDocumentation(OutputList &ol,
Definition *container)
{
countDocMembers(FALSE);
//printf("MemberList count=%d\n",numDocMembers());
if (numDocMembers()==0) return;
ol.startMemberDocSimple();
MemberListIterator mli(*this);
MemberDef *md;
for ( ; (md=mli.current()) ; ++mli)
{
md->writeMemberDocSimple(ol,container);
}
ol.endMemberDocSimple();
}
示例2: writeSimpleDocumentation
// members in a table
void MemberList::writeSimpleDocumentation(OutputList &ol,
const Definition *container) const
{
//printf("MemberList count=%d enumValues=%d\n",numDocMembers(),numDocEnumValues());
if (numDocMembers()<=numDocEnumValues()) return; // only enum values and they should be excluded
const ClassDef *cd = 0;
if (container && container->definitionType()==Definition::TypeClass)
{
cd = dynamic_cast<const ClassDef*>(container);
}
ol.startMemberDocSimple(cd && cd->isJavaEnum());
MemberListIterator mli(*this);
const MemberDef *md;
for ( ; (md=mli.current()) ; ++mli)
{
md->writeMemberDocSimple(ol,container);
}
ol.endMemberDocSimple(cd && cd->isJavaEnum());
}
示例3: writeSimpleDocumentation
// members in a table
void MemberList::writeSimpleDocumentation(OutputList &ol,
Definition *container)
{
countDocMembers(FALSE);
//printf("MemberList count=%d\n",numDocMembers());
if (numDocMembers()==0) return;
ClassDef *cd = 0;
if (container && container->definitionType()==Definition::TypeClass)
{
cd = (ClassDef*)container;
}
ol.startMemberDocSimple(cd && cd->isJavaEnum());
MemberListIterator mli(*this);
MemberDef *md;
for ( ; (md=mli.current()) ; ++mli)
{
md->writeMemberDocSimple(ol,container);
}
ol.endMemberDocSimple(cd && cd->isJavaEnum());
}