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
10
11
#include "
numberDatatypeRep.h
"
12
13
#include <
vlutil/vlString.h
>
14
#ifdef DtUSE_UTILITIES_NAMESPACE
15
namespace
DtUSE_UTILITIES_NAMESPACE
16
{
17
#endif
18
class
DtNetFloat64
;
19
23
class
DT_DLL_OMTREADER
DtDoubleDatatypeRep
:
public
DtNumberDatatypeRep
24
{
25
public
:
26
static
int
defaultFloatPrecision
;
27
29
DtDoubleDatatypeRep
(
bool
useImplicitPadding);
30
32
virtual
~
DtDoubleDatatypeRep
();
33
35
DtDoubleDatatypeRep
(
const
DtDoubleDatatypeRep
& orig);
36
38
DtDoubleDatatypeRep
& operator=(
const
DtDoubleDatatypeRep
& rhs);
39
41
virtual
const
char
* datatype()
const
;
42
44
virtual
double
doubleVal(
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
53
virtual
std::vector<char> valueFromStringRep(
const
DtString
& stringRep)
const
;
54
55
protected
:
56
58
const
DtNetFloat64
* netValPtr(
const
void
* ptr,
int
* size=0)
const
;
59
60
};
61
62
63
64
#ifdef DtUSE_UTILITIES_NAMESPACE
65
}
// end of namespace DtUSE_UTILITIES_NAMESPACE
66
#endif
Document ID: Generated on Fri May 15 06:36:13 EDT 2015 from SVN revision 153263
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)