Sophie

Sophie

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

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>WP1VariableLengthGroup.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('WP1VariableLengthGroup_8h_source.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">WP1VariableLengthGroup.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="WP1VariableLengthGroup_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 WP1VARIABLELENGTHGROUP_H</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">#define WP1VARIABLELENGTHGROUP_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="WP1Part_8h.html">WP1Part.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="classWP1VariableLengthGroup.html">   33</a></span>&#160;<span class="keyword">class </span><a class="code" href="classWP1VariableLengthGroup.html">WP1VariableLengthGroup</a> : <span class="keyword">public</span> <a class="code" href="classWP1Part.html">WP1Part</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">   36</span>&#160;        <a class="code" href="classWP1VariableLengthGroup.html#a679a5f3fc3f8f758f1066398d952014d">WP1VariableLengthGroup</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> group); <span class="comment">// WP1VariableLengthGroup should _never_ be constructed, only its inherited classes</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classWP1VariableLengthGroup.html#a78548c529bdbff70457944d16e851480">   37</a></span>&#160;        <span class="keyword">virtual</span> <a class="code" href="classWP1VariableLengthGroup.html#a78548c529bdbff70457944d16e851480">~WP1VariableLengthGroup</a>() {}</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;        <span class="keyword">static</span> <a class="code" href="classWP1VariableLengthGroup.html">WP1VariableLengthGroup</a> *<a class="code" href="classWP1VariableLengthGroup.html#a2ead0ea96cc4829cbfa74754e926d869">constructVariableLengthGroup</a>(librevenge::RVNGInputStream *input, <a class="code" href="classWPXEncryption.html">WPXEncryption</a> *encryption, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> group);</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;        <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="classWP1VariableLengthGroup.html#af36c98231e39218c60beb39c16ab7710">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="l00042"></a><span class="lineno">   42</span>&#160;</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;        <span class="keywordtype">void</span> <a class="code" href="classWP1VariableLengthGroup.html#a90ab3a005ee0193058d79949aed87ebd">_read</a>(librevenge::RVNGInputStream *input, <a class="code" href="classWPXEncryption.html">WPXEncryption</a> *encryption);</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classWP1VariableLengthGroup.html#a52fb45ea364fb68742af97847bc758b8">_readContents</a>(librevenge::RVNGInputStream *input, <a class="code" href="classWPXEncryption.html">WPXEncryption</a> *encryption) = 0;</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="classWP1VariableLengthGroup.html#a55273ef68c47f7f8ed9a6ab25febf077">   47</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="classWP1VariableLengthGroup.html#a55273ef68c47f7f8ed9a6ab25febf077">getGroup</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="keyword">        </span>{</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;                <span class="keywordflow">return</span> <a class="code" href="classWP1VariableLengthGroup.html#a8b133aeeeb55121738b6aa9d869b7d68">m_group</a>;</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;        }</div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="classWP1VariableLengthGroup.html#a3c9c8525162a6b9dc3929a91967e95a8">   51</a></span>&#160;        <span class="keywordtype">unsigned</span> <a class="code" href="classWP1VariableLengthGroup.html#a3c9c8525162a6b9dc3929a91967e95a8">getSize</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="keyword">        </span>{</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;                <span class="keywordflow">return</span> <a class="code" href="classWP1VariableLengthGroup.html#a1556c6fb69d6b3b770184757a0324303">m_size</a>;</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;        }</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="classWP1VariableLengthGroup.html#a8b133aeeeb55121738b6aa9d869b7d68">   57</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="classWP1VariableLengthGroup.html#a8b133aeeeb55121738b6aa9d869b7d68">m_group</a>;</div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classWP1VariableLengthGroup.html#a1556c6fb69d6b3b770184757a0324303">   58</a></span>&#160;        <span class="keywordtype">unsigned</span> <a class="code" href="classWP1VariableLengthGroup.html#a1556c6fb69d6b3b770184757a0324303">m_size</a>;</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;};</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* WP1VARIABLELENGTHGROUP_H */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="comment">/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */</span></div>
<div class="ttc" id="classWP1VariableLengthGroup_html_a1556c6fb69d6b3b770184757a0324303"><div class="ttname"><a href="classWP1VariableLengthGroup.html#a1556c6fb69d6b3b770184757a0324303">WP1VariableLengthGroup::m_size</a></div><div class="ttdeci">unsigned m_size</div><div class="ttdef"><b>Definition:</b> WP1VariableLengthGroup.h:58</div></div>
<div class="ttc" id="classWP1VariableLengthGroup_html_a679a5f3fc3f8f758f1066398d952014d"><div class="ttname"><a href="classWP1VariableLengthGroup.html#a679a5f3fc3f8f758f1066398d952014d">WP1VariableLengthGroup::WP1VariableLengthGroup</a></div><div class="ttdeci">WP1VariableLengthGroup(unsigned char group)</div><div class="ttdef"><b>Definition:</b> WP1VariableLengthGroup.cpp:38</div></div>
<div class="ttc" id="classWP1VariableLengthGroup_html"><div class="ttname"><a href="classWP1VariableLengthGroup.html">WP1VariableLengthGroup</a></div><div class="ttdef"><b>Definition:</b> WP1VariableLengthGroup.h:33</div></div>
<div class="ttc" id="classWP1VariableLengthGroup_html_a52fb45ea364fb68742af97847bc758b8"><div class="ttname"><a href="classWP1VariableLengthGroup.html#a52fb45ea364fb68742af97847bc758b8">WP1VariableLengthGroup::_readContents</a></div><div class="ttdeci">virtual void _readContents(librevenge::RVNGInputStream *input, WPXEncryption *encryption)=0</div></div>
<div class="ttc" id="classWP1VariableLengthGroup_html_a90ab3a005ee0193058d79949aed87ebd"><div class="ttname"><a href="classWP1VariableLengthGroup.html#a90ab3a005ee0193058d79949aed87ebd">WP1VariableLengthGroup::_read</a></div><div class="ttdeci">void _read(librevenge::RVNGInputStream *input, WPXEncryption *encryption)</div><div class="ttdef"><b>Definition:</b> WP1VariableLengthGroup.cpp:100</div></div>
<div class="ttc" id="classWP1VariableLengthGroup_html_a78548c529bdbff70457944d16e851480"><div class="ttname"><a href="classWP1VariableLengthGroup.html#a78548c529bdbff70457944d16e851480">WP1VariableLengthGroup::~WP1VariableLengthGroup</a></div><div class="ttdeci">virtual ~WP1VariableLengthGroup()</div><div class="ttdef"><b>Definition:</b> WP1VariableLengthGroup.h:37</div></div>
<div class="ttc" id="WP1Part_8h_html"><div class="ttname"><a href="WP1Part_8h.html">WP1Part.h</a></div></div>
<div class="ttc" id="classWP1VariableLengthGroup_html_af36c98231e39218c60beb39c16ab7710"><div class="ttname"><a href="classWP1VariableLengthGroup.html#af36c98231e39218c60beb39c16ab7710">WP1VariableLengthGroup::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> WP1VariableLengthGroup.cpp:62</div></div>
<div class="ttc" id="classWP1VariableLengthGroup_html_a55273ef68c47f7f8ed9a6ab25febf077"><div class="ttname"><a href="classWP1VariableLengthGroup.html#a55273ef68c47f7f8ed9a6ab25febf077">WP1VariableLengthGroup::getGroup</a></div><div class="ttdeci">unsigned char getGroup() const </div><div class="ttdef"><b>Definition:</b> WP1VariableLengthGroup.h:47</div></div>
<div class="ttc" id="classWP1VariableLengthGroup_html_a2ead0ea96cc4829cbfa74754e926d869"><div class="ttname"><a href="classWP1VariableLengthGroup.html#a2ead0ea96cc4829cbfa74754e926d869">WP1VariableLengthGroup::constructVariableLengthGroup</a></div><div class="ttdeci">static WP1VariableLengthGroup * constructVariableLengthGroup(librevenge::RVNGInputStream *input, WPXEncryption *encryption, unsigned char group)</div><div class="ttdef"><b>Definition:</b> WP1VariableLengthGroup.cpp:44</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="classWP1VariableLengthGroup_html_a8b133aeeeb55121738b6aa9d869b7d68"><div class="ttname"><a href="classWP1VariableLengthGroup.html#a8b133aeeeb55121738b6aa9d869b7d68">WP1VariableLengthGroup::m_group</a></div><div class="ttdeci">unsigned char m_group</div><div class="ttdef"><b>Definition:</b> WP1VariableLengthGroup.h:57</div></div>
<div class="ttc" id="classWP1VariableLengthGroup_html_a3c9c8525162a6b9dc3929a91967e95a8"><div class="ttname"><a href="classWP1VariableLengthGroup.html#a3c9c8525162a6b9dc3929a91967e95a8">WP1VariableLengthGroup::getSize</a></div><div class="ttdeci">unsigned getSize() const </div><div class="ttdef"><b>Definition:</b> WP1VariableLengthGroup.h:51</div></div>
<div class="ttc" id="classWP1Part_html"><div class="ttname"><a href="classWP1Part.html">WP1Part</a></div><div class="ttdef"><b>Definition:</b> WP1Part.h:33</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>