ICF 3.0.5.47
Technical documentation of ICF Libraries
icmpstr::CComponentHelpFileProviderComp Class Reference

#include <CComponentHelpFileProviderComp.h>

Inheritance diagram for icmpstr::CComponentHelpFileProviderComp:
Collaboration diagram for icmpstr::CComponentHelpFileProviderComp:

Public Types

typedef icomp::CComponentBase BaseClass
 

Public Member Functions

double GetHelpQuality (const QString &contextText, const istd::IPolymorphic *contextObjectPtr) const override
 Get quality of help information for specified context and/or object.
 
QString GetHelpFilePath (const QString &contextText, const istd::IPolymorphic *contextObjectPtr) const override
 Get access to help file path for specified help information.
 
- Public Member Functions inherited from icomp::CComponentBase
 CComponentBase ()
 Create component and assign it to specific context.
 
 CComponentBase (const CComponentBase &)=delete
 
CComponentBaseoperator= (const CComponentBase &)=delete
 
virtual const ICompositeComponentGetParentComponent (bool ownerOnly=false) const
 Get parent of this component.
 
virtual void * GetInterface (const istd::CClassInfo &interfaceType, const QByteArray &subId="")
 Get access to specified component interface.
 
virtual const IComponentContextGetComponentContext () const
 Get access to component context describing all application-specified component information loaded from components registry.
 
virtual void SetComponentContext (const IComponentContext *contextPtr, const ICompositeComponent *parentPtr, bool isParentOwner)
 Set component context of this component.
 
- Public Member Functions inherited from icomp::IComponent
- Public Member Functions inherited from idoc::IHelpFileProvider
- Public Member Functions inherited from idoc::IHelpInfoProvider

Protected Member Functions

virtual QString GetInfoFilePath (const icomp::CComponentAddress &componentAddress) const
 
virtual QString GetHelpFilePath (const icomp::CComponentAddress &componentAddress) const
 
bool ExtractComponentAddress (const QString &contextText, const istd::IPolymorphic *contextObjectPtr, icomp::CComponentAddress &result) const
 
- Protected Member Functions inherited from icomp::CComponentBase
bool IsComponentActive () const
 Check if component is active.
 
virtual void OnComponentCreated ()
 
virtual void OnComponentDestroyed ()
 
virtual const IRealComponentStaticInfoGetComponentStaticInfo () const =0
 Get access to static info of this component.
 

Additional Inherited Members

- Static Protected Member Functions inherited from icomp::CComponentBase
static const IRealComponentStaticInfoInitStaticInfo (IComponent *componentPtr)
 
static QByteArray GetComponentId (const IComponentContext *componentContextPtr, const QByteArray &contextId=QByteArray())
 

Detailed Description

Definition at line 24 of file CComponentHelpFileProviderComp.h.

Member Typedef Documentation

◆ BaseClass

Member Function Documentation

◆ ExtractComponentAddress()

bool icmpstr::CComponentHelpFileProviderComp::ExtractComponentAddress ( const QString & contextText,
const istd::IPolymorphic * contextObjectPtr,
icomp::CComponentAddress & result ) const
protected

◆ GetHelpFilePath() [1/2]

virtual QString icmpstr::CComponentHelpFileProviderComp::GetHelpFilePath ( const icomp::CComponentAddress & componentAddress) const
protectedvirtual

◆ GetHelpFilePath() [2/2]

QString icmpstr::CComponentHelpFileProviderComp::GetHelpFilePath ( const QString & contextText,
const istd::IPolymorphic * contextObjectPtr ) const
overridevirtual

Get access to help file path for specified help information.

Implements idoc::IHelpFileProvider.

◆ GetHelpQuality()

double icmpstr::CComponentHelpFileProviderComp::GetHelpQuality ( const QString & contextText,
const istd::IPolymorphic * contextObjectPtr ) const
overridevirtual

Get quality of help information for specified context and/or object.

Returns
quality of help. It represented as value in range [0, 1]. 0 means there is no usable help, 1 means good context specified help is available.

Implements idoc::IHelpInfoProvider.

◆ GetInfoFilePath()

virtual QString icmpstr::CComponentHelpFileProviderComp::GetInfoFilePath ( const icomp::CComponentAddress & componentAddress) const
protectedvirtual

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

© Witold Gantzke and Kirill Lepskiy