VR-Link API Documentation for DIS
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
omtReader
floatDatatypeRep.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
DtNetFloat32
;
14
18
class
DT_DLL_OMTREADER
DtFloatDatatypeRep
:
public
DtNumberDatatypeRep
19
{
20
public
:
21
static
int
defaultFloatPrecision
;
22
24
DtFloatDatatypeRep
(
bool
useImplicitPadding);
25
27
virtual
~
DtFloatDatatypeRep
();
28
30
DtFloatDatatypeRep
(
const
DtFloatDatatypeRep
& orig);
31
33
DtFloatDatatypeRep
&
operator=
(
const
DtFloatDatatypeRep
& rhs);
34
36
virtual
const
char
*
datatype
()
const
;
37
39
virtual
float
floatVal(
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
DtNetFloat32
* netValPtr(
const
void
* ptr,
int
* size=0)
const
;
54
55
};
56
57
Document ID: Generated on Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)