Sophie

Sophie

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

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>WP3FixedLengthGroup.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('WP3FixedLengthGroup_8h_source.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">WP3FixedLengthGroup.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="WP3FixedLengthGroup_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) 2004 Marc Maurer (uwog@uwog.net)</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * Copyright (C) 2006 Fridrich Strba (fridrich.strba@bluewin.ch)</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> * For minor contributions see the git repository.</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * Alternatively, the contents of this file may be used under the terms</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> * of the GNU Lesser General Public License Version 2.1 or later</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> * (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> * applicable instead of those above.</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> * For further information visit http://libwpd.sourceforge.net</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment">/* &quot;This product is not manufactured, approved, or supported by</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> * Corel Corporation or Corel Corporation Limited.&quot;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#ifndef WP3FIXEDLENGTHGROUP_H</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#define WP3FIXEDLENGTHGROUP_H</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#include &lt;librevenge/librevenge.h&gt;</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="WP3Part_8h.html">WP3Part.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">   33</span>&#160;<span class="keyword">class </span><a class="code" href="classWPXEncryption.html">WPXEncryption</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"><a class="line" href="classWP3FixedLengthGroup.html">   35</a></span>&#160;<span class="keyword">class </span><a class="code" href="classWP3FixedLengthGroup.html">WP3FixedLengthGroup</a> : <span class="keyword">public</span> <a class="code" href="classWP3Part.html">WP3Part</a></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;{</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;        <a class="code" href="classWP3FixedLengthGroup.html#adfe3840d3942fb54e646e9f6bb4a5bc9">WP3FixedLengthGroup</a>(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> groupID);</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;        <span class="keyword">static</span> <a class="code" href="classWP3FixedLengthGroup.html">WP3FixedLengthGroup</a> *<a class="code" href="classWP3FixedLengthGroup.html#a6762fb9c4afa6eb8c257e333f51a5f70">constructFixedLengthGroup</a>(librevenge::RVNGInputStream *input, <a class="code" href="classWPXEncryption.html">WPXEncryption</a> *encryption, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <span class="keyword">const</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">   41</span>&#160;        <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="classWP3FixedLengthGroup.html#ae607de2d28379da6831793332516609d">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="l00042"></a><span class="lineno">   42</span>&#160;</div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="classWP3FixedLengthGroup.html#af08de7a0bf9e252302576c7f2985d3c9">   43</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="classWP3FixedLengthGroup.html#af08de7a0bf9e252302576c7f2985d3c9">getGroup</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="keyword">        </span>{</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;                <span class="keywordflow">return</span> <a class="code" href="classWP3FixedLengthGroup.html#ad0a95578a45bbbe7fa7c628cb56e6634">m_group</a>;</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">   47</span>&#160;</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;        <span class="keywordtype">void</span> <a class="code" href="classWP3FixedLengthGroup.html#a9349090e327d2b43f2bfc4b950af88e4">_read</a>(librevenge::RVNGInputStream *input, <a class="code" href="classWPXEncryption.html">WPXEncryption</a> *encryption);</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classWP3FixedLengthGroup.html#a5b2928ca1d10eee8317dda68412bf647">_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="l00051"></a><span class="lineno">   51</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classWP3FixedLengthGroup.html#ad0a95578a45bbbe7fa7c628cb56e6634">   52</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="classWP3FixedLengthGroup.html#ad0a95578a45bbbe7fa7c628cb56e6634">m_group</a>;</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;</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* WP3FIXEDLENGTHGROUP_H */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="comment">/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */</span></div>
<div class="ttc" id="classWP3FixedLengthGroup_html_a9349090e327d2b43f2bfc4b950af88e4"><div class="ttname"><a href="classWP3FixedLengthGroup.html#a9349090e327d2b43f2bfc4b950af88e4">WP3FixedLengthGroup::_read</a></div><div class="ttdeci">void _read(librevenge::RVNGInputStream *input, WPXEncryption *encryption)</div><div class="ttdef"><b>Definition:</b> WP3FixedLengthGroup.cpp:99</div></div>
<div class="ttc" id="classWP3FixedLengthGroup_html_ad0a95578a45bbbe7fa7c628cb56e6634"><div class="ttname"><a href="classWP3FixedLengthGroup.html#ad0a95578a45bbbe7fa7c628cb56e6634">WP3FixedLengthGroup::m_group</a></div><div class="ttdeci">unsigned char m_group</div><div class="ttdef"><b>Definition:</b> WP3FixedLengthGroup.h:52</div></div>
<div class="ttc" id="classWP3FixedLengthGroup_html_af08de7a0bf9e252302576c7f2985d3c9"><div class="ttname"><a href="classWP3FixedLengthGroup.html#af08de7a0bf9e252302576c7f2985d3c9">WP3FixedLengthGroup::getGroup</a></div><div class="ttdeci">unsigned char getGroup() const </div><div class="ttdef"><b>Definition:</b> WP3FixedLengthGroup.h:43</div></div>
<div class="ttc" id="WP3Part_8h_html"><div class="ttname"><a href="WP3Part_8h.html">WP3Part.h</a></div></div>
<div class="ttc" id="classWP3Part_html"><div class="ttname"><a href="classWP3Part.html">WP3Part</a></div><div class="ttdef"><b>Definition:</b> WP3Part.h:35</div></div>
<div class="ttc" id="classWP3FixedLengthGroup_html"><div class="ttname"><a href="classWP3FixedLengthGroup.html">WP3FixedLengthGroup</a></div><div class="ttdef"><b>Definition:</b> WP3FixedLengthGroup.h:35</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="classWP3FixedLengthGroup_html_a5b2928ca1d10eee8317dda68412bf647"><div class="ttname"><a href="classWP3FixedLengthGroup.html#a5b2928ca1d10eee8317dda68412bf647">WP3FixedLengthGroup::_readContents</a></div><div class="ttdeci">virtual void _readContents(librevenge::RVNGInputStream *input, WPXEncryption *encryption)=0</div></div>
<div class="ttc" id="classWP3FixedLengthGroup_html_adfe3840d3942fb54e646e9f6bb4a5bc9"><div class="ttname"><a href="classWP3FixedLengthGroup.html#adfe3840d3942fb54e646e9f6bb4a5bc9">WP3FixedLengthGroup::WP3FixedLengthGroup</a></div><div class="ttdeci">WP3FixedLengthGroup(const unsigned char groupID)</div><div class="ttdef"><b>Definition:</b> WP3FixedLengthGroup.cpp:38</div></div>
<div class="ttc" id="classWP3FixedLengthGroup_html_ae607de2d28379da6831793332516609d"><div class="ttname"><a href="classWP3FixedLengthGroup.html#ae607de2d28379da6831793332516609d">WP3FixedLengthGroup::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> WP3FixedLengthGroup.cpp:71</div></div>
<div class="ttc" id="classWP3FixedLengthGroup_html_a6762fb9c4afa6eb8c257e333f51a5f70"><div class="ttname"><a href="classWP3FixedLengthGroup.html#a6762fb9c4afa6eb8c257e333f51a5f70">WP3FixedLengthGroup::constructFixedLengthGroup</a></div><div class="ttdeci">static WP3FixedLengthGroup * constructFixedLengthGroup(librevenge::RVNGInputStream *input, WPXEncryption *encryption, unsigned char const groupID)</div><div class="ttdef"><b>Definition:</b> WP3FixedLengthGroup.cpp:43</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>