indexing description: "VARKIND contants" status: "See notice at end of class"; date: "$Date$"; revision: "$Revision$" class ECOM_VAR_KIND feature Var_perinstance: INTEGER is -- Variable is field or member of type -- it exists at fixed offset within each instance of type. external "C [macro ]" alias "VAR_PERINSTANCE" end Var_static: INTEGER is -- Only one instance of variable external "C [macro ]" alias "VAR_STATIC" end Var_const: INTEGER is -- VARDESC describes symbolic constant -- There is no memory associated with it. external "C [macro ]" alias "VAR_CONST" end Var_dispatch: INTEGER is -- Variable can only be accessed via feature -- `invoke' of class EOLE_DISPATCH. external "C [macro ]" alias "VAR_DISPATCH" end is_valid_var_kind (kind: INTEGER): BOOLEAN is -- Is `kind' a valid variable kind? do Result := kind = Var_perinstance or kind = Var_static or kind = Var_const or kind = Var_dispatch end end -- class ECOM_VAR_KIND --+---------------------------------------------------------------- --| EiffelCOM Wizard --| Copyright (C) 1999-2005 Eiffel Software. All rights reserved. --| Eiffel Software Confidential --| Duplication and distribution prohibited. --| --| Eiffel Software --| 356 Storke Road, Goleta, CA 93117 USA --| http://www.eiffel.com --+----------------------------------------------------------------