Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 3e60ff9d4d6f58c8fbd17208f14089fa > files > 296

octave-doc-3.2.3-3mdv2010.0.i586.rpm

<html lang="en">
<head>
<title>Object Oriented Programming - Untitled</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Untitled">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="prev" href="Audio-Processing.html#Audio-Processing" title="Audio Processing">
<link rel="next" href="System-Utilities.html#System-Utilities" title="System Utilities">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
  pre.display { font-family:inherit }
  pre.format  { font-family:inherit }
  pre.smalldisplay { font-family:inherit; font-size:smaller }
  pre.smallformat  { font-family:inherit; font-size:smaller }
  pre.smallexample { font-size:smaller }
  pre.smalllisp    { font-size:smaller }
  span.sc    { font-variant:small-caps }
  span.roman { font-family:serif; font-weight:normal; } 
  span.sansserif { font-family:sans-serif; font-weight:normal; } 
--></style>
</head>
<body>
<div class="node">
<a name="Object-Oriented-Programming"></a>
<p>
Next:&nbsp;<a rel="next" accesskey="n" href="System-Utilities.html#System-Utilities">System Utilities</a>,
Previous:&nbsp;<a rel="previous" accesskey="p" href="Audio-Processing.html#Audio-Processing">Audio Processing</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="index.html#Top">Top</a>
<hr>
</div>

<h2 class="chapter">33 Object Oriented Programming</h2>

<p>Octave includes the capability to include user classes, including the
features of operator and function overloading.  Equally a user class
can be used to encapsulate certain properties of the class so that
they cannot be altered accidentally and can be set up to address the
issue of class precedence in mixed class operations.

   <p>This chapter discussions the means of constructing a user class with
the example of a polynomial class, how to query and set the properties
of this class, together with the means to overload operators and
functions.

<ul class="menu">
<li><a accesskey="1" href="Creating-a-Class.html#Creating-a-Class">Creating a Class</a>
<li><a accesskey="2" href="Manipulating-Classes.html#Manipulating-Classes">Manipulating Classes</a>
<li><a accesskey="3" href="Indexing-Objects.html#Indexing-Objects">Indexing Objects</a>
<li><a accesskey="4" href="Overloading-Objects.html#Overloading-Objects">Overloading Objects</a>
<li><a accesskey="5" href="Inheritance-and-Aggregation.html#Inheritance-and-Aggregation">Inheritance and Aggregation</a>
</ul>

   </body></html>