Thread portable class


Gate portable class


Timer class


Pool class


Terimber 2.0


About C++


Downloads Products & Services Support Clients Open Source About



Home / Open source / Terimber 2.0

_bitset Class Reference

bitset with external allocator More...

#include <bitset.h>

Inheritance diagram for _bitset:

base_bitset

List of all members.

Public Member Functions

 _bitset ()
 default constructor
 _bitset (TERIMBER::byte_allocator &all, size_t capacity)
 constructor
_bitsetoperator= (const _bitset &x)
 assigns another set with the same length
_bitsetassign (byte_allocator &all, const _bitset &x)
 assigns another set with external allocator
_bitsetresize (byte_allocator &all, size_t capacity)
 changes capacity
void clear ()
 sets capacity to zero


Detailed Description

bitset with external allocator

Definition at line 126 of file bitset.h.


Constructor & Destructor Documentation

_bitset::_bitset (  )  [inline]

default constructor

Definition at line 225 of file bitset.hpp.

_bitset::_bitset ( TERIMBER::byte_allocator &  all,
size_t  capacity 
) [inline]

constructor

Parameters:
all  external allocator
capacity  capacity

Definition at line 231 of file bitset.hpp.

References base_bitset::_bits, and base_bitset::get_byte_len().


Member Function Documentation

_bitset & _bitset::operator= ( const _bitset x  )  [inline]

assigns another set with the same length

Definition at line 244 of file bitset.hpp.

References base_bitset::_bits, and base_bitset::_capacity.

_bitset & _bitset::assign ( byte_allocator all,
const _bitset x 
) [inline]

assigns another set with external allocator

Parameters:
all  external allocator
x  source

Definition at line 253 of file bitset.hpp.

References base_bitset::_bits, base_bitset::_capacity, byte_allocator::allocate(), and base_bitset::get_byte_len().

Referenced by content_children::build_dfa().

_bitset & _bitset::resize ( byte_allocator all,
size_t  capacity 
) [inline]

changes capacity

Parameters:
all  external allocator
capacity  capacity

Definition at line 270 of file bitset.hpp.

References base_bitset::_bits, base_bitset::_capacity, byte_allocator::allocate(), and base_bitset::get_byte_len().

Referenced by content_children::build_dfa(), and content_node::init().

void _bitset::clear (  )  [inline]

sets capacity to zero

Definition at line 296 of file bitset.hpp.

References base_bitset::_bits, and base_bitset::_capacity.

Referenced by content_children::build_dfa().


The documentation for this class was generated from the following files:


© Copyright Terimber 2003-.