BufferDetail.hh File Reference

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. More...

#include <boost/shared_ptr.hpp>
#include <boost/shared_array.hpp>
#include <boost/static_assert.hpp>
#include <boost/function.hpp>
#include <exception>
#include <cassert>
#include <deque>

Go to the source code of this file.

Classes

class  avro::detail::CallOnDestroy
 Simple class to hold a functor that executes on delete. More...
class  avro::detail::Chunk
 A chunk is the building block for buffers. More...
class  avro::detail::BufferImpl
 Implementation details for Buffer class. More...

Namespaces

namespace  avro
 

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.


Typedefs

typedef char avro::detail::data_type
typedef size_t avro::detail::size_type
typedef boost::function< void(void)> avro::detail::free_func

Functions

bool avro::detail::operator== (const Chunk &lhs, const Chunk &rhs)
 Compare underlying buffers and return true if they are equal.
bool avro::detail::operator!= (const Chunk &lhs, const Chunk &rhs)
 Compare underlying buffers and return true if they are unequal.

Variables

const size_type avro::detail::kMinBlockSize = 4096
 The size in bytes for blocks backing buffer chunks.
const size_type avro::detail::kMaxBlockSize = 16384
const size_type avro::detail::kDefaultBlockSize = kMinBlockSize

Detailed Description

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.

See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. The implementation details for the Buffer class.

Generated on Thu Sep 2 18:40:54 2010 for Avro C++ by  doxygen 1.6.3