fbapplymanagerrule.h File Reference

Derive new Apply Manager Rules using the FBApplyManagerRule class. More...

#include <kaydaradef.h>
#include <fbsdk/fbcomponent.h>

Go to the source code of this file.

Classes

class   FBApplyManagerRule
  ApplyManagerRules are used to define custom rules for manipulating custom objects. More...

Defines

#define  FBSDK_DLL   K_DLLIMPORT
  Be sure that FBSDK_DLL is defined only once...
#define  FBRegisterApplyManagerRule(ClassName, Label, Description)
  Filter class registration.
#define  FBApplyManagerRuleDeclare(ClassName, Parent)
  Apply Manager Rule class declaration.
#define  FBApplyManagerRuleImplementation(ThisComponent)   FBClassImplementation( ThisComponent )
  ApplyManagerRule class implementation.

Functions

  __FB_FORWARD (FBApplyManagerRule)
  FB_DEFINE_COMPONENT (K_DLLIMPORT, ApplyManagerRule)

Detailed Description

Derive new Apply Manager Rules using the FBApplyManagerRule class.

Define the custom rule to manipulate objects for varous operations.

Definition in file fbapplymanagerrule.h.


Define Documentation

#define FBSDK_DLL   K_DLLIMPORT

Be sure that FBSDK_DLL is defined only once...

Definition at line 49 of file fbapplymanagerrule.h.

#define FBRegisterApplyManagerRule (   ClassName,
  Label,
  Description 
)
Value:
HIObject RegisterApplyManagerRule##ClassName( HIObject pOwner,char * /*pName*/,void * /*pData*/) \
    { \
    ClassName *Class = new ClassName( ); \
    if (Class->FBCreate()) { \
    return Class->GetHIObject(); \
    } else { \
    delete Class; \
    return NULL; \
    } \
    } \
    FBLibraryModule( ClassName )    \
    {   \
    FBRegisterObject( ClassName,"Browsing/Apply",Label,Description,RegisterApplyManagerRule##ClassName,false, NULL );   \
    }

Filter class registration.

Parameters:
ClassName Filter class name.
Label Short description.
Description Long description.

Definition at line 67 of file fbapplymanagerrule.h.

#define FBApplyManagerRuleDeclare (   ClassName,
  Parent 
)
Value:
FBClassDeclare( ClassName,Parent); \
public: \
    ClassName( HIObject pO = NULL ):Parent(pO) { FBClassInit; } \
private:

Apply Manager Rule class declaration.

Parameters:
ClassName ApplyManagerRule class name.
Parent Parent class name.

Definition at line 87 of file fbapplymanagerrule.h.

#define FBApplyManagerRuleImplementation (   ThisComponent )    FBClassImplementation( ThisComponent )

ApplyManagerRule class implementation.

Parameters:
ThisComponent Class to implement.

Definition at line 96 of file fbapplymanagerrule.h.


Function Documentation

FB_DEFINE_COMPONENT ( K_DLLIMPORT  ,
ApplyManagerRule   
)