Пример #1
0
// 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
0
// 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
0
// 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());
}