VR-Link API Documentation for HLA Evolved
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
omtReader
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
#include "
numberDatatypeRep.h
"
10
11
#include <
vlutil/vlString.h
>
12
13
class
DtNetU64
;
14
18
class
DT_DLL_OMTREADER
DtLongDatatypeRep
:
public
DtNumberDatatypeRep
19
{
20
public
:
21
23
DtLongDatatypeRep
(
bool
useImplicitPadding,
bool
unsign =
false
);
24
26
virtual
~
DtLongDatatypeRep
();
27
29
DtLongDatatypeRep
(
const
DtLongDatatypeRep
& orig);
30
32
DtLongDatatypeRep
&
operator=
(
const
DtLongDatatypeRep
& rhs);
33
35
virtual
const
char
*
datatype
()
const
;
36
38
virtual
long
long
longVal(
const
void
*)
const
;
39
41
virtual
unsigned
long
long
unsignedLongVal(
const
void
*)
const
;
42
44
virtual
DtString
stringRep
(
const
void
* ptr,
int
* size = 0)
const
;
45
47
virtual
double
numberRep
(
const
void
* ptr,
int
* size = 0)
const
;
48
49
virtual
void
setUnsigned(
bool
);
50
52
virtual
std::vector<char>
valueFromStringRep
(
const
DtString
& stringRep)
const
;
53
54
protected
:
55
57
const
DtNetU64
* netValPtr(
const
void
* ptr,
int
* size=0)
const
;
58
59
protected
:
60
bool
myIsUnsigned
;
61
};
62
Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)