Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > fc480f9d5aabed8eeaffe8ad3401a94c > files > 9691

openoffice.org-devel-doc-3.2.1-0.3mdv2010.2.i586.rpm

<html>
<head>
<title>class ByteSequence</title>
<link rel="stylesheet" type="text/css" href="../../cpp.css">
</head>
<body>
<div id="adc-cppref">

<a name="_top_"> </a><table class="navimain" border="0" cellpadding="1" cellspacing="0">
<tr align="center" valign="top">
<td class="navimain">&nbsp;<a href="../../index.html">Overview</a>&nbsp;</td>
<td class="navimain">&nbsp;<a href="index.html">Namespace</a>&nbsp;</td>
<td class="navimainself">&nbsp;Class&nbsp;</td>
<td class="navimain">&nbsp;<a href="../../index-files/index-1.html">Index</a>&nbsp;</td>
<td class="navimain">&nbsp;<a href="../../help.html">Help</a>&nbsp;</td>
</tr>
</table>
<table class="navisub" cellpadding="0" cellspacing="3">
<tr>
<td width="20%"><font size="-2">PUBLIC MEMBERS:</font></td>
<td>
&nbsp;<font size="-2">CLASSES</font>
|&nbsp;<font size="-2">STRUCTS</font>
|&nbsp;<font size="-2">UNIONS</font>
|&nbsp;<a href="#publ_enums"><font size="-2"><b>ENUMS</b></font></a>
|&nbsp;<font size="-2">TYPEDEFS</font>
|&nbsp;<a href="#publ_ops"><font size="-2"><b>METHODS</b></font></a>
|&nbsp;<font size="-2">STATIC METHODS</font>
|&nbsp;<font size="-2">DATA</font>
|&nbsp;<font size="-2">STATIC DATA</font></td>
</tr>
</table>
<hr>
<a href="../../names/index.html" alt="Global Namespace in C++"><font size="+1"><b>::</b></font></a> <a href="index.html" alt="namespace"><font size="+1"><b>rtl</b></font></a><font size="+1"> :: </font><div class="title"><h2>class ByteSequence</h2>
</div><hr>
<dl>
<dt>Base Classes</dt>
<dd>None.</dd>
</dl>
<dl>
<dt>Known Derived Classes</dt>
<dd>None.</dd>
</dl>
<br>
<table class="flag-table" border="1" cellspacing="0">
<tr>
<td width="25%" class="flagname">virtual</td>
<td width="25%" class="flagname">abstract</td>
<td width="25%" class="flagname">interface</td>
<td width="25%" class="flagname">template</td>
</tr>
<tr>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
</tr>
</table>
<dl>
<dt>Description</dt>
<dd>C++ class representing a SAL byte sequence.
C++ Sequences are reference counted and shared, so the sequence keeps a handle to its data.
To keep value semantics, copies are only generated if the sequence is to be modified
(new handle).
</dd>
</dl>
<dl>
<dt>File</dt>
<dd>byteseq.h</dd>
</dl>
<hr>
<dl>
<dt class="subtitle"><a name="publ_"><h3>Public Members</h3>
</a></dt>
<dd><a name="publ_enums"> </a><table class="childlist" border="1" cellpadding="5" cellspacing="0" width="100%">
<tr class="subtitle">
<td colspan="2"><h4>Enums</h4>
</td>
</tr>
<tr bgcolor="white">
<td width="20%"><a href="ByteSequence/e-__ByteSequence_NoDefault.html"><b>__ByteSequence_NoDefault</b></a></td>
<td/></tr>
<tr bgcolor="white">
<td width="20%"><a href="ByteSequence/e-__ByteSequence_NoAcquire.html"><b>__ByteSequence_NoAcquire</b></a></td>
<td/></tr>
</table>
<hr>
<a name="publ_ops"> </a><table class="childlist" border="1" cellpadding="5" cellspacing="0" width="100%">
<tr class="subtitle">
<td colspan="2"><h4>Methods</h4>
</td>
</tr>
<tr>
<td> <br>
<a href="ByteSequence/o.html#ByteSequence-1459">ByteSequence</a>( ) throw( );</td>
<td width="50%"> Default constructor: Creates an empty sequence.
</td>
</tr>
<tr>
<td> <br>
<a href="ByteSequence/o.html#ByteSequence-1460">ByteSequence</a>( const ByteSequence &amp; rSeq ) throw( );</td>
<td width="50%"> Copy constructor: Creates a copy of given sequence.

</td>
</tr>
<tr>
<td> <br>
<a href="ByteSequence/o.html#ByteSequence-1461">ByteSequence</a>( sal_Sequence * pSequence ) throw( );</td>
<td width="50%"> Copy constructor Creates a copy from the C-Handle.

</td>
</tr>
<tr>
<td> <br>
<a href="ByteSequence/o.html#ByteSequence-1462">ByteSequence</a>( const sal_Int8 * pElements, sal_Int32 len );</td>
<td width="50%"> Constructor: Creates a copy of given data bytes.

</td>
</tr>
<tr>
<td> <br>
<a href="ByteSequence/o.html#ByteSequence-1463">ByteSequence</a>( sal_Int32 len );</td>
<td width="50%"> Constructor: Creates sequence of given length and initializes all bytes to 0.

</td>
</tr>
<tr>
<td> <br>
<a href="ByteSequence/o.html#ByteSequence-1465">ByteSequence</a>( sal_Int32 len, __ByteSequence_NoDefault nodefault );</td>
<td width="50%"> Constructor: Creates sequence of given length and does NOT initialize data.
Use this ctor for performance optimization only.

</td>
</tr>
<tr>
<td> <br>
<a href="ByteSequence/o.html#ByteSequence-1467">ByteSequence</a>( sal_Sequence * pSequence, __ByteSequence_NoAcquire noacquire ) throw( );</td>
<td width="50%"> </td>
</tr>
<tr>
<td> <br>
<a href="ByteSequence/o.html#~ByteSequence-1468">~ByteSequence</a>( ) throw( );</td>
<td width="50%"> Destructor: Releases sequence handle. Last handle will free memory.
</td>
</tr>
<tr>
<td>ByteSequence &amp; <br>
<a href="ByteSequence/o.html#operator=-1469">operator=</a>( const ByteSequence &amp; rSeq ) throw( );</td>
<td width="50%"> Assignment operator: Acquires given sequence handle and releases a previously set handle.

</td>
</tr>
<tr>
<td>sal_Int32 <br>
<a href="ByteSequence/o.html#getLength-1470">getLength</a>( ) const throw( );</td>
<td width="50%"> Gets the length of sequence.

</td>
</tr>
<tr>
<td>const sal_Int8 * <br>
<a href="ByteSequence/o.html#getConstArray-1471">getConstArray</a>( ) const throw( );</td>
<td width="50%"> Gets a pointer to byte array for READING. If the sequence has a length of 0, then the
returned pointer is undefined.

</td>
</tr>
<tr>
<td>sal_Int8 * <br>
<a href="ByteSequence/o.html#getArray-1472">getArray</a>( );</td>
<td width="50%"> </td>
</tr>
<tr>
<td>sal_Int8 &amp; <br>
<a href="ByteSequence/o.html#operator[]-1473">operator[]</a>( sal_Int32 nIndex );</td>
<td width="50%"> </td>
</tr>
<tr>
<td>const sal_Int8 &amp; <br>
<a href="ByteSequence/o.html#operator[]-1474">operator[]</a>( sal_Int32 nIndex ) const throw( );</td>
<td width="50%"> Const index operator: Obtains a reference to byte indexed at given position.
The implementation does NOT check for array bounds!

</td>
</tr>
<tr>
<td>sal_Bool <br>
<a href="ByteSequence/o.html#operator==-1475">operator==</a>( const ByteSequence &amp; rSeq ) const throw( );</td>
<td width="50%"> Equality operator: Compares two sequences.

</td>
</tr>
<tr>
<td>sal_Bool <br>
<a href="ByteSequence/o.html#operator!=-1476">operator!=</a>( const ByteSequence &amp; rSeq ) const throw( );</td>
<td width="50%"> Unequality operator: Compares two sequences.

</td>
</tr>
<tr>
<td>void <br>
<a href="ByteSequence/o.html#realloc-1477">realloc</a>( sal_Int32 nSize );</td>
<td width="50%"> </td>
</tr>
<tr>
<td>sal_Sequence * <br>
<a href="ByteSequence/o.html#getHandle-1478">getHandle</a>( ) const throw( );</td>
<td width="50%"> Returns the UNnacquired C handle of the sequence

</td>
</tr>
<tr>
<td>sal_Sequence * <br>
<a href="ByteSequence/o.html#get-1479">get</a>( ) const throw( );</td>
<td width="50%"> Returns the UNnacquired C handle of the sequence (for compatibility reasons)

</td>
</tr>
</table>
<hr>
</dd>
</dl>
<a href="#_top_" class="objchapter">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright &copy; 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.</p>

</div> <!-- id="adc-cppref" -->
</body>

</html>