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

buffer_loader Class Reference

helper class to load bytes from stream More...

#include <miscxml.h>

List of all members.

Static Public Member Functions

static void load (const char *url, const char *location, mem_pool_t &small_pool, mem_pool_t &big_pool, paged_buffer &buffer, bool subset)
 loads ub1_t stream from location it can be file, http, ftp locations and put chars into paged buffer


Detailed Description

helper class to load bytes from stream

Definition at line 240 of file miscxml.h.


Member Function Documentation

void buffer_loader::load ( const char *  url,
const char *  location,
mem_pool_t small_pool,
mem_pool_t big_pool,
paged_buffer buffer,
bool  subset 
) [static]

loads ub1_t stream from location it can be file, http, ftp locations and put chars into paged buffer

Parameters:
url  url
location  location
small_pool  small memory pool
big_pool  bug memory pool
buffer  paged buffer
subset  subset flag

Definition at line 527 of file miscxml.cpp.

References exception::_throw(), byte_allocator::allocate(), paged_buffer::append(), stream_input_common::close(), xml_stream_attribute::complete_to_full(), paged_buffer::get_tmp_allocator(), stream_input_common::open(), os_def_size, and byte_source::pull().

Referenced by dtd_processor::expandPEReference(), and byte_manager::resolveEntity().


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


© Copyright Terimber 2003-.