ILS_OBJECT_DECL
 
ILS_OBJECT_DECL
Category 
Dynamic view-related macro (server side)
Description 
This macro declares a server object type deriving from IlsObject to the server model interpreter. It must be used together with the macros ILS_OBJECT_BEGIN/ILS_OBJECT_END. The server object types you declare using that macro can then be associated with representations in view specifications. This macro also lets you declare runtime entry data member, derived data members, and relations for the server object type.
Header File 
<ilserver/rtmodel>
Synopsis 
ILS_OBJECT_DECL(objType)
Details 
This macro declares the server type objType as being accessible at runtime. The class objType must derive from IlsObject directly or transitively and must contain a default constructor. This constructor is called when the component notifies the server that a new representation object associated with the server object has been created.
This macro also defines the following function:
[static] objType* objType::Narrow(IlsViewed& object)
This static function performs a safe downcast on object. It returns 0 if object is not of type objType or of a derived type.
See Also 
IlsEntity, ILS_ENTITY_DECL, IlsObject, ILS_OBJECT_BEGIN/ILS_OBJECT_END, ILS_OBJECT_INIT

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