Panda3D
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
panda
src
express
buffer.h
1
// Filename: buffer.h
2
// Created by: mike (09Jan97)
3
//
4
////////////////////////////////////////////////////////////////////
5
//
6
// PANDA 3D SOFTWARE
7
// Copyright (c) Carnegie Mellon University. All rights reserved.
8
//
9
// All use of this software is subject to the terms of the revised BSD
10
// license. You should have received a copy of this license along
11
// with this source code in a file named "LICENSE."
12
//
13
////////////////////////////////////////////////////////////////////
14
15
#ifndef BUFFER_H
16
#define BUFFER_H
17
18
#include "pandabase.h"
19
#include "typedef.h"
20
#include "referenceCount.h"
21
22
////////////////////////////////////////////////////////////////////
23
// Class : Buffer
24
// Description :
25
////////////////////////////////////////////////////////////////////
26
class
EXPCL_PANDAEXPRESS
Buffer
:
public
ReferenceCount
{
27
public
:
28
Buffer
(
int
size);
29
~
Buffer
();
30
31
PUBLISHED:
32
INLINE
int
get_length()
const
;
33
34
#ifndef CPPPARSER
35
// hidden from interrogate
36
public
:
37
char
*_buffer;
38
#endif
39
40
private
:
41
int
_length;
42
};
43
44
#include "buffer.I"
45
46
#endif
Buffer
Definition:
buffer.h:26
ReferenceCount
A base class for all things that want to be reference-counted.
Definition:
referenceCount.h:41
Generated on Mon Feb 1 2016 13:44:24 for Panda3D by
1.8.5