ILS_REPRESENTATION_BEGIN/ILS_REPRESENTATION_END
 
ILS_REPRESENTATION_BEGIN/ILS_REPRESENTATION_END
Category 
Dynamic view-related macros (component side)
Description 
These macros are used with classes that derive from IlsRepresentation together with the macro ILS_REPRESENTATION_DECL. They allow you to declare these classes to the representation model interpreter, which is implemented in the Rogue Wave Server library (see IlsRpModel). Using this declaration, the representation model interpreter can create representations whose C++ type corresponds to the dynamic representation model associated with the dynamic view type instantiated.
Both these macros must be added to the source file defining the member functions related to the representation class. Only macros related to representation attributes, such as ILS_RP_ATTR_BOOLEAN, ILS_RP_ATTR_CHAR, can be enclosed between these macros. The associated representation class must contain a constructor with the following signature:
representationType(IlsMvComponent&, IlsRpModel&)
This constructor will be called by Rogue Wave Server to instantiate representations whose type is referenced in dynamic view type specifications and consequently in the associated dynamic representation model.
Synopsis 
ILS_REPRESENTATION_BEGIN(representationType)
ILS_REPRESENTATION1_BEGIN(representationType, parentType)
ILS_REPRESENTATION_END(representationType)
Note: Use the macro ILS_REPRESENTATION1_BEGIN if the representation type derives from another type.
See Also 
IlsRepresentation, ILS_REPRESENTATION_DECL, ILS_REPRESENTATION_INIT, ILS_RP_ATTR_XXX, IlsRpModel, IlsRpObject, IlsRpObjModel

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.