Maptitude GISDK Help

IsKindOfClass()

Summary

Determines whether an object is in a class or inherits from that class.

 

Changes

Added to Version 5.0.

 

Syntax

answer = IsKindOfClass(object obj, string class_name)

 

Argument Contents
obj An object variable
class_name The name of a class

 

Returns

The string "True" if the object's class matches class_name or if the object inherits from class_name, otherwise "False."

 

Error Codes

Error Type Meaning
NotFound The specified object variable does not exist

 

See Also

Function Summary
CreateObject() Creates a new object variable based on a class
GetClassMethodNames() Returns a list of the names of the methods defined for the class
GetObjectVariableNames() Gets a list of the variable names for an object
GetObjectClass() Gets the name of the class for an object
ObjectHasMethod() Determines whether an object's class, or an inherited class, implements a method

 

 

©2025 Caliper Corporation www.caliper.com