Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > 5a66f78c3126f8bc835d208119a78256 > files > 330

libwpd-devel-0.10.0-3.mga5.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>WP5VariableLengthGroup.h Source File documentation</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.8.8 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('WP5VariableLengthGroup_8h_source.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">WP5VariableLengthGroup.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="WP5VariableLengthGroup_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">/* libwpd</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * Version: MPL 2.0 / LGPLv2.1+</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * This Source Code Form is subject to the terms of the Mozilla Public</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * License, v. 2.0. If a copy of the MPL was not distributed with this</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * file, You can obtain one at http://mozilla.org/MPL/2.0/.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> * Major Contributor(s):</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> * Copyright (C) 2003 William Lachance (wrlach@gmail.com)</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * Copyright (C) 2003 Marc Maurer (uwog@uwog.net)</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * Copyright (C) 2006 Fridrich Strba (fridrich.strba@bluewin.ch)</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * For minor contributions see the git repository.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> * Alternatively, the contents of this file may be used under the terms</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> * of the GNU Lesser General Public License Version 2.1 or later</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> * (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> * applicable instead of those above.</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> * For further information visit http://libwpd.sourceforge.net</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment">/* &quot;This product is not manufactured, approved, or supported by</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> * Corel Corporation or Corel Corporation Limited.&quot;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#ifndef WP5VARIABLELENGTHGROUP_H</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">#define WP5VARIABLELENGTHGROUP_H</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="WP5Part_8h.html">WP5Part.h</a>&quot;</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="classWP5VariableLengthGroup__SubGroup.html">   33</a></span>&#160;<span class="keyword">class </span><a class="code" href="classWP5VariableLengthGroup__SubGroup.html">WP5VariableLengthGroup_SubGroup</a></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;{</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classWP5VariableLengthGroup__SubGroup.html#a284f425343c0b982cac33a1141f42d84">   36</a></span>&#160;        <span class="keyword">virtual</span> <a class="code" href="classWP5VariableLengthGroup__SubGroup.html#a284f425343c0b982cac33a1141f42d84">~WP5VariableLengthGroup_SubGroup</a>() {}</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classWP5VariableLengthGroup__SubGroup.html#abecc4412d4cd4e743d7e26decda4d363">parse</a>(<a class="code" href="classWP5Listener.html">WP5Listener</a> *listener) = 0;</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;};</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classWP5VariableLengthGroup.html">   40</a></span>&#160;<span class="keyword">class </span><a class="code" href="classWP5VariableLengthGroup.html">WP5VariableLengthGroup</a> : <span class="keyword">public</span> <a class="code" href="classWP5Part.html">WP5Part</a></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;{</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;        <a class="code" href="classWP5VariableLengthGroup.html#ae0c604e4d851427fb46678164ea8504d">WP5VariableLengthGroup</a>(); <span class="comment">// WP5VariableLengthGroup should _never_ be constructed, only its inherited classes</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="classWP5VariableLengthGroup.html#adf98e4fd50dca09de8c299afcb8ebdfe">   44</a></span>&#160;        <span class="keyword">virtual</span> <a class="code" href="classWP5VariableLengthGroup.html#adf98e4fd50dca09de8c299afcb8ebdfe">~WP5VariableLengthGroup</a>() {}</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;        <span class="keyword">static</span> <a class="code" href="classWP5VariableLengthGroup.html">WP5VariableLengthGroup</a> *<a class="code" href="classWP5VariableLengthGroup.html#a836b0d49a74c306e357af5ae74d25641">constructVariableLengthGroup</a>(librevenge::RVNGInputStream *input, <a class="code" href="classWPXEncryption.html">WPXEncryption</a> *encryption, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> group);</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;        <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="classWP5VariableLengthGroup.html#a947588183fd5b8cd732e7b91c896ad53">isGroupConsistent</a>(librevenge::RVNGInputStream *input, <a class="code" href="classWPXEncryption.html">WPXEncryption</a> *encryption, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> group);</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;        <span class="keywordtype">void</span> <a class="code" href="classWP5VariableLengthGroup.html#a0f7fe6f36114c18ab1605f198e46852c">_read</a>(librevenge::RVNGInputStream *input, <a class="code" href="classWPXEncryption.html">WPXEncryption</a> *encryption);</div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classWP5VariableLengthGroup.html#a2522d1dcd9b0dde626851ca01c2dc6b8">   52</a></span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classWP5VariableLengthGroup.html#a2522d1dcd9b0dde626851ca01c2dc6b8">_readContents</a>(librevenge::RVNGInputStream * <span class="comment">/* input */</span>, <a class="code" href="classWPXEncryption.html">WPXEncryption</a> * <span class="comment">/* encryption */</span>) {} <span class="comment">// we don&#39;t always need more information than that provided generically</span></div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classWP5VariableLengthGroup.html#a2ed38d999f380264b19a703219b5cfa9">   54</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="classWP5VariableLengthGroup.html#a2ed38d999f380264b19a703219b5cfa9">getSubGroup</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="keyword">        </span>{</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;                <span class="keywordflow">return</span> <a class="code" href="classWP5VariableLengthGroup.html#aeda6bf4a65535d224d352b71b53ad04a">m_subGroup</a>;</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;        }</div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classWP5VariableLengthGroup.html#a69d9b61358872655cff3736b9031b9e6">   58</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="classWP5VariableLengthGroup.html#a69d9b61358872655cff3736b9031b9e6">getSize</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="keyword">        </span>{</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;                <span class="keywordflow">return</span> <a class="code" href="classWP5VariableLengthGroup.html#ab53e2986f9423d7c0fb93e9441bee353">m_size</a>;</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;        }</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="classWP5VariableLengthGroup.html#aeda6bf4a65535d224d352b71b53ad04a">   64</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="classWP5VariableLengthGroup.html#aeda6bf4a65535d224d352b71b53ad04a">m_subGroup</a>;</div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="classWP5VariableLengthGroup.html#ab53e2986f9423d7c0fb93e9441bee353">   65</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="classWP5VariableLengthGroup.html#ab53e2986f9423d7c0fb93e9441bee353">m_size</a>;</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;};</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* WP5VARIABLELENGTHGROUP_H */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="comment">/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */</span></div>
<div class="ttc" id="classWP5VariableLengthGroup_html_adf98e4fd50dca09de8c299afcb8ebdfe"><div class="ttname"><a href="classWP5VariableLengthGroup.html#adf98e4fd50dca09de8c299afcb8ebdfe">WP5VariableLengthGroup::~WP5VariableLengthGroup</a></div><div class="ttdeci">virtual ~WP5VariableLengthGroup()</div><div class="ttdef"><b>Definition:</b> WP5VariableLengthGroup.h:44</div></div>
<div class="ttc" id="classWP5Listener_html"><div class="ttname"><a href="classWP5Listener.html">WP5Listener</a></div><div class="ttdef"><b>Definition:</b> WP5Listener.h:39</div></div>
<div class="ttc" id="classWP5VariableLengthGroup_html_a2ed38d999f380264b19a703219b5cfa9"><div class="ttname"><a href="classWP5VariableLengthGroup.html#a2ed38d999f380264b19a703219b5cfa9">WP5VariableLengthGroup::getSubGroup</a></div><div class="ttdeci">unsigned char getSubGroup() const </div><div class="ttdef"><b>Definition:</b> WP5VariableLengthGroup.h:54</div></div>
<div class="ttc" id="classWP5Part_html"><div class="ttname"><a href="classWP5Part.html">WP5Part</a></div><div class="ttdef"><b>Definition:</b> WP5Part.h:37</div></div>
<div class="ttc" id="classWP5VariableLengthGroup_html_ae0c604e4d851427fb46678164ea8504d"><div class="ttname"><a href="classWP5VariableLengthGroup.html#ae0c604e4d851427fb46678164ea8504d">WP5VariableLengthGroup::WP5VariableLengthGroup</a></div><div class="ttdeci">WP5VariableLengthGroup()</div><div class="ttdef"><b>Definition:</b> WP5VariableLengthGroup.cpp:40</div></div>
<div class="ttc" id="WP5Part_8h_html"><div class="ttname"><a href="WP5Part_8h.html">WP5Part.h</a></div></div>
<div class="ttc" id="classWP5VariableLengthGroup_html_a836b0d49a74c306e357af5ae74d25641"><div class="ttname"><a href="classWP5VariableLengthGroup.html#a836b0d49a74c306e357af5ae74d25641">WP5VariableLengthGroup::constructVariableLengthGroup</a></div><div class="ttdeci">static WP5VariableLengthGroup * constructVariableLengthGroup(librevenge::RVNGInputStream *input, WPXEncryption *encryption, const unsigned char group)</div><div class="ttdef"><b>Definition:</b> WP5VariableLengthGroup.cpp:46</div></div>
<div class="ttc" id="classWP5VariableLengthGroup_html_a947588183fd5b8cd732e7b91c896ad53"><div class="ttname"><a href="classWP5VariableLengthGroup.html#a947588183fd5b8cd732e7b91c896ad53">WP5VariableLengthGroup::isGroupConsistent</a></div><div class="ttdeci">static bool isGroupConsistent(librevenge::RVNGInputStream *input, WPXEncryption *encryption, const unsigned char group)</div><div class="ttdef"><b>Definition:</b> WP5VariableLengthGroup.cpp:73</div></div>
<div class="ttc" id="classWP5VariableLengthGroup_html_a0f7fe6f36114c18ab1605f198e46852c"><div class="ttname"><a href="classWP5VariableLengthGroup.html#a0f7fe6f36114c18ab1605f198e46852c">WP5VariableLengthGroup::_read</a></div><div class="ttdeci">void _read(librevenge::RVNGInputStream *input, WPXEncryption *encryption)</div><div class="ttdef"><b>Definition:</b> WP5VariableLengthGroup.cpp:113</div></div>
<div class="ttc" id="classWP5VariableLengthGroup_html_ab53e2986f9423d7c0fb93e9441bee353"><div class="ttname"><a href="classWP5VariableLengthGroup.html#ab53e2986f9423d7c0fb93e9441bee353">WP5VariableLengthGroup::m_size</a></div><div class="ttdeci">unsigned short m_size</div><div class="ttdef"><b>Definition:</b> WP5VariableLengthGroup.h:65</div></div>
<div class="ttc" id="classWP5VariableLengthGroup_html_a2522d1dcd9b0dde626851ca01c2dc6b8"><div class="ttname"><a href="classWP5VariableLengthGroup.html#a2522d1dcd9b0dde626851ca01c2dc6b8">WP5VariableLengthGroup::_readContents</a></div><div class="ttdeci">virtual void _readContents(librevenge::RVNGInputStream *, WPXEncryption *)</div><div class="ttdef"><b>Definition:</b> WP5VariableLengthGroup.h:52</div></div>
<div class="ttc" id="classWP5VariableLengthGroup_html"><div class="ttname"><a href="classWP5VariableLengthGroup.html">WP5VariableLengthGroup</a></div><div class="ttdef"><b>Definition:</b> WP5VariableLengthGroup.h:40</div></div>
<div class="ttc" id="classWP5VariableLengthGroup__SubGroup_html"><div class="ttname"><a href="classWP5VariableLengthGroup__SubGroup.html">WP5VariableLengthGroup_SubGroup</a></div><div class="ttdef"><b>Definition:</b> WP5VariableLengthGroup.h:33</div></div>
<div class="ttc" id="classWPXEncryption_html"><div class="ttname"><a href="classWPXEncryption.html">WPXEncryption</a></div><div class="ttdef"><b>Definition:</b> WPXEncryption.h:33</div></div>
<div class="ttc" id="classWP5VariableLengthGroup__SubGroup_html_a284f425343c0b982cac33a1141f42d84"><div class="ttname"><a href="classWP5VariableLengthGroup__SubGroup.html#a284f425343c0b982cac33a1141f42d84">WP5VariableLengthGroup_SubGroup::~WP5VariableLengthGroup_SubGroup</a></div><div class="ttdeci">virtual ~WP5VariableLengthGroup_SubGroup()</div><div class="ttdef"><b>Definition:</b> WP5VariableLengthGroup.h:36</div></div>
<div class="ttc" id="classWP5VariableLengthGroup__SubGroup_html_abecc4412d4cd4e743d7e26decda4d363"><div class="ttname"><a href="classWP5VariableLengthGroup__SubGroup.html#abecc4412d4cd4e743d7e26decda4d363">WP5VariableLengthGroup_SubGroup::parse</a></div><div class="ttdeci">virtual void parse(WP5Listener *listener)=0</div></div>
<div class="ttc" id="classWP5VariableLengthGroup_html_aeda6bf4a65535d224d352b71b53ad04a"><div class="ttname"><a href="classWP5VariableLengthGroup.html#aeda6bf4a65535d224d352b71b53ad04a">WP5VariableLengthGroup::m_subGroup</a></div><div class="ttdeci">unsigned char m_subGroup</div><div class="ttdef"><b>Definition:</b> WP5VariableLengthGroup.h:64</div></div>
<div class="ttc" id="classWP5VariableLengthGroup_html_a69d9b61358872655cff3736b9031b9e6"><div class="ttname"><a href="classWP5VariableLengthGroup.html#a69d9b61358872655cff3736b9031b9e6">WP5VariableLengthGroup::getSize</a></div><div class="ttdeci">unsigned short getSize() const </div><div class="ttdef"><b>Definition:</b> WP5VariableLengthGroup.h:58</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<hr size="1"><address style="align: right;"><small>
Generated for libwpd by <a href="http://www.doxygen.org/index.html">
doxygen</a> 1.8.8</small></address>
</body>
</html>