VR-Link API Documentation for DIS
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
omtReader
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
#include "
numberDatatypeRep.h
"
10
11
#include <
vlutil/vlString.h
>
12
13
class
DtNetFloat64
;
14
18
class
DT_DLL_OMTREADER
DtDoubleDatatypeRep
:
public
DtNumberDatatypeRep
19
{
20
public
:
21
static
int
defaultFloatPrecision
;
22
24
DtDoubleDatatypeRep
(
bool
useImplicitPadding);
25
27
virtual
~
DtDoubleDatatypeRep
();
28
30
DtDoubleDatatypeRep
(
const
DtDoubleDatatypeRep
& orig);
31
33
DtDoubleDatatypeRep
&
operator=
(
const
DtDoubleDatatypeRep
& rhs);
34
36
virtual
const
char
*
datatype
()
const
;
37
39
virtual
double
doubleVal(
const
void
*)
const
;
40
42
virtual
DtString
stringRep
(
const
void
* ptr,
int
* size = 0)
const
;
43
45
virtual
double
numberRep
(
const
void
* ptr,
int
* size = 0)
const
;
46
48
virtual
std::vector<char>
valueFromStringRep
(
const
DtString
& stringRep)
const
;
49
50
protected
:
51
53
const
DtNetFloat64
* netValPtr(
const
void
* ptr,
int
* size=0)
const
;
54
55
};
56
57
58
Document ID: Generated on Wed Jan 7 13:31:29 EST 2015 from SVN revision 149162
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)