Doxygen
Loading...
Searching...
No Matches
DefinitionAliasMixin< Base > Class Template Reference

#include <src/definitionimpl.h>

+ Inheritance diagram for DefinitionAliasMixin< Base >:
+ Collaboration diagram for DefinitionAliasMixin< Base >:

Public Member Functions

 DefinitionAliasMixin (const Definition *scope, const Definition *alias)
 
 ~DefinitionAliasMixin () override=default
 
void init ()
 
void deinit ()
 
bool isAlias () const override
 
const QCStringname () const override
 
bool isAnonymous () const override
 
const QCStringlocalName () const override
 
QCString qualifiedName () const override
 
QCString symbolName () const override
 
QCString getSourceFileBase () const override
 
QCString getSourceAnchor () const override
 
QCString documentation () const override
 
int docLine () const override
 
QCString docFile () const override
 
QCString briefDescription (bool abbreviate=FALSE) const override
 
QCString briefDescriptionAsTooltip () const override
 
int briefLine () const override
 
QCString inbodyDocumentation () const override
 
QCString inbodyFile () const override
 
int inbodyLine () const override
 
QCString briefFile () const override
 
QCString getDefFileName () const override
 
QCString getDefFileExtension () const override
 
int getDefLine () const override
 
int getDefColumn () const override
 
bool hasDocumentation () const override
 
bool hasUserDocumentation () const override
 
bool isVisibleInProject () const override
 
bool isVisible () const override
 
bool isHidden () const override
 
bool isArtificial () const override
 
bool isExported () const override
 
QCString getReference () const override
 
bool isReference () const override
 
QCString externalReference (const QCString &relPath) const override
 
int getStartDefLine () const override
 
int getStartBodyLine () const override
 
int getEndBodyLine () const override
 
const FileDefgetBodyDef () const override
 
SrcLangExt getLanguage () const override
 
const GroupListpartOfGroups () const override
 
bool isLinkableViaGroup () const override
 
const RefItemVectorxrefListItems () const override
 
const DefinitionfindInnerCompound (const QCString &name) const override
 
DefinitiongetOuterScope () const override
 
const MemberVectorgetReferencesMembers () const override
 
const MemberVectorgetReferencedByMembers () const override
 
bool hasSections () const override
 
bool hasSources () const override
 
bool hasBriefDescription () const override
 
QCString id () const override
 
const SectionRefsgetSectionRefs () const override
 
QCString navigationPathAsString () const override
 
QCString pathFragment () const override
 

Protected Member Functions

const DefinitiongetAlias () const
 
const DefinitiongetScope () const
 

Private Member Functions

virtual DefinitiontoDefinition_ ()
 
DefinitionMutabletoDefinitionMutable_ () override
 
const DefinitionImpltoDefinitionImpl_ () const override
 
void _setSymbolName (const QCString &name) override
 
QCString _symbolName () const override
 

Private Attributes

DefinitionAliasImpl m_impl
 
const Definitionm_scope
 
const Definitionm_alias
 
QCString m_symbolName
 

Detailed Description

template<class Base>
class DefinitionAliasMixin< Base >

Definition at line 320 of file definitionimpl.h.

Constructor & Destructor Documentation

◆ DefinitionAliasMixin()

template<class Base>
DefinitionAliasMixin< Base >::DefinitionAliasMixin ( const Definition * scope,
const Definition * alias )
inline

Definition at line 323 of file definitionimpl.h.

const Definition * m_scope
const Definition * m_alias
DefinitionAliasImpl m_impl

References m_alias, m_impl, and m_scope.

Referenced by ~DefinitionAliasMixin().

◆ ~DefinitionAliasMixin()

template<class Base>
DefinitionAliasMixin< Base >::~DefinitionAliasMixin ( )
overridedefault

Member Function Documentation

◆ _setSymbolName()

template<class Base>
void DefinitionAliasMixin< Base >::_setSymbolName ( const QCString & name)
inlineoverrideprivate

Definition at line 445 of file definitionimpl.h.

445{ m_symbolName = name; }
const QCString & name() const override

References m_symbolName, and name().

◆ _symbolName()

template<class Base>
QCString DefinitionAliasMixin< Base >::_symbolName ( ) const
inlineoverrideprivate

Definition at line 446 of file definitionimpl.h.

446{ return m_symbolName; }

References m_symbolName.

◆ briefDescription()

template<class Base>
QCString DefinitionAliasMixin< Base >::briefDescription ( bool abbreviate = FALSE) const
inlineoverride

Reimplemented in MemberDefAliasImpl.

Definition at line 355 of file definitionimpl.h.

356 { return m_alias->briefDescription(abbreviate); }

References abbreviate(), FALSE, and m_alias.

◆ briefDescriptionAsTooltip()

template<class Base>
QCString DefinitionAliasMixin< Base >::briefDescriptionAsTooltip ( ) const
inlineoverride

Definition at line 357 of file definitionimpl.h.

358 { return m_alias->briefDescriptionAsTooltip(); }

References m_alias.

◆ briefFile()

template<class Base>
QCString DefinitionAliasMixin< Base >::briefFile ( ) const
inlineoverride

Definition at line 367 of file definitionimpl.h.

368 { return m_alias->briefFile(); }

References m_alias.

◆ briefLine()

template<class Base>
int DefinitionAliasMixin< Base >::briefLine ( ) const
inlineoverride

Definition at line 359 of file definitionimpl.h.

360 { return m_alias->briefLine(); }

References m_alias.

◆ deinit()

template<class Base>
void DefinitionAliasMixin< Base >::deinit ( )
inline

Definition at line 329 of file definitionimpl.h.

329{ m_impl.deinit(); }

References m_impl.

◆ docFile()

template<class Base>
QCString DefinitionAliasMixin< Base >::docFile ( ) const
inlineoverride

Definition at line 353 of file definitionimpl.h.

354 { return m_alias->docFile(); }

References m_alias.

◆ docLine()

template<class Base>
int DefinitionAliasMixin< Base >::docLine ( ) const
inlineoverride

Definition at line 351 of file definitionimpl.h.

352 { return m_alias->docLine(); }

References m_alias.

◆ documentation()

template<class Base>
QCString DefinitionAliasMixin< Base >::documentation ( ) const
inlineoverride

Reimplemented in MemberDefAliasImpl.

Definition at line 349 of file definitionimpl.h.

350 { return m_alias->documentation(); }

References m_alias.

◆ externalReference()

template<class Base>
QCString DefinitionAliasMixin< Base >::externalReference ( const QCString & relPath) const
inlineoverride

Definition at line 395 of file definitionimpl.h.

396 { return m_alias->externalReference(relPath); }

References m_alias.

◆ findInnerCompound()

template<class Base>
const Definition * DefinitionAliasMixin< Base >::findInnerCompound ( const QCString & name) const
inlineoverride

Reimplemented in NamespaceDefAliasImpl.

Definition at line 413 of file definitionimpl.h.

414 { return m_alias->findInnerCompound(name); }

References m_alias, and name().

◆ getAlias()

template<class Base>
const Definition * DefinitionAliasMixin< Base >::getAlias ( ) const
inlineprotected

Definition at line 437 of file definitionimpl.h.

437{ return m_alias; }

References m_alias.

◆ getBodyDef()

template<class Base>
const FileDef * DefinitionAliasMixin< Base >::getBodyDef ( ) const
inlineoverride

Definition at line 403 of file definitionimpl.h.

404 { return m_alias->getBodyDef(); }

References m_alias.

◆ getDefColumn()

template<class Base>
int DefinitionAliasMixin< Base >::getDefColumn ( ) const
inlineoverride

Definition at line 375 of file definitionimpl.h.

376 { return m_alias->getDefColumn(); }

References m_alias.

◆ getDefFileExtension()

template<class Base>
QCString DefinitionAliasMixin< Base >::getDefFileExtension ( ) const
inlineoverride

Definition at line 371 of file definitionimpl.h.

372 { return m_alias->getDefFileExtension(); }

References m_alias.

◆ getDefFileName()

template<class Base>
QCString DefinitionAliasMixin< Base >::getDefFileName ( ) const
inlineoverride

Definition at line 369 of file definitionimpl.h.

370 { return m_alias->getDefFileName(); }

References m_alias.

◆ getDefLine()

template<class Base>
int DefinitionAliasMixin< Base >::getDefLine ( ) const
inlineoverride

Definition at line 373 of file definitionimpl.h.

374 { return m_alias->getDefLine(); }

References m_alias.

◆ getEndBodyLine()

template<class Base>
int DefinitionAliasMixin< Base >::getEndBodyLine ( ) const
inlineoverride

Definition at line 401 of file definitionimpl.h.

402 { return m_alias->getEndBodyLine(); }

References m_alias.

◆ getLanguage()

template<class Base>
SrcLangExt DefinitionAliasMixin< Base >::getLanguage ( ) const
inlineoverride

Definition at line 405 of file definitionimpl.h.

406 { return m_alias->getLanguage(); }

References m_alias.

◆ getOuterScope()

template<class Base>
Definition * DefinitionAliasMixin< Base >::getOuterScope ( ) const
inlineoverride

Definition at line 415 of file definitionimpl.h.

416 { return const_cast<Definition*>(m_scope); }

References m_scope.

◆ getReference()

template<class Base>
QCString DefinitionAliasMixin< Base >::getReference ( ) const
inlineoverride

Reimplemented in MemberDefAliasImpl.

Definition at line 391 of file definitionimpl.h.

392 { return m_alias->getReference(); }

References m_alias.

◆ getReferencedByMembers()

template<class Base>
const MemberVector & DefinitionAliasMixin< Base >::getReferencedByMembers ( ) const
inlineoverride

Definition at line 419 of file definitionimpl.h.

420 { return m_alias->getReferencedByMembers(); }

References m_alias.

◆ getReferencesMembers()

template<class Base>
const MemberVector & DefinitionAliasMixin< Base >::getReferencesMembers ( ) const
inlineoverride

Definition at line 417 of file definitionimpl.h.

418 { return m_alias->getReferencesMembers(); }

References m_alias.

◆ getScope()

template<class Base>
const Definition * DefinitionAliasMixin< Base >::getScope ( ) const
inlineprotected

Definition at line 438 of file definitionimpl.h.

438{ return m_scope; }

References m_scope.

◆ getSectionRefs()

template<class Base>
const SectionRefs & DefinitionAliasMixin< Base >::getSectionRefs ( ) const
inlineoverride

Definition at line 429 of file definitionimpl.h.

430 { return m_alias->getSectionRefs(); }

References m_alias.

◆ getSourceAnchor()

template<class Base>
QCString DefinitionAliasMixin< Base >::getSourceAnchor ( ) const
inlineoverride

Definition at line 347 of file definitionimpl.h.

348 { return m_alias->getSourceAnchor(); }

References m_alias.

◆ getSourceFileBase()

template<class Base>
QCString DefinitionAliasMixin< Base >::getSourceFileBase ( ) const
inlineoverride

Definition at line 345 of file definitionimpl.h.

346 { return m_alias->getSourceFileBase(); }

References m_alias.

◆ getStartBodyLine()

template<class Base>
int DefinitionAliasMixin< Base >::getStartBodyLine ( ) const
inlineoverride

Definition at line 399 of file definitionimpl.h.

400 { return m_alias->getStartBodyLine(); }

References m_alias.

◆ getStartDefLine()

template<class Base>
int DefinitionAliasMixin< Base >::getStartDefLine ( ) const
inlineoverride

Definition at line 397 of file definitionimpl.h.

398 { return m_alias->getStartDefLine(); }

References m_alias.

◆ hasBriefDescription()

template<class Base>
bool DefinitionAliasMixin< Base >::hasBriefDescription ( ) const
inlineoverride

Definition at line 425 of file definitionimpl.h.

426 { return m_alias->hasBriefDescription(); }

References m_alias.

◆ hasDocumentation()

template<class Base>
bool DefinitionAliasMixin< Base >::hasDocumentation ( ) const
inlineoverride

Reimplemented in MemberDefAliasImpl.

Definition at line 377 of file definitionimpl.h.

378 { return m_alias->hasDocumentation(); }

References m_alias.

◆ hasSections()

template<class Base>
bool DefinitionAliasMixin< Base >::hasSections ( ) const
inlineoverride

Definition at line 421 of file definitionimpl.h.

422 { return m_alias->hasSections(); }

References m_alias.

◆ hasSources()

template<class Base>
bool DefinitionAliasMixin< Base >::hasSources ( ) const
inlineoverride

Definition at line 423 of file definitionimpl.h.

424 { return m_alias->hasSources(); }

References m_alias.

◆ hasUserDocumentation()

template<class Base>
bool DefinitionAliasMixin< Base >::hasUserDocumentation ( ) const
inlineoverride

Reimplemented in MemberDefAliasImpl.

Definition at line 379 of file definitionimpl.h.

380 { return m_alias->hasUserDocumentation(); }

References m_alias.

◆ id()

template<class Base>
QCString DefinitionAliasMixin< Base >::id ( ) const
inlineoverride

Definition at line 427 of file definitionimpl.h.

428 { return m_alias->id(); }

References m_alias.

◆ inbodyDocumentation()

template<class Base>
QCString DefinitionAliasMixin< Base >::inbodyDocumentation ( ) const
inlineoverride

Definition at line 361 of file definitionimpl.h.

362 { return m_alias->inbodyDocumentation(); }

References m_alias.

◆ inbodyFile()

template<class Base>
QCString DefinitionAliasMixin< Base >::inbodyFile ( ) const
inlineoverride

Definition at line 363 of file definitionimpl.h.

364 { return m_alias->inbodyFile(); }

References m_alias.

◆ inbodyLine()

template<class Base>
int DefinitionAliasMixin< Base >::inbodyLine ( ) const
inlineoverride

Definition at line 365 of file definitionimpl.h.

366 { return m_alias->inbodyLine(); }

References m_alias.

◆ init()

template<class Base>
void DefinitionAliasMixin< Base >::init ( )
inline

Definition at line 328 of file definitionimpl.h.

328{ m_impl.init(); }

References init(), and m_impl.

Referenced by init().

◆ isAlias()

template<class Base>
bool DefinitionAliasMixin< Base >::isAlias ( ) const
inlineoverride

Definition at line 332 of file definitionimpl.h.

332{ return TRUE; }

References TRUE.

◆ isAnonymous()

template<class Base>
bool DefinitionAliasMixin< Base >::isAnonymous ( ) const
inlineoverride

Definition at line 337 of file definitionimpl.h.

338 { return m_alias->isAnonymous(); }

References m_alias.

◆ isArtificial()

template<class Base>
bool DefinitionAliasMixin< Base >::isArtificial ( ) const
inlineoverride

Definition at line 387 of file definitionimpl.h.

388 { return m_alias->isArtificial(); }

References m_alias.

◆ isExported()

template<class Base>
bool DefinitionAliasMixin< Base >::isExported ( ) const
inlineoverride

Definition at line 389 of file definitionimpl.h.

390 { return m_alias->isExported(); }

References m_alias.

◆ isHidden()

template<class Base>
bool DefinitionAliasMixin< Base >::isHidden ( ) const
inlineoverride

Definition at line 385 of file definitionimpl.h.

386 { return m_alias->isHidden(); }

References m_alias.

◆ isLinkableViaGroup()

template<class Base>
bool DefinitionAliasMixin< Base >::isLinkableViaGroup ( ) const
inlineoverride

Definition at line 409 of file definitionimpl.h.

410 { return m_alias->isLinkableViaGroup(); }

References m_alias.

◆ isReference()

template<class Base>
bool DefinitionAliasMixin< Base >::isReference ( ) const
inlineoverride

Reimplemented in MemberDefAliasImpl.

Definition at line 393 of file definitionimpl.h.

394 { return m_alias->isReference(); }

References m_alias.

◆ isVisible()

template<class Base>
bool DefinitionAliasMixin< Base >::isVisible ( ) const
inlineoverride

Definition at line 383 of file definitionimpl.h.

384 { return m_alias->isVisible(); }

References m_alias.

◆ isVisibleInProject()

template<class Base>
bool DefinitionAliasMixin< Base >::isVisibleInProject ( ) const
inlineoverride

Definition at line 381 of file definitionimpl.h.

382 { return m_alias->isVisibleInProject(); }

References m_alias.

◆ localName()

template<class Base>
const QCString & DefinitionAliasMixin< Base >::localName ( ) const
inlineoverride

Reimplemented in NamespaceDefAliasImpl.

Definition at line 339 of file definitionimpl.h.

340 { return m_alias->localName(); }

References m_alias.

◆ name()

template<class Base>
const QCString & DefinitionAliasMixin< Base >::name ( ) const
inlineoverride

Reimplemented in MemberDefAliasImpl.

Definition at line 335 of file definitionimpl.h.

336 { return m_impl.name(); }

References m_impl.

Referenced by _setSymbolName(), and findInnerCompound().

◆ navigationPathAsString()

template<class Base>
QCString DefinitionAliasMixin< Base >::navigationPathAsString ( ) const
inlineoverride

Definition at line 431 of file definitionimpl.h.

432 { return m_alias->navigationPathAsString(); }

References m_alias.

◆ partOfGroups()

template<class Base>
const GroupList & DefinitionAliasMixin< Base >::partOfGroups ( ) const
inlineoverride

Definition at line 407 of file definitionimpl.h.

408 { return m_alias->partOfGroups(); }

References m_alias.

◆ pathFragment()

template<class Base>
QCString DefinitionAliasMixin< Base >::pathFragment ( ) const
inlineoverride

Definition at line 433 of file definitionimpl.h.

434 { return m_alias->pathFragment(); }

References m_alias.

◆ qualifiedName()

template<class Base>
QCString DefinitionAliasMixin< Base >::qualifiedName ( ) const
inlineoverride

Reimplemented in MemberDefAliasImpl.

Definition at line 341 of file definitionimpl.h.

342 { return m_impl.qualifiedName(); }

References m_impl.

◆ symbolName()

template<class Base>
QCString DefinitionAliasMixin< Base >::symbolName ( ) const
inlineoverride

Definition at line 343 of file definitionimpl.h.

344 { return m_alias->symbolName(); }

References m_alias.

◆ toDefinition_()

template<class Base>
virtual Definition * DefinitionAliasMixin< Base >::toDefinition_ ( )
inlineprivatevirtual

Definition at line 441 of file definitionimpl.h.

441{ return this; }

◆ toDefinitionImpl_()

template<class Base>
const DefinitionImpl * DefinitionAliasMixin< Base >::toDefinitionImpl_ ( ) const
inlineoverrideprivate

Definition at line 443 of file definitionimpl.h.

443{ return nullptr; }

◆ toDefinitionMutable_()

template<class Base>
DefinitionMutable * DefinitionAliasMixin< Base >::toDefinitionMutable_ ( )
inlineoverrideprivate

Definition at line 442 of file definitionimpl.h.

442{ return nullptr; }

◆ xrefListItems()

template<class Base>
const RefItemVector & DefinitionAliasMixin< Base >::xrefListItems ( ) const
inlineoverride

Definition at line 411 of file definitionimpl.h.

412 { return m_alias->xrefListItems(); }

References m_alias.

Member Data Documentation

◆ m_alias

◆ m_impl

template<class Base>
DefinitionAliasImpl DefinitionAliasMixin< Base >::m_impl
private

Definition at line 447 of file definitionimpl.h.

Referenced by DefinitionAliasMixin(), deinit(), init(), name(), and qualifiedName().

◆ m_scope

template<class Base>
const Definition* DefinitionAliasMixin< Base >::m_scope
private

Definition at line 448 of file definitionimpl.h.

Referenced by DefinitionAliasMixin(), getOuterScope(), and getScope().

◆ m_symbolName

template<class Base>
QCString DefinitionAliasMixin< Base >::m_symbolName
private

Definition at line 450 of file definitionimpl.h.

Referenced by _setSymbolName(), and _symbolName().


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