Mercurial > repos > deepakjadmin > mayatool3_test3
view mayachemtools/docs/modules/html/ObjectProperty.html @ 9:ab29fa5c8c1f draft default tip
Uploaded
author | deepakjadmin |
---|---|
date | Thu, 15 Dec 2016 14:18:03 -0500 |
parents | 73ae111cf86f |
children |
line wrap: on
line source
<html> <head> <title>MayaChemTools:Documentation:ObjectProperty.pm</title> <meta http-equiv="content-type" content="text/html;charset=utf-8"> <link rel="stylesheet" type="text/css" href="../../css/MayaChemTools.css"> </head> <body leftmargin="20" rightmargin="20" topmargin="10" bottommargin="10"> <br/> <center> <a href="http://www.mayachemtools.org" title="MayaChemTools Home"><img src="../../images/MayaChemToolsLogo.gif" border="0" alt="MayaChemTools"></a> </center> <br/> <div class="DocNav"> <table width="100%" border=0 cellpadding=0 cellspacing=2> <tr align="left" valign="top"><td width="33%" align="left"><a href="./NucleicAcids.html" title="NucleicAcids.html">Previous</a> <a href="./index.html" title="Table of Contents">TOC</a> <a href="./PackageInfo.html" title="PackageInfo.html">Next</a></td><td width="34%" align="middle"><strong>ObjectProperty.pm</strong></td><td width="33%" align="right"><a href="././code/ObjectProperty.html" title="View source code">Code</a> | <a href="./../pdf/ObjectProperty.pdf" title="PDF US Letter Size">PDF</a> | <a href="./../pdfgreen/ObjectProperty.pdf" title="PDF US Letter Size with narrow margins: www.changethemargins.com">PDFGreen</a> | <a href="./../pdfa4/ObjectProperty.pdf" title="PDF A4 Size">PDFA4</a> | <a href="./../pdfa4green/ObjectProperty.pdf" title="PDF A4 Size with narrow margins: www.changethemargins.com">PDFA4Green</a></td></tr> </table> </div> <p> </p> <h2>NAME</h2> <p>ObjectProperty</p> <p> </p> <h2>SYNOPSIS</h2> <p>use ObjectProperty;</p> <p> </p> <h2>DESCRIPTION</h2> <p><strong>ObjectProperty</strong> is an abstract base class which implements methods not explicitly defined in classed derived from this class using Perl's AUTOLOAD functionality. These methods are generated on-the-fly for a specified object property:</p> <div class="OptionsBox"> Set<PropertyName>(<PropertyValue>); <br/> $PropertyValue = Get<PropertyName>(); <br/> Delete<PropertyName>();</div> <p>This class uses its parent class hash to set, get, and delete propery names and values.</p> <p>ObjectProperty module provides the following methods to be used in context of its parent class:</p> <p> <a href="#deleteproperty">DeleteProperty</a>, <a href="#getproperty">GetProperty</a>, <a href="#hasproperty">HasProperty</a>, <a href="#setproperties">SetProperties</a>, <a href="#setproperty">SetProperty</a> </p><p> </p> <h2>METHODS</h2> <dl> <dt><strong><a name="deleteproperty" class="item"><strong>DeleteProperty</strong></a></strong></dt> <dd> <div class="OptionsBox"> DeleteProperty($Name);</div> <p>Deletes specified property <em>Name</em></p> </dd> <dt><strong><a name="getproperty" class="item"><strong>GetProperty</strong></a></strong></dt> <dd> <div class="OptionsBox"> GetProperty($Name);</div> <p>Returns value associated with specified property <em>Name</em>.</p> </dd> <dt><strong><a name="hasproperty" class="item"><strong>HasProperty</strong></a></strong></dt> <dd> <div class="OptionsBox"> HasProperty($Name);</div> <p>Returns 1 or 0 based on whether specified property <em>Name</em> associated with an object.</p> </dd> <dt><strong><a name="setproperties" class="item"><strong>SetProperties</strong></a></strong></dt> <dd> <div class="OptionsBox"> SetProperties(%NamesAndValues);</div> <p>Using specified property name and value hash <em>NamesAndValues</em>, associates each property <em>Name</em> and <em>Values</em> to an object.</p> </dd> <dt><strong><a name="setproperty" class="item"><strong>SetProperty</strong></a></strong></dt> <dd> <div class="OptionsBox"> SetProperty($Name, $Value);</div> <p>Associate property <em>Name</em> and <em>Value</em> to an object.</p> </dd> </dl> <p> </p> <h2>AUTHOR</h2> <p><a href="mailto:msud@san.rr.com">Manish Sud</a></p> <p> </p> <h2>COPYRIGHT</h2> <p>Copyright (C) 2015 Manish Sud. All rights reserved.</p> <p>This file is part of MayaChemTools.</p> <p>MayaChemTools is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.</p> <p> </p><p> </p><div class="DocNav"> <table width="100%" border=0 cellpadding=0 cellspacing=2> <tr align="left" valign="top"><td width="33%" align="left"><a href="./NucleicAcids.html" title="NucleicAcids.html">Previous</a> <a href="./index.html" title="Table of Contents">TOC</a> <a href="./PackageInfo.html" title="PackageInfo.html">Next</a></td><td width="34%" align="middle"><strong>March 29, 2015</strong></td><td width="33%" align="right"><strong>ObjectProperty.pm</strong></td></tr> </table> </div> <br /> <center> <img src="../../images/h2o2.png"> </center> </body> </html>