MAK Data Logger API Documentation for DIS
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
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
10
11
#include "
datatypeRep.h
"
12
13
#include <vlutil/vlString.h>
14
class
DtNetU32;
18
class
DT_DLL_OMTREADER
DtIntDatatypeRep
:
public
DtDatatypeRep
19
{
20
public
:
21
23
DtIntDatatypeRep
(
bool
useImplicitPadding,
bool
unsign =
false
);
24
26
virtual
~
DtIntDatatypeRep
();
27
29
DtIntDatatypeRep
(
const
DtIntDatatypeRep
& orig);
30
32
DtIntDatatypeRep
&
operator=
(
const
DtIntDatatypeRep
& rhs);
33
35
virtual
const
char
*
datatype
()
const
;
36
41
virtual
int
intVal(
const
void
*);
42
44
virtual
unsigned
unsignedIntVal(
const
void
*)
const
;
45
47
virtual
DtString
stringRep
(
const
void
* ptr,
int
* size = 0)
const
;
48
50
virtual
double
numberRep(
const
void
* ptr,
int
* size = 0)
const
;
51
52
virtual
void
setUnsigned(
bool
);
53
55
virtual
std::vector<char>
valueFromStringRep
(
const
DtString& stringRep)
const
;
56
58
virtual
int
byteAlignment
()
const
{
return
4; };
59
60
public
:
61
66
static
int
intValFromBuffer(
const
void
*);
67
68
protected
:
69
71
const
DtNetU32* netValPtr(
const
void
* ptr,
int
* size=0)
const
;
72
73
protected
:
74
bool
myIsUnsigned
;
75
};
76
77
78
79
Document ID: Generated on Thu Jul 23 15:05:27 EDT 2020 from SVN revision 215371
Copyright © 2020 MAK Technologies. All Rights Reserved (
www.mak.com
)