Public Member Functions | Public Attributes | List of all members
MemberDefImpl Class Reference

Public Member Functions

 MemberDefImpl ()
 
 ~MemberDefImpl ()
 
void init (Definition *def, const char *t, const char *a, const char *e, Protection p, Specifier v, bool s, Relationship r, MemberType mt, const ArgumentList *tal, const ArgumentList *al)
 

Public Attributes

ClassDefclassDef
 
FileDeffileDef
 
NamespaceDefnspace
 
MemberDefenumScope
 
bool livesInsideEnum
 
MemberDefannEnumType
 
MemberListenumFields
 
MemberDefredefines
 
MemberListredefinedBy
 
MemberDefmemDef
 
MemberDefmemDec
 
ClassDefrelatedAlso
 
ExampleSDictexampleSDict
 
QCString type
 
QCString accessorType
 
ClassDefaccessorClass
 
QCString args
 
QCString def
 
QCString anc
 
Specifier virt
 
Protection prot
 
QCString decl
 
QCString bitfields
 
QCString read
 
QCString write
 
QCString exception
 
QCString initializer
 
QCString extraTypeChars
 
QCString enumBaseType
 
int initLines
 
uint64 memSpec
 
MemberType mtype
 
int maxInitLines
 
int userInitLines
 
MemberDefannMemb
 
ArgumentListdefArgList
 
ArgumentListdeclArgList
 
ArgumentListtArgList
 
ArgumentListtypeConstraints
 
MemberDeftemplateMaster
 
QList< ArgumentList > * defTmpArgLists
 
ClassDefcachedAnonymousType
 
SDict< MemberList > * classSectionSDict
 
MemberDefgroupAlias
 
int grpId
 
MemberGroupmemberGroup
 
GroupDefgroup
 
Grouping::GroupPri_t grouppri
 
QCString groupFileName
 
int groupStartLine
 
MemberDefgroupMember
 
bool isTypedefValCached
 
ClassDefcachedTypedefValue
 
QCString cachedTypedefTemplSpec
 
QCString cachedResolvedType
 
MemberDefdocProvider
 
QCString explicitOutputFileBase
 
bool implOnly
 
bool hasDocumentedParams
 
bool hasDocumentedReturnType
 
bool isDMember
 
Relationship related
 
bool stat
 
bool proto
 
bool docEnumValues
 
bool annScope
 
bool annUsed
 
bool hasCallGraph
 
bool hasCallerGraph
 
bool explExt
 
bool tspec
 
bool groupHasDocs
 
bool docsForDefinition
 
ClassDefcategory
 
MemberDefcategoryRelation
 

Detailed Description

Definition at line 462 of file memberdef.cpp.

Constructor & Destructor Documentation

MemberDefImpl::MemberDefImpl ( )

Definition at line 580 of file memberdef.cpp.

580  :
581  enumFields(0),
582  redefinedBy(0),
583  exampleSDict(0),
584  defArgList(0),
585  declArgList(0),
586  tArgList(0),
587  typeConstraints(0),
588  defTmpArgLists(0),
590  category(0),
592 {
593 }
ArgumentList * typeConstraints
Definition: memberdef.cpp:520
MemberList * redefinedBy
Definition: memberdef.cpp:483
ArgumentList * defArgList
Definition: memberdef.cpp:516
MemberList * enumFields
Definition: memberdef.cpp:480
ArgumentList * declArgList
Definition: memberdef.cpp:517
ClassDef * category
Definition: memberdef.cpp:576
ArgumentList * tArgList
Definition: memberdef.cpp:519
MemberDef * categoryRelation
Definition: memberdef.cpp:577
ExampleSDict * exampleSDict
Definition: memberdef.cpp:489
QList< ArgumentList > * defTmpArgLists
Definition: memberdef.cpp:522
SDict< MemberList > * classSectionSDict
Definition: memberdef.cpp:529
MemberDefImpl::~MemberDefImpl ( )

Definition at line 595 of file memberdef.cpp.

596 {
597  delete redefinedBy;
598  delete exampleSDict;
599  delete enumFields;
600  delete defArgList;
601  delete tArgList;
602  delete typeConstraints;
603  delete defTmpArgLists;
604  delete classSectionSDict;
605  delete declArgList;
606 }
ArgumentList * typeConstraints
Definition: memberdef.cpp:520
MemberList * redefinedBy
Definition: memberdef.cpp:483
ArgumentList * defArgList
Definition: memberdef.cpp:516
MemberList * enumFields
Definition: memberdef.cpp:480
ArgumentList * declArgList
Definition: memberdef.cpp:517
ArgumentList * tArgList
Definition: memberdef.cpp:519
ExampleSDict * exampleSDict
Definition: memberdef.cpp:489
QList< ArgumentList > * defTmpArgLists
Definition: memberdef.cpp:522
SDict< MemberList > * classSectionSDict
Definition: memberdef.cpp:529

Member Function Documentation

void MemberDefImpl::init ( Definition def,
const char *  t,
const char *  a,
const char *  e,
Protection  p,
Specifier  v,
bool  s,
Relationship  r,
MemberType  mt,
const ArgumentList tal,
const ArgumentList al 
)

Definition at line 608 of file memberdef.cpp.

614 {
615  classDef=0;
616  fileDef=0;
617  redefines=0;
618  relatedAlso=0;
619  redefinedBy=0;
620  accessorClass=0;
621  nspace=0;
622  memDef=0;
623  memDec=0;
624  group=0;
625  grpId=-1;
626  exampleSDict=0;
627  enumFields=0;
628  enumScope=0;
630  defTmpArgLists=0;
633  initLines=0;
634  type=t;
635  if (mt==MemberType_Typedef) type.stripPrefix("typedef ");
636  // type.stripPrefix("struct ");
637  // type.stripPrefix("class " );
638  // type.stripPrefix("union " );
640  args=a;
642  if (type.isEmpty()) decl=def->name()+args; else decl=type+" "+def->name()+args;
643 
644  memberGroup=0;
645  virt=v;
646  prot=p;
647  related=r;
648  stat=s;
649  mtype=mt;
650  exception=e;
651  proto=FALSE;
652  annScope=FALSE;
653  memSpec=0;
654  annMemb=0;
655  annUsed=FALSE;
656  annEnumType=0;
657  groupAlias=0;
658  explExt=FALSE;
659  tspec=FALSE;
661  maxInitLines=Config_getInt("MAX_INITIALIZER_LINES");
662  userInitLines=-1;
664  // copy function template arguments (if any)
665  if (tal)
666  {
667  tArgList = tal->deepCopy();
668  }
669  else
670  {
671  tArgList=0;
672  }
673  //printf("new member al=%p\n",al);
674  // copy function definition arguments (if any)
675  if (al)
676  {
677  defArgList = al->deepCopy();
678  }
679  else
680  {
681  defArgList=0;
682  }
683  // convert function declaration arguments (if any)
684  if (!args.isEmpty())
685  {
688  //printf("setDeclArgList %s to %s const=%d\n",args.data(),
689  // argListToString(declArgList).data(),declArgList->constSpecifier);
690  }
691  else
692  {
693  declArgList = 0;
694  }
695  templateMaster = 0;
696  classSectionSDict = 0;
699  cachedTypedefValue = 0;
700  //inbodyLine = -1;
701  implOnly=FALSE;
702  groupMember = 0;
705  docProvider = 0;
706  isDMember = def->getDefFileName().right(2).lower()==".d";
707 }
ClassDef * cachedAnonymousType
Definition: memberdef.cpp:525
MemberType mtype
Definition: memberdef.cpp:511
This class represents an function or template argument list.
Definition: arguments.h:82
MemberDef * annEnumType
Definition: memberdef.cpp:479
MemberDef * docProvider
Definition: memberdef.cpp:551
MemberDef * redefines
Definition: memberdef.cpp:482
bool isEmpty() const
Definition: qcstring.h:189
ClassDef * accessorClass
Definition: memberdef.cpp:493
MemberList * redefinedBy
Definition: memberdef.cpp:483
ClassDef * cachedTypedefValue
Definition: memberdef.cpp:541
QCString decl
Definition: memberdef.cpp:499
ArgumentList * defArgList
Definition: memberdef.cpp:516
uint64 memSpec
Definition: memberdef.cpp:510
Protection prot
Definition: memberdef.cpp:498
MemberDef * memDec
Definition: memberdef.cpp:486
bool hasCallerGraph
Definition: memberdef.cpp:569
bool hasDocumentedReturnType
Definition: memberdef.cpp:560
GroupDef * group
Definition: memberdef.cpp:534
const bool FALSE
Definition: qglobal.h:370
MemberDef * annMemb
Definition: memberdef.cpp:514
QCString extraTypeChars
Definition: memberdef.cpp:506
QCString getDefFileName() const
MemberDef * memDef
Definition: memberdef.cpp:485
#define Config_getInt(val)
Definition: config.cpp:661
Specifier virt
Definition: memberdef.cpp:497
MemberDef * templateMaster
Definition: memberdef.cpp:521
bool docEnumValues
Definition: memberdef.cpp:565
const QCString & name() const
Definition: definition.h:114
const double e
ClassDef * relatedAlso
Definition: memberdef.cpp:487
bool hasDocumentedParams
Definition: memberdef.cpp:559
QCString exception
Definition: memberdef.cpp:504
MemberDef * enumScope
Definition: memberdef.cpp:477
QCString right(uint len) const
Definition: qcstring.cpp:231
MemberDef * groupMember
Definition: memberdef.cpp:538
const double a
FileDef * fileDef
Definition: memberdef.cpp:474
bool docsForDefinition
Definition: memberdef.cpp:573
MemberList * enumFields
Definition: memberdef.cpp:480
bool livesInsideEnum
Definition: memberdef.cpp:478
ArgumentList * declArgList
Definition: memberdef.cpp:517
void stringToArgumentList(const char *argsString, ArgumentList *al, QCString *extraTypeChars)
Definition: defargs.cpp:2922
p
Definition: test.py:223
ArgumentList * tArgList
Definition: memberdef.cpp:519
General LArSoft Utilities.
ClassDef * classDef
Definition: memberdef.cpp:473
MemberGroup * memberGroup
Definition: memberdef.cpp:533
QCString removeRedundantWhiteSpace(const QCString &s)
Definition: util.cpp:1655
MemberDef * groupAlias
Definition: memberdef.cpp:531
QCString args
Definition: memberdef.cpp:494
ArgumentList * deepCopy() const
Definition: arguments.cpp:20
ExampleSDict * exampleSDict
Definition: memberdef.cpp:489
NamespaceDef * nspace
Definition: memberdef.cpp:475
bool isTypedefValCached
Definition: memberdef.cpp:540
QCString lower() const
Definition: qcstring.cpp:263
static QCString * s
Definition: config.cpp:1042
const bool TRUE
Definition: qglobal.h:371
QList< ArgumentList > * defTmpArgLists
Definition: memberdef.cpp:522
Relationship related
Definition: memberdef.cpp:562
SDict< MemberList > * classSectionSDict
Definition: memberdef.cpp:529

Member Data Documentation

ClassDef* MemberDefImpl::accessorClass

Definition at line 493 of file memberdef.cpp.

QCString MemberDefImpl::accessorType

Definition at line 492 of file memberdef.cpp.

QCString MemberDefImpl::anc

Definition at line 496 of file memberdef.cpp.

MemberDef* MemberDefImpl::annEnumType

Definition at line 479 of file memberdef.cpp.

MemberDef* MemberDefImpl::annMemb

Definition at line 514 of file memberdef.cpp.

bool MemberDefImpl::annScope

Definition at line 566 of file memberdef.cpp.

bool MemberDefImpl::annUsed

Definition at line 567 of file memberdef.cpp.

QCString MemberDefImpl::args

Definition at line 494 of file memberdef.cpp.

QCString MemberDefImpl::bitfields

Definition at line 501 of file memberdef.cpp.

ClassDef* MemberDefImpl::cachedAnonymousType

Definition at line 525 of file memberdef.cpp.

QCString MemberDefImpl::cachedResolvedType

Definition at line 543 of file memberdef.cpp.

QCString MemberDefImpl::cachedTypedefTemplSpec

Definition at line 542 of file memberdef.cpp.

ClassDef* MemberDefImpl::cachedTypedefValue

Definition at line 541 of file memberdef.cpp.

ClassDef* MemberDefImpl::category

Definition at line 576 of file memberdef.cpp.

MemberDef* MemberDefImpl::categoryRelation

Definition at line 577 of file memberdef.cpp.

ClassDef* MemberDefImpl::classDef

Definition at line 473 of file memberdef.cpp.

SDict<MemberList>* MemberDefImpl::classSectionSDict

Definition at line 529 of file memberdef.cpp.

QCString MemberDefImpl::decl

Definition at line 499 of file memberdef.cpp.

ArgumentList* MemberDefImpl::declArgList

Definition at line 517 of file memberdef.cpp.

QCString MemberDefImpl::def

Definition at line 495 of file memberdef.cpp.

ArgumentList* MemberDefImpl::defArgList

Definition at line 516 of file memberdef.cpp.

QList<ArgumentList>* MemberDefImpl::defTmpArgLists

Definition at line 522 of file memberdef.cpp.

bool MemberDefImpl::docEnumValues

Definition at line 565 of file memberdef.cpp.

MemberDef* MemberDefImpl::docProvider

Definition at line 551 of file memberdef.cpp.

bool MemberDefImpl::docsForDefinition

Definition at line 573 of file memberdef.cpp.

QCString MemberDefImpl::enumBaseType

Definition at line 507 of file memberdef.cpp.

MemberList* MemberDefImpl::enumFields

Definition at line 480 of file memberdef.cpp.

MemberDef* MemberDefImpl::enumScope

Definition at line 477 of file memberdef.cpp.

ExampleSDict* MemberDefImpl::exampleSDict

Definition at line 489 of file memberdef.cpp.

QCString MemberDefImpl::exception

Definition at line 504 of file memberdef.cpp.

bool MemberDefImpl::explExt

Definition at line 570 of file memberdef.cpp.

QCString MemberDefImpl::explicitOutputFileBase

Definition at line 554 of file memberdef.cpp.

QCString MemberDefImpl::extraTypeChars

Definition at line 506 of file memberdef.cpp.

FileDef* MemberDefImpl::fileDef

Definition at line 474 of file memberdef.cpp.

GroupDef* MemberDefImpl::group

Definition at line 534 of file memberdef.cpp.

MemberDef* MemberDefImpl::groupAlias

Definition at line 531 of file memberdef.cpp.

QCString MemberDefImpl::groupFileName

Definition at line 536 of file memberdef.cpp.

bool MemberDefImpl::groupHasDocs

Definition at line 572 of file memberdef.cpp.

MemberDef* MemberDefImpl::groupMember

Definition at line 538 of file memberdef.cpp.

Grouping::GroupPri_t MemberDefImpl::grouppri

Definition at line 535 of file memberdef.cpp.

int MemberDefImpl::groupStartLine

Definition at line 537 of file memberdef.cpp.

int MemberDefImpl::grpId

Definition at line 532 of file memberdef.cpp.

bool MemberDefImpl::hasCallerGraph

Definition at line 569 of file memberdef.cpp.

bool MemberDefImpl::hasCallGraph

Definition at line 568 of file memberdef.cpp.

bool MemberDefImpl::hasDocumentedParams

Definition at line 559 of file memberdef.cpp.

bool MemberDefImpl::hasDocumentedReturnType

Definition at line 560 of file memberdef.cpp.

bool MemberDefImpl::implOnly

Definition at line 557 of file memberdef.cpp.

QCString MemberDefImpl::initializer

Definition at line 505 of file memberdef.cpp.

int MemberDefImpl::initLines

Definition at line 508 of file memberdef.cpp.

bool MemberDefImpl::isDMember

Definition at line 561 of file memberdef.cpp.

bool MemberDefImpl::isTypedefValCached

Definition at line 540 of file memberdef.cpp.

bool MemberDefImpl::livesInsideEnum

Definition at line 478 of file memberdef.cpp.

int MemberDefImpl::maxInitLines

Definition at line 512 of file memberdef.cpp.

MemberGroup* MemberDefImpl::memberGroup

Definition at line 533 of file memberdef.cpp.

MemberDef* MemberDefImpl::memDec

Definition at line 486 of file memberdef.cpp.

MemberDef* MemberDefImpl::memDef

Definition at line 485 of file memberdef.cpp.

uint64 MemberDefImpl::memSpec

Definition at line 510 of file memberdef.cpp.

MemberType MemberDefImpl::mtype

Definition at line 511 of file memberdef.cpp.

NamespaceDef* MemberDefImpl::nspace

Definition at line 475 of file memberdef.cpp.

Protection MemberDefImpl::prot

Definition at line 498 of file memberdef.cpp.

bool MemberDefImpl::proto

Definition at line 564 of file memberdef.cpp.

QCString MemberDefImpl::read

Definition at line 502 of file memberdef.cpp.

MemberList* MemberDefImpl::redefinedBy

Definition at line 483 of file memberdef.cpp.

MemberDef* MemberDefImpl::redefines

Definition at line 482 of file memberdef.cpp.

Relationship MemberDefImpl::related

Definition at line 562 of file memberdef.cpp.

ClassDef* MemberDefImpl::relatedAlso

Definition at line 487 of file memberdef.cpp.

bool MemberDefImpl::stat

Definition at line 563 of file memberdef.cpp.

ArgumentList* MemberDefImpl::tArgList

Definition at line 519 of file memberdef.cpp.

MemberDef* MemberDefImpl::templateMaster

Definition at line 521 of file memberdef.cpp.

bool MemberDefImpl::tspec

Definition at line 571 of file memberdef.cpp.

QCString MemberDefImpl::type

Definition at line 491 of file memberdef.cpp.

ArgumentList* MemberDefImpl::typeConstraints

Definition at line 520 of file memberdef.cpp.

int MemberDefImpl::userInitLines

Definition at line 513 of file memberdef.cpp.

Specifier MemberDefImpl::virt

Definition at line 497 of file memberdef.cpp.

QCString MemberDefImpl::write

Definition at line 503 of file memberdef.cpp.


The documentation for this class was generated from the following file: