casa
5.7.0-16
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
casa
code
alma
ASDM
DataBlock.h
Go to the documentation of this file.
1
#if !defined(_DATABLOCK_H)
2
3
#include "stddef.h"
4
5
class
DataBlock
6
{
7
public
:
8
9
DataBlock
(){
blockDataPtr_
= NULL;
blockSize_
= 0; }
10
DataBlock
(
short
int
* blockDataPtr,
long
int
blockSize){
blockDataPtr_
= blockDataPtr;
blockSize_
=blockSize; }
11
~DataBlock
();
12
13
short
int
*
data
() {
return
blockDataPtr_
;}
14
long
int
size
() {
return
blockSize_
;}
// in number of short int (units of 16 bits)
15
16
private
:
17
short
int
*
blockDataPtr_
;
18
long
int
blockSize_
;
19
20
};
21
22
#define _DATABLOCK_H
23
#endif
DataBlock::blockSize_
long int blockSize_
Definition:
DataBlock.h:18
DataBlock
Definition:
DataBlock.h:5
DataBlock::DataBlock
DataBlock()
Definition:
DataBlock.h:9
DataBlock::data
short int * data()
Definition:
DataBlock.h:13
DataBlock::size
long int size()
Definition:
DataBlock.h:14
DataBlock::blockDataPtr_
short int * blockDataPtr_
Definition:
DataBlock.h:17
DataBlock::DataBlock
DataBlock(short int *blockDataPtr, long int blockSize)
Definition:
DataBlock.h:10
DataBlock::~DataBlock
~DataBlock()
Generated on Sun Sep 1 2019 23:32:24 for casa by
1.8.5