MAK Data Logger API Documentation for DIS
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
libsrc
lgrOmtReader
intDatatypeRep.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*******************************************************************************/
7
#pragma once
8
9
#include "
datatypeRep.h
"
10
11
#include <vlutil/vlString.h>
12
16
class
DT_DLL_OMTREADER
DtIntDatatypeRep
:
public
DtDatatypeRep
17
{
18
public
:
19
21
DtIntDatatypeRep
(
bool
unsign =
false
);
22
24
virtual
~
DtIntDatatypeRep
();
25
27
DtIntDatatypeRep
(
const
DtIntDatatypeRep
& orig);
28
30
DtIntDatatypeRep
& operator=(
const
DtIntDatatypeRep
& rhs);
31
33
virtual
const
char
*
datatype
()
const
;
34
39
static
int
intVal(
const
void
*);
40
42
virtual
unsigned
unsignedIntVal(
const
void
*)
const
;
43
45
virtual
DtString
stringRep
(
const
void
* ptr,
int
* size = 0)
const
;
46
48
virtual
double
numberRep(
const
void
* ptr,
int
* size = 0)
const
;
49
50
virtual
void
setUnsigned(
bool
);
51
53
virtual
std::vector<char>
valueFromStringRep
(
const
DtString& stringRep)
const
;
54
55
protected
:
56
bool
myIsUnsigned
;
57
};
58
59
Document ID: Generated on Mon Jan 19 08:20:14 EST 2015 from SVN revision 149581
Copyright © 2005-2012 VT MÄK. All Rights Reserved (
www.mak.com
)