:orphan: .. **************************************************************************** .. CUI .. .. The Advanced Framework for Simulation, Integration, and Modeling (AFSIM) .. .. The use, dissemination or disclosure of data in this file is subject to .. limitation or restriction. See accompanying README and LICENSE for details. .. **************************************************************************** Object ------ .. class:: Object All script classes inherit from this type. A variable of type Object_ can hold anything. Methods ======= .. method:: bool IsValid() Returns true if the Object_ contains a valid (non-null) reference to a corresponding object instance in memory. .. note:: Same as !\ :method:`IsNull`\ () .. method:: bool IsNull() Returns true if the Object_ does not contain a valid reference to a corresponding object instance in memory. .. note:: Same as !\ :method:`IsValid`\ () .. method:: string ToString() Returns a string representation of the object. Not all classes derived from Object_ provide an implementation of ToString and will return an empty string.