BT_Char16Buf Struct Reference

Class that encapsulates a buffer of 16-bit unsigned characters. More...

#include <bt_types.h>

Inheritance diagram for BT_Char16Buf:

Inheritance graph
[legend]
Collaboration diagram for BT_Char16Buf:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 BT_Char16Buf (BT_Char16 *b=0, BT_UInt32 l=0)
 Constructor.
bool operator!= (const BT_Char16Buf &rhs) const
 Determines if this string is not equal to rhs.
BT_Char16Bufoperator= (const BT_Char16Buf &rhs)
 Sets the buffer contents to those of rhs.
bool operator== (const BT_Char16Buf &rhs) const
 Determines if this string is equal to rhs.
void SetBuffer (BT_Char16 *b, BT_UInt32 l)
 Sets the string buffer.

Public Attributes

BT_Char16buf
 Pointer to BT_Char16 buffer.
BT_UInt32 len
 Length of the string.


Detailed Description

Class that encapsulates a buffer of 16-bit unsigned characters. Note: The BT_Char16Buf does *not* own this pointer!

Constructor & Destructor Documentation

BT_Char16Buf::BT_Char16Buf ( BT_Char16 b = 0,
BT_UInt32  l = 0 
) [inline]

Constructor.

Parameters:
b pointer to string.
l length of string.


Member Function Documentation

bool BT_Char16Buf::operator!= ( const BT_Char16Buf rhs  )  const [inline]

Determines if this string is not equal to rhs.

Parameters:
rhs string to compare.

BT_Char16Buf & BT_Char16Buf::operator= ( const BT_Char16Buf rhs  )  [inline]

Sets the buffer contents to those of rhs.

Parameters:
rhs buffer to copy.

bool BT_Char16Buf::operator== ( const BT_Char16Buf rhs  )  const [inline]

Determines if this string is equal to rhs.

Parameters:
rhs string to compare.

void BT_Char16Buf::SetBuffer ( BT_Char16 b,
BT_UInt32  l 
) [inline]

Sets the string buffer.

Parameters:
b pointer to string.
l length of string.


Member Data Documentation

BT_Char16* BT_Char16Buf_::buf [inherited]

Pointer to BT_Char16 buffer.

BT_UInt32 BT_Char16Buf_::len [inherited]

Length of the string.


The documentation for this struct was generated from the following file:

Copyright © 2004-2008 Basis Technology Corporation. All Rights Reserved.