This class encapsulates a pointer to a server object along with its type, in a non-typed way. More...
#include <ilserver/mvvalue.h>
Public Member Functions | |
IlsAny | getObject () const |
Returns a pointer to the server object as a non-typed pointer. More... | |
IlsString | getTypeName () const |
Returns the type name of the stored non-typed pointer. | |
IlsBoolean | isNull () const |
Returns IlsTrue if the object does not reference any server object. | |
Friends | |
IlsBoolean | operator== (const IlsSvRef &r1, const IlsSvRef &r2) |
Returns IlsTrue if the two references point to the same server object. | |
This class encapsulates a pointer to a server object along with its type, in a non-typed way.
Library: mvserver
and mvcomp
Instances of IlsSvRef
are meant to be encapsulated in an IlsMvValue
value.
See section Invoking Member Functions from a Script in Chapter Rogue Wave Views Script Integration of the Rogue Wave Server User's Manual for more information.
ILS_MEMBER_FUNCTION()
. IlsAny IlsSvRef::getObject | ( | ) | const |
Returns a pointer to the server object as a non-typed pointer.
If this reference stores a dynamic object, you can use IlsDynObject::Narrow to cast it to an IlsDynObject
pointer.