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
longDatatypeRep.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 "
numberDatatypeRep.h
"
12
13
#include <vlutil/vlString.h>
14
class
DtNetU64;
15
19
class
DT_DLL_OMTREADER
DtLongDatatypeRep
:
public
DtNumberDatatypeRep
20
{
21
public
:
22
24
DtLongDatatypeRep
(
bool
useImplicitPadding,
bool
unsign =
false
);
25
27
virtual
~
DtLongDatatypeRep
();
28
30
DtLongDatatypeRep
(
const
DtLongDatatypeRep
& orig);
31
33
DtLongDatatypeRep
&
operator=
(
const
DtLongDatatypeRep
& rhs);
34
36
virtual
const
char
*
datatype
()
const
;
37
39
virtual
long
long
longVal(
const
void
*)
const
;
40
42
virtual
unsigned
long
long
unsignedLongVal(
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
56
virtual
int
byteAlignment
()
const
{
return
8; };
57
58
protected
:
59
61
const
DtNetU64* netValPtr(
const
void
* ptr,
int
* size=0)
const
;
62
63
protected
:
64
bool
myIsUnsigned
;
65
};
66
67
68
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
)