Sophie

Sophie

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

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>WP5FixedLengthGroup.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('WP5FixedLengthGroup_8h_source.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">WP5FixedLengthGroup.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="WP5FixedLengthGroup_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 WP5FIXEDLENGTHGROUP_H</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">#define WP5FIXEDLENGTHGROUP_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="classWP5FixedLengthGroup.html">   33</a></span>&#160;<span class="keyword">class </span><a class="code" href="classWP5FixedLengthGroup.html">WP5FixedLengthGroup</a> : <span class="keyword">public</span> <a class="code" href="classWP5Part.html">WP5Part</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="classWP5FixedLengthGroup.html#a2150b0b8cff1adc36f97c4fc55137da9">WP5FixedLengthGroup</a>(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> groupID);</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;        <span class="keyword">static</span> <a class="code" href="classWP5FixedLengthGroup.html">WP5FixedLengthGroup</a> *<a class="code" href="classWP5FixedLengthGroup.html#a6a12a24a388787f756f31445121d0449">constructFixedLengthGroup</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> groupID);</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> <span class="keywordtype">bool</span> <a class="code" href="classWP5FixedLengthGroup.html#a469df43b87cc85a07a78272b4793b027">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> groupID);</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"><a class="line" href="classWP5FixedLengthGroup.html#a15781eae9b1cecdd597c10d35051f395">   41</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="classWP5FixedLengthGroup.html#a15781eae9b1cecdd597c10d35051f395">getGroup</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="keyword">        </span>{</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;                <span class="keywordflow">return</span> <a class="code" href="classWP5FixedLengthGroup.html#a4b7c5800e52e0172a1069eee29b15c5e">m_group</a>;</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;        }</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">protected</span>:</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;        <span class="keywordtype">void</span> <a class="code" href="classWP5FixedLengthGroup.html#af1e5ad3b7df8ec981d27fc5d19d6b129">_read</a>(librevenge::RVNGInputStream *input, <a class="code" href="classWPXEncryption.html">WPXEncryption</a> *encryption);</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classWP5FixedLengthGroup.html#a11c6a215e54b972721a50508d03d9d84">_readContents</a>(librevenge::RVNGInputStream *input, <a class="code" href="classWPXEncryption.html">WPXEncryption</a> *encryption) = 0; <span class="comment">// we always read the contents in the case of a fixed length group</span></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">private</span>:</div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="classWP5FixedLengthGroup.html#a4b7c5800e52e0172a1069eee29b15c5e">   51</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="classWP5FixedLengthGroup.html#a4b7c5800e52e0172a1069eee29b15c5e">m_group</a>;</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;};</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">   54</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* WP5FIXEDLENGTHGROUP_H */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="comment">/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */</span></div>
<div class="ttc" id="classWP5FixedLengthGroup_html_a11c6a215e54b972721a50508d03d9d84"><div class="ttname"><a href="classWP5FixedLengthGroup.html#a11c6a215e54b972721a50508d03d9d84">WP5FixedLengthGroup::_readContents</a></div><div class="ttdeci">virtual void _readContents(librevenge::RVNGInputStream *input, WPXEncryption *encryption)=0</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="classWP5FixedLengthGroup_html_a6a12a24a388787f756f31445121d0449"><div class="ttname"><a href="classWP5FixedLengthGroup.html#a6a12a24a388787f756f31445121d0449">WP5FixedLengthGroup::constructFixedLengthGroup</a></div><div class="ttdeci">static WP5FixedLengthGroup * constructFixedLengthGroup(librevenge::RVNGInputStream *input, WPXEncryption *encryption, const unsigned char groupID)</div><div class="ttdef"><b>Definition:</b> WP5FixedLengthGroup.cpp:42</div></div>
<div class="ttc" id="classWP5FixedLengthGroup_html_a4b7c5800e52e0172a1069eee29b15c5e"><div class="ttname"><a href="classWP5FixedLengthGroup.html#a4b7c5800e52e0172a1069eee29b15c5e">WP5FixedLengthGroup::m_group</a></div><div class="ttdeci">unsigned char m_group</div><div class="ttdef"><b>Definition:</b> WP5FixedLengthGroup.h:51</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="classWP5FixedLengthGroup_html"><div class="ttname"><a href="classWP5FixedLengthGroup.html">WP5FixedLengthGroup</a></div><div class="ttdef"><b>Definition:</b> WP5FixedLengthGroup.h:33</div></div>
<div class="ttc" id="classWP5FixedLengthGroup_html_af1e5ad3b7df8ec981d27fc5d19d6b129"><div class="ttname"><a href="classWP5FixedLengthGroup.html#af1e5ad3b7df8ec981d27fc5d19d6b129">WP5FixedLengthGroup::_read</a></div><div class="ttdeci">void _read(librevenge::RVNGInputStream *input, WPXEncryption *encryption)</div><div class="ttdef"><b>Definition:</b> WP5FixedLengthGroup.cpp:95</div></div>
<div class="ttc" id="classWP5FixedLengthGroup_html_a2150b0b8cff1adc36f97c4fc55137da9"><div class="ttname"><a href="classWP5FixedLengthGroup.html#a2150b0b8cff1adc36f97c4fc55137da9">WP5FixedLengthGroup::WP5FixedLengthGroup</a></div><div class="ttdeci">WP5FixedLengthGroup(const unsigned char groupID)</div><div class="ttdef"><b>Definition:</b> WP5FixedLengthGroup.cpp:37</div></div>
<div class="ttc" id="classWP5FixedLengthGroup_html_a469df43b87cc85a07a78272b4793b027"><div class="ttname"><a href="classWP5FixedLengthGroup.html#a469df43b87cc85a07a78272b4793b027">WP5FixedLengthGroup::isGroupConsistent</a></div><div class="ttdeci">static bool isGroupConsistent(librevenge::RVNGInputStream *input, WPXEncryption *encryption, const unsigned char groupID)</div><div class="ttdef"><b>Definition:</b> WP5FixedLengthGroup.cpp:67</div></div>
<div class="ttc" id="classWP5FixedLengthGroup_html_a15781eae9b1cecdd597c10d35051f395"><div class="ttname"><a href="classWP5FixedLengthGroup.html#a15781eae9b1cecdd597c10d35051f395">WP5FixedLengthGroup::getGroup</a></div><div class="ttdeci">unsigned char getGroup() const </div><div class="ttdef"><b>Definition:</b> WP5FixedLengthGroup.h:41</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><!-- 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>