<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="html/html; charset=utf-8" /> <title>NumberValue Class Reference</title> <meta id="xcode-display" name="xcode-display" content="render"/> <meta name="viewport" content="width=550" /> <link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" /> <link rel="stylesheet" type="text/css" media="print" href="../css/stylesPrint.css" /> <meta name="generator" content="appledoc 2.2 (build 961)" /> </head> <body> <div id="em-wrapper"> <style> #utility_bar { position: relative; height: 35px; /*background: #231f20 url(../images/bg_tagline.png) no-repeat right center;*/ background: #231f20 url(http://www.emmoco.com/images/bg_tagline.png) no-repeat right center; color: #efefef; overflow: hidden; padding-left: 10px; } #utility_bar p { margin-top: 9px; margin-bottom: 0; } #utility_bar a { color: #efefef; margin-right: 15px; padding: 2px; } #utility_bar a:hover { color: #fff; } #utility_bar a.selected { text-decoration: none; background-color: #555; } </style> <!-- begin utility bar --> <div id="utility_bar"> <!-- user info / logout link --> <p> <a href="http://em-hub.com/">Em-Hub</a> <a href="http://wiki.emmoco.com/">Wiki</a> <a href="http://android.emmoco.com/">Android Docs</a> <a class="selected" href="http://ios.emmoco.com/">iOS Docs</a> <a href="http://support.emmoco.com/">Support</a> </p> </div> <!-- end utility bar --> <header id="top_header"> <div id="library" class="hideInXcode"> <h1><a id="libraryTitle" href="../index.html">iOS Framework </a></h1> <a id="developerHome" href="../index.html">Emmoco, Inc.</a> </div> <div id="title" role="banner"> <h1 class="hideInXcode">NumberValue Class Reference</h1> </div> <ul id="headerButtons" role="toolbar"> <li id="toc_button"> <button aria-label="Show Table of Contents" role="checkbox" class="open" id="table_of_contents"><span class="disclosure"></span>Table of Contents</button> </li> <li id="jumpto_button" role="navigation"> <select id="jumpTo"> <option value="top">Jump To…</option> <option value="tasks">Tasks</option> <option value="instance_methods">Instance Methods</option> <option value="//api/name/copyFromResource:"> - copyFromResource:</option> <option value="//api/name/doubleValue"> - doubleValue</option> <option value="//api/name/enumValues"> - enumValues</option> <option value="//api/name/fieldNames"> - fieldNames</option> <option value="//api/name/fileEof"> - fileEof</option> <option value="//api/name/fileFetch"> - fileFetch</option> <option value="//api/name/fileStore"> - fileStore</option> <option value="//api/name/getDataOfSize:fromBuffer:"> - getDataOfSize:fromBuffer:</option> <option value="//api/name/index:"> - index:</option> <option value="//api/name/initWithName:type:schema:"> - initWithName:type:schema:</option> <option value="//api/name/length"> - length</option> <option value="//api/name/longValue"> - longValue</option> <option value="//api/name/max"> - max</option> <option value="//api/name/min"> - min</option> <option value="//api/name/putData:"> - putData:</option> <option value="//api/name/reset"> - reset</option> <option value="//api/name/select:"> - select:</option> <option value="//api/name/setDoubleValue:"> - setDoubleValue:</option> <option value="//api/name/setLongValue:"> - setLongValue:</option> <option value="//api/name/setStringValue:"> - setStringValue:</option> <option value="//api/name/step"> - step</option> <option value="//api/name/stringValue"> - stringValue</option> </select> </li> </ul> </header> <nav id="tocContainer" class="isShowingTOC"> <ul id="toc" role="tree"> <li role="treeitem" id="task_treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#tasks">Tasks</a></span><ul> </ul></li> <li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#instance_methods">Instance Methods</a></span><ul> <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/copyFromResource:">copyFromResource:</a></span></li> <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/doubleValue">doubleValue</a></span></li> <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/enumValues">enumValues</a></span></li> <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/fieldNames">fieldNames</a></span></li> <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/fileEof">fileEof</a></span></li> <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/fileFetch">fileFetch</a></span></li> <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/fileStore">fileStore</a></span></li> <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/getDataOfSize:fromBuffer:">getDataOfSize:fromBuffer:</a></span></li> <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/index:">index:</a></span></li> <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/initWithName:type:schema:">initWithName:type:schema:</a></span></li> <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/length">length</a></span></li> <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/longValue">longValue</a></span></li> <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/max">max</a></span></li> <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/min">min</a></span></li> <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/putData:">putData:</a></span></li> <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/reset">reset</a></span></li> <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/select:">select:</a></span></li> <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/setDoubleValue:">setDoubleValue:</a></span></li> <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/setLongValue:">setLongValue:</a></span></li> <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/setStringValue:">setStringValue:</a></span></li> <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/step">step</a></span></li> <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/stringValue">stringValue</a></span></li> </ul></li> </ul> </nav> <article> <div id="contents" class="isShowingTOC" role="main"> <a title="NumberValue Class Reference" name="top"></a> <div class="main-navigation navigation-top"> <ul> <li><a href="../index.html">Index</a></li> <li><a href="../hierarchy.html">Hierarchy</a></li> </ul> </div> <div id="header"> <div class="section-header"> <h1 class="title title-header">NumberValue Class Reference</h1> </div> </div> <div id="container"> <div class="section section-specification"><table cellspacing="0"><tbody> <tr> <td class="specification-title">Inherits from</td> <td class="specification-value"><a href="../Classes/EMResourceValue.html">EMResourceValue</a> : NSObject</td> </tr><tr> <td class="specification-title">Conforms to</td> <td class="specification-value"><a href="../Protocols/EMResourceValueProtocol.html">EMResourceValueProtocol</a></td> </tr><tr> <td class="specification-title">Declared in</td> <td class="specification-value">EMResourceValue.m</td> </tr> </tbody></table></div> <div class="section section-tasks"> <a title="Tasks" name="tasks"></a> <h2 class="subtitle subtitle-tasks">Tasks</h2> <ul class="task-list"> <li> <span class="tooltip"> <code><a href="#//api/name/initWithName:type:schema:">– initWithName:type:schema:</a></code> </span> </li><li> <span class="tooltip"> <code><a href="#//api/name/putData:">– putData:</a></code> </span> </li><li> <span class="tooltip"> <code><a href="#//api/name/getDataOfSize:fromBuffer:">– getDataOfSize:fromBuffer:</a></code> </span> </li><li> <span class="tooltip"> <code><a href="#//api/name/setDoubleValue:">– setDoubleValue:</a></code> </span> </li><li> <span class="tooltip"> <code><a href="#//api/name/setLongValue:">– setLongValue:</a></code> </span> </li><li> <span class="tooltip"> <code><a href="#//api/name/setStringValue:">– setStringValue:</a></code> </span> </li><li> <span class="tooltip"> <code><a href="#//api/name/doubleValue">– doubleValue</a></code> </span> </li><li> <span class="tooltip"> <code><a href="#//api/name/longValue">– longValue</a></code> </span> </li><li> <span class="tooltip"> <code><a href="#//api/name/stringValue">– stringValue</a></code> </span> </li><li> <span class="tooltip"> <code><a href="#//api/name/copyFromResource:">– copyFromResource:</a></code> </span> </li><li> <span class="tooltip"> <code><a href="#//api/name/reset">– reset</a></code> </span> </li><li> <span class="tooltip"> <code><a href="#//api/name/min">– min</a></code> </span> </li><li> <span class="tooltip"> <code><a href="#//api/name/max">– max</a></code> </span> </li><li> <span class="tooltip"> <code><a href="#//api/name/step">– step</a></code> </span> </li><li> <span class="tooltip"> <code><a href="#//api/name/length">– length</a></code> </span> </li><li> <span class="tooltip"> <code><a href="#//api/name/enumValues">– enumValues</a></code> </span> </li><li> <span class="tooltip"> <code><a href="#//api/name/fieldNames">– fieldNames</a></code> </span> </li><li> <span class="tooltip"> <code><a href="#//api/name/index:">– index:</a></code> </span> </li><li> <span class="tooltip"> <code><a href="#//api/name/select:">– select:</a></code> </span> </li><li> <span class="tooltip"> <code><a href="#//api/name/fileEof">– fileEof</a></code> </span> </li><li> <span class="tooltip"> <code><a href="#//api/name/fileFetch">– fileFetch</a></code> </span> </li><li> <span class="tooltip"> <code><a href="#//api/name/fileStore">– fileStore</a></code> </span> </li> </ul> </div> <div class="section section-methods"> <a title="Instance Methods" name="instance_methods"></a> <h2 class="subtitle subtitle-methods">Instance Methods</h2> <div class="section-method"> <a name="//api/name/copyFromResource:" title="copyFromResource:"></a> <h3 class="subsubtitle method-title">copyFromResource:</h3> <div class="method-subsection method-declaration"><code>- (void)copyFromResource:(EMResourceValue *)<em>source</em></code></div> <div class="method-subsection declared-in-section"> <h4 class="method-subtitle">Declared In</h4> <code class="declared-in-ref">EMResourceValue.h</code><br /> </div> </div> <div class="section-method"> <a name="//api/name/doubleValue" title="doubleValue"></a> <h3 class="subsubtitle method-title">doubleValue</h3> <div class="method-subsection method-declaration"><code>- (double)doubleValue</code></div> <div class="method-subsection declared-in-section"> <h4 class="method-subtitle">Declared In</h4> <code class="declared-in-ref">EMResourceValue.h</code><br /> </div> </div> <div class="section-method"> <a name="//api/name/enumValues" title="enumValues"></a> <h3 class="subsubtitle method-title">enumValues</h3> <div class="method-subsection method-declaration"><code>- (NSArray *)enumValues</code></div> <div class="method-subsection declared-in-section"> <h4 class="method-subtitle">Declared In</h4> <code class="declared-in-ref">EMResourceValue.h</code><br /> </div> </div> <div class="section-method"> <a name="//api/name/fieldNames" title="fieldNames"></a> <h3 class="subsubtitle method-title">fieldNames</h3> <div class="method-subsection method-declaration"><code>- (NSArray *)fieldNames</code></div> <div class="method-subsection declared-in-section"> <h4 class="method-subtitle">Declared In</h4> <code class="declared-in-ref">EMResourceValue.h</code><br /> </div> </div> <div class="section-method"> <a name="//api/name/fileEof" title="fileEof"></a> <h3 class="subsubtitle method-title">fileEof</h3> <div class="method-subsection method-declaration"><code>- (BOOL)fileEof</code></div> <div class="method-subsection declared-in-section"> <h4 class="method-subtitle">Declared In</h4> <code class="declared-in-ref">EMResourceValue.h</code><br /> </div> </div> <div class="section-method"> <a name="//api/name/fileFetch" title="fileFetch"></a> <h3 class="subsubtitle method-title">fileFetch</h3> <div class="method-subsection method-declaration"><code>- (void)fileFetch</code></div> <div class="method-subsection declared-in-section"> <h4 class="method-subtitle">Declared In</h4> <code class="declared-in-ref">EMResourceValue.h</code><br /> </div> </div> <div class="section-method"> <a name="//api/name/fileStore" title="fileStore"></a> <h3 class="subsubtitle method-title">fileStore</h3> <div class="method-subsection method-declaration"><code>- (void)fileStore</code></div> <div class="method-subsection declared-in-section"> <h4 class="method-subtitle">Declared In</h4> <code class="declared-in-ref">EMResourceValue.h</code><br /> </div> </div> <div class="section-method"> <a name="//api/name/getDataOfSize:fromBuffer:" title="getDataOfSize:fromBuffer:"></a> <h3 class="subsubtitle method-title">getDataOfSize:fromBuffer:</h3> <div class="method-subsection method-declaration"><code>- (void)getDataOfSize:(int)<em>dataSize</em> fromBuffer:(EMSerialPacket *)<em>buffer</em></code></div> <div class="method-subsection declared-in-section"> <h4 class="method-subtitle">Declared In</h4> <code class="declared-in-ref">EMResourceValue.h</code><br /> </div> </div> <div class="section-method"> <a name="//api/name/index:" title="index:"></a> <h3 class="subsubtitle method-title">index:</h3> <div class="method-subsection method-declaration"><code>- (EMResourceValue *)index:(int)<em>index</em></code></div> <div class="method-subsection declared-in-section"> <h4 class="method-subtitle">Declared In</h4> <code class="declared-in-ref">EMResourceValue.h</code><br /> </div> </div> <div class="section-method"> <a name="//api/name/initWithName:type:schema:" title="initWithName:type:schema:"></a> <h3 class="subsubtitle method-title">initWithName:type:schema:</h3> <div class="method-subsection method-declaration"><code>- (id)initWithName:(NSString *)<em>theName</em> type:(NSString *)<em>theType</em> schema:(EMSchema *)<em>theResourceSchema</em></code></div> <div class="method-subsection declared-in-section"> <h4 class="method-subtitle">Declared In</h4> <code class="declared-in-ref">EMResourceValue.h</code><br /> </div> </div> <div class="section-method"> <a name="//api/name/length" title="length"></a> <h3 class="subsubtitle method-title">length</h3> <div class="method-subsection method-declaration"><code>- (long)length</code></div> <div class="method-subsection declared-in-section"> <h4 class="method-subtitle">Declared In</h4> <code class="declared-in-ref">EMResourceValue.h</code><br /> </div> </div> <div class="section-method"> <a name="//api/name/longValue" title="longValue"></a> <h3 class="subsubtitle method-title">longValue</h3> <div class="method-subsection method-declaration"><code>- (long long)longValue</code></div> <div class="method-subsection declared-in-section"> <h4 class="method-subtitle">Declared In</h4> <code class="declared-in-ref">EMResourceValue.h</code><br /> </div> </div> <div class="section-method"> <a name="//api/name/max" title="max"></a> <h3 class="subsubtitle method-title">max</h3> <div class="method-subsection method-declaration"><code>- (double)max</code></div> <div class="method-subsection declared-in-section"> <h4 class="method-subtitle">Declared In</h4> <code class="declared-in-ref">EMResourceValue.h</code><br /> </div> </div> <div class="section-method"> <a name="//api/name/min" title="min"></a> <h3 class="subsubtitle method-title">min</h3> <div class="method-subsection method-declaration"><code>- (double)min</code></div> <div class="method-subsection declared-in-section"> <h4 class="method-subtitle">Declared In</h4> <code class="declared-in-ref">EMResourceValue.h</code><br /> </div> </div> <div class="section-method"> <a name="//api/name/putData:" title="putData:"></a> <h3 class="subsubtitle method-title">putData:</h3> <div class="method-subsection method-declaration"><code>- (void)putData:(EMSerialPacket *)<em>buffer</em></code></div> <div class="method-subsection declared-in-section"> <h4 class="method-subtitle">Declared In</h4> <code class="declared-in-ref">EMResourceValue.h</code><br /> </div> </div> <div class="section-method"> <a name="//api/name/reset" title="reset"></a> <h3 class="subsubtitle method-title">reset</h3> <div class="method-subsection method-declaration"><code>- (void)reset</code></div> <div class="method-subsection declared-in-section"> <h4 class="method-subtitle">Declared In</h4> <code class="declared-in-ref">EMResourceValue.h</code><br /> </div> </div> <div class="section-method"> <a name="//api/name/select:" title="select:"></a> <h3 class="subsubtitle method-title">select:</h3> <div class="method-subsection method-declaration"><code>- (EMResourceValue *)select:(NSString *)<em>fieldName</em></code></div> <div class="method-subsection declared-in-section"> <h4 class="method-subtitle">Declared In</h4> <code class="declared-in-ref">EMResourceValue.h</code><br /> </div> </div> <div class="section-method"> <a name="//api/name/setDoubleValue:" title="setDoubleValue:"></a> <h3 class="subsubtitle method-title">setDoubleValue:</h3> <div class="method-subsection method-declaration"><code>- (void)setDoubleValue:(double)<em>newValue</em></code></div> <div class="method-subsection declared-in-section"> <h4 class="method-subtitle">Declared In</h4> <code class="declared-in-ref">EMResourceValue.h</code><br /> </div> </div> <div class="section-method"> <a name="//api/name/setLongValue:" title="setLongValue:"></a> <h3 class="subsubtitle method-title">setLongValue:</h3> <div class="method-subsection method-declaration"><code>- (void)setLongValue:(long long)<em>newValue</em></code></div> <div class="method-subsection declared-in-section"> <h4 class="method-subtitle">Declared In</h4> <code class="declared-in-ref">EMResourceValue.h</code><br /> </div> </div> <div class="section-method"> <a name="//api/name/setStringValue:" title="setStringValue:"></a> <h3 class="subsubtitle method-title">setStringValue:</h3> <div class="method-subsection method-declaration"><code>- (void)setStringValue:(NSString *)<em>newValue</em></code></div> <div class="method-subsection declared-in-section"> <h4 class="method-subtitle">Declared In</h4> <code class="declared-in-ref">EMResourceValue.h</code><br /> </div> </div> <div class="section-method"> <a name="//api/name/step" title="step"></a> <h3 class="subsubtitle method-title">step</h3> <div class="method-subsection method-declaration"><code>- (double)step</code></div> <div class="method-subsection declared-in-section"> <h4 class="method-subtitle">Declared In</h4> <code class="declared-in-ref">EMResourceValue.h</code><br /> </div> </div> <div class="section-method"> <a name="//api/name/stringValue" title="stringValue"></a> <h3 class="subsubtitle method-title">stringValue</h3> <div class="method-subsection method-declaration"><code>- (NSString *)stringValue</code></div> <div class="method-subsection declared-in-section"> <h4 class="method-subtitle">Declared In</h4> <code class="declared-in-ref">EMResourceValue.h</code><br /> </div> </div> </div> </div> <div class="main-navigation navigation-bottom"> <ul> <li><a href="../index.html">Index</a></li> <li><a href="../hierarchy.html">Hierarchy</a></li> </ul> </div> <div id="footer"> <hr /> <style> #em-footer { background-color: #fff; height: 100px; font-size: 90%; overflow: hidden; } #em-footer_logo_container { position: relative; background-color: #d2d2d2; height: 70px; margin-bottom: 3px; } #em-footer_logo_container a { position: absolute; right: 7px; top: 7px; } </style> <!-- begin em-footer --> <div id="em-footer"> <div id="em-footer_logo_container"><a href="http://www.emmoco.com/"><img src="http://www.emmoco.com/images/logo_emhub_footer.png" alt="" width="85" height="57" alt="EMMOCO LOGO" /></a></div> </div> <div class="footer-copyright"> <p><span class="copyright">© 2014 Emmoco, Inc.. All rights reserved. (Last updated: 2014-02-20)</span><br /> <span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p> </div> </div> </div> </article> <script type="text/javascript"> function jumpToChange() { window.location.hash = this.options[this.selectedIndex].value; } function toggleTOC() { var contents = document.getElementById('contents'); var tocContainer = document.getElementById('tocContainer'); if (this.getAttribute('class') == 'open') { this.setAttribute('class', ''); contents.setAttribute('class', ''); tocContainer.setAttribute('class', ''); window.name = "hideTOC"; } else { this.setAttribute('class', 'open'); contents.setAttribute('class', 'isShowingTOC'); tocContainer.setAttribute('class', 'isShowingTOC'); window.name = ""; } return false; } function toggleTOCEntryChildren(e) { e.stopPropagation(); var currentClass = this.getAttribute('class'); if (currentClass == 'children') { this.setAttribute('class', 'children open'); } else if (currentClass == 'children open') { this.setAttribute('class', 'children'); } return false; } function tocEntryClick(e) { e.stopPropagation(); return true; } function init() { var selectElement = document.getElementById('jumpTo'); selectElement.addEventListener('change', jumpToChange, false); var tocButton = document.getElementById('table_of_contents'); tocButton.addEventListener('click', toggleTOC, false); var taskTreeItem = document.getElementById('task_treeitem'); if (taskTreeItem.getElementsByTagName('li').length > 0) { taskTreeItem.setAttribute('class', 'children'); taskTreeItem.firstChild.setAttribute('class', 'disclosure'); } var tocList = document.getElementById('toc'); var tocEntries = tocList.getElementsByTagName('li'); for (var i = 0; i < tocEntries.length; i++) { tocEntries[i].addEventListener('click', toggleTOCEntryChildren, false); } var tocLinks = tocList.getElementsByTagName('a'); for (var i = 0; i < tocLinks.length; i++) { tocLinks[i].addEventListener('click', tocEntryClick, false); } if (window.name == "hideTOC") { toggleTOC.call(tocButton); } } window.onload = init; </script> </body> </html>