// // Copyright (C) 1991 Texas Instruments Incorporated. // // Permission is granted to any individual or institution to use, copy, modify, // and distribute this software, provided that this complete copyright and // permission notice is maintained, intact, in all copies and supporting // documentation. // // Texas Instruments Incorporated provides this software "as is" without // express or implied warranty. // // Created: LGO 05/22/89 -- Initial design and implementation // Updated: MBN 09/16/89 -- Added conditional exception handling // Updated: LGO 11/24/89 -- Remove inline // Updated: MJF 03/12/90 -- Added group names to RAISE // #include #include // get -- Get value associatied with property from the symbols property list // Input: Loolup property value, reference to location to copy value // Output: Boolean TRUE/FALSE Boolean Symbol::get (const Symbol* property, Symbol_GenericP& value) { #if ERROR_CHECKING if (this->proplist == NULL) // If no property list RAISE (Error, SYM(Symbol), SYM(No_Plist), "Symbol::get(): No property list for symbol %s", this->pname); #endif return proplist->get(property, value); // Return TRUE/FALSE of lookup }