![]() |
ICF 3.1.1.10
Technical documentation of ICF Libraries
|
This is a list of macros for defining component in component class.
This is a list of macros for defining component in component class.
You shoud use the macro block encloses in I_BEGIN_COMPONENT and I_END_COMPONENT in public area of the class. Before this macro is used you will need definition of the base component class as BaseClass.
Example taken from component iauth::CUserLoginComp (ICF component name - IcfAuthorizationPck/UserLogin):
In this example the component IcfAuthorizationPck/UserLogin implements interfaces iauth::IRightsProvider and iauth::ILogin. It needs a list of components implementing iauth::IRightsProvider. This list will be visible as "UserLevels" in Compositor. This list will be accessible in the implementation code using the variable m_userLevelsCompPtr (
"UsersManager" in Compositor. This component will be accessible in the implementation code using the variable m_usersManagerCompPtr ("PasswordChanger" in Compositor. It allows to set optional 8-bit coded text, will be visible as "DefaultUserName" in Compositor. This text will be accessible in the implementation code using the variable m_defaultUserNameAttrPtr (© Witold Gantzke and Kirill Lepskiy