VR-Link API Documentation for HLA Evolved
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
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
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
DtNetU64
;
19
23
class
DT_DLL_OMTREADER
DtLongDatatypeRep
:
public
DtNumberDatatypeRep
24
{
25
public
:
26
28
DtLongDatatypeRep
(
bool
useImplicitPadding,
bool
unsign =
false
);
29
31
virtual
~
DtLongDatatypeRep
();
32
34
DtLongDatatypeRep
(
const
DtLongDatatypeRep
& orig);
35
37
DtLongDatatypeRep
& operator=(
const
DtLongDatatypeRep
& rhs);
38
40
virtual
const
char
* datatype()
const
;
41
43
virtual
long
long
longVal(
const
void
*)
const
;
44
46
virtual
unsigned
long
long
unsignedLongVal(
const
void
*)
const
;
47
49
virtual
DtString
stringRep(
const
void
* ptr,
int
* size = 0)
const
;
50
52
virtual
double
numberRep(
const
void
* ptr,
int
* size = 0)
const
;
53
54
virtual
void
setUnsigned(
bool
);
55
57
virtual
std::vector<char> valueFromStringRep(
const
DtString
& stringRep)
const
;
58
59
protected
:
60
62
const
DtNetU64
* netValPtr(
const
void
* ptr,
int
* size=0)
const
;
63
64
protected
:
65
bool
myIsUnsigned
;
66
};
67
68
#ifdef DtUSE_UTILITIES_NAMESPACE
69
}
// end of namespace DtUSE_UTILITIES_NAMESPACE
70
#endif
Document ID: Generated on Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)