rllib
1
lib
rlbuffer.h
Go to the documentation of this file.
1
/***************************************************************************
2
rlbuffer.h - description
3
-------------------
4
begin : Sun Aug 24 2014
5
copyright : (C) 2014 by R. Lehrig
6
email : lehrig@t-online.de
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This library is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU LESSER GENERAL PUBLIC LICENSE as *
13
* published by the Free Software Foundation *
14
* *
15
***************************************************************************/
16
#ifndef _RL_BUFFER_H_
17
#define _RL_BUFFER_H_
18
19
#include "
rldefine.h
"
20
24
class
rlBuffer
25
{
26
public
:
27
rlBuffer
();
28
virtual
~rlBuffer
();
29
int
resize
(
int
size
);
30
int
size
();
31
int
setText
(
const
char
*text);
32
char
*
line
(
int
i
);
33
void
*
adr
;
34
char
*
c
;
35
unsigned
char
*
uc
;
36
int
*
i
;
37
unsigned
int
*
ui
;
38
long
*
l
;
39
unsigned
long
*
ul
;
40
float
*
f
;
41
double
*
d
;
42
43
private
:
44
int
_size
;
45
};
46
#endif
rlBuffer::_size
int _size
Definition:
rlbuffer.h:44
rlBuffer::adr
void * adr
Definition:
rlbuffer.h:33
rlBuffer::size
int size()
Definition:
rlbuffer.cpp:55
rlBuffer::ul
unsigned long * ul
Definition:
rlbuffer.h:39
rlBuffer
Definition:
rlbuffer.h:24
rlBuffer::rlBuffer
rlBuffer()
Definition:
rlbuffer.cpp:18
rlBuffer::ui
unsigned int * ui
Definition:
rlbuffer.h:37
rlBuffer::line
char * line(int i)
Definition:
rlbuffer.cpp:72
rlBuffer::l
long * l
Definition:
rlbuffer.h:38
rlBuffer::d
double * d
Definition:
rlbuffer.h:41
rlBuffer::~rlBuffer
virtual ~rlBuffer()
Definition:
rlbuffer.cpp:31
rlBuffer::uc
unsigned char * uc
Definition:
rlbuffer.h:35
rlBuffer::resize
int resize(int size)
Definition:
rlbuffer.cpp:36
rldefine.h
rlBuffer::i
int * i
Definition:
rlbuffer.h:36
rlBuffer::setText
int setText(const char *text)
Definition:
rlbuffer.cpp:60
rlBuffer::f
float * f
Definition:
rlbuffer.h:40
rlBuffer::c
char * c
Definition:
rlbuffer.h:34
Generated by
1.8.14