MAK Data Logger API Documentation for HLA
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
doubleDatatypeRep.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
DtNetFloat64;
15
19
class
DT_DLL_OMTREADER
DtDoubleDatatypeRep
:
public
DtNumberDatatypeRep
20
{
21
public
:
22
static
int
defaultFloatPrecision
;
23
25
DtDoubleDatatypeRep
(
bool
useImplicitPadding);
26
28
virtual
~
DtDoubleDatatypeRep
();
29
31
DtDoubleDatatypeRep
(
const
DtDoubleDatatypeRep
& orig);
32
34
DtDoubleDatatypeRep
&
operator=
(
const
DtDoubleDatatypeRep
& rhs);
35
37
virtual
const
char
*
datatype
()
const
;
38
40
virtual
double
doubleVal(
const
void
*)
const
;
41
43
virtual
DtString
stringRep
(
const
void
* ptr,
int
* size = 0)
const
;
44
46
virtual
double
numberRep
(
const
void
* ptr,
int
* size = 0)
const
;
47
49
virtual
std::vector<char>
valueFromStringRep
(
const
DtString
& stringRep)
const
;
50
52
virtual
int
byteAlignment
()
const
{
return
8; };
53
54
protected
:
55
57
const
DtNetFloat64* netValPtr(
const
void
* ptr,
int
* size=0)
const
;
58
59
};
60
61
62
63
64
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
)