Global Functions in Global Namespace C++
in Sourcefile byteseq.h
- rtl_byte_sequence_acquire
- extern "C"
void rtl_byte_sequence_acquire(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Acquires the byte sequence
- Parameters
pSequence |
sequence, that is to be acquired
|
- rtl_byte_sequence_assign
- extern "C"
void rtl_byte_sequence_assign(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Assigns the byte sequence pSequence to *ppSequence.
- Parameters
ppSequence |
inout sequence; on entry *ppSequence may be null, otherwise it is released;
after the call, *ppSequence references pSequence
|
pSequence |
the source sequence
|
- rtl_byte_sequence_construct
- extern "C"
void rtl_byte_sequence_construct(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Constructs a bytes sequence with length nLength. All bytes are set to zero.
- Parameters
ppSequence |
inout sequence; on entry *ppSequence may be null, otherwise it is released;
after the call, *ppSequence contains the newly constructed sequence
|
nLength |
length of new sequence
|
- rtl_byte_sequence_constructFromArray
- extern "C"
void rtl_byte_sequence_constructFromArray(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Constructs a byte sequence with length nLength and copies nLength bytes from pData.
- Parameters
ppSequence |
inout sequence; on entry *ppSequence may be null, otherwise it is released;
after the call, *ppSequence contains the newly constructed sequence
|
pData |
initial data
|
nLength |
length of new sequence
|
- rtl_byte_sequence_constructNoDefault
- extern "C"
void rtl_byte_sequence_constructNoDefault(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Constructs a bytes sequence with length nLength. The data is not initialized.
- Parameters
ppSequence |
inout sequence; on entry *ppSequence may be null, otherwise it is released;
after the call, *ppSequence contains the newly constructed sequence
|
nLength |
length of new sequence
|
- rtl_byte_sequence_equals
- extern "C"
sal_Bool rtl_byte_sequence_equals(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Compares two byte sequences.
- Return
- true, if the data within the sequences are identical; false otherwise
- rtl_byte_sequence_getConstArray
- extern "C"
const sal_Int8 * rtl_byte_sequence_getConstArray(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Returns the data array pointer of the sequence.
- Return
- read-pointer to the data array of the sequence. If rtl_byte_sequence_reference2One()
has been called before, the pointer may be casted to a non const pointer and
the sequence may be modified
- rtl_byte_sequence_getLength
- extern "C"
sal_Int32 rtl_byte_sequence_getLength(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Returns the length of the sequence
- Parameters
pSequence |
sequence handle
|
- Return
- length of the sequence
- rtl_byte_sequence_realloc
- extern "C"
void rtl_byte_sequence_realloc(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Reallocates length of byte sequence.
- Parameters
ppSequence |
sequence
|
nSize |
new size of sequence
|
- rtl_byte_sequence_reference2One
- extern "C"
void rtl_byte_sequence_reference2One(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Assures that the reference count of the given byte sequence is one. Otherwise a new copy
of the sequence is created with a reference count of one.
- Parameters
-
- rtl_byte_sequence_release
- extern "C"
void rtl_byte_sequence_release(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Releases the byte sequence. If the refcount drops to zero, the sequence is freed.
- Parameters
pSequence |
sequence, that is to be released; invalid after call
|
Top of Page
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.