Orcus
Main Page
Related Pages
Classes
Files
File List
include
orcus
cell_buffer.hpp
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This Source Code Form is subject to the terms of the Mozilla Public
4
* License, v. 2.0. If a copy of the MPL was not distributed with this
5
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
*/
7
8
#ifndef __ORCUS_CELL_BUFFER_HPP__
9
#define __ORCUS_CELL_BUFFER_HPP__
10
11
#include "env.hpp"
12
13
#include <string>
14
15
namespace
orcus
{
16
21
class
ORCUS_PSR_DLLPUBLIC
cell_buffer
22
{
23
std::string m_buffer;
24
size_t
m_buf_size;
25
public
:
26
cell_buffer
();
27
28
void
append(
const
char
* p,
size_t
len);
29
void
reset();
30
const
char
*
get
()
const
;
31
size_t
size()
const
;
32
bool
empty()
const
;
33
};
34
35
}
36
37
#endif
38
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
orcus::cell_buffer
Definition:
cell_buffer.hpp:21
orcus
Definition:
base64.hpp:15
Generated on Thu Mar 17 2016 04:47:37 for Orcus by
1.8.11