VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
omtReader
intDatatypeRep.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 "
datatypeRep.h
"
10
11
#include <
vlutil/vlString.h
>
12
13
class
DtNetU32
;
17
class
DT_DLL_OMTREADER
DtIntDatatypeRep
:
public
DtDatatypeRep
18
{
19
public
:
20
22
DtIntDatatypeRep
(
bool
useImplicitPadding,
bool
unsign =
false
);
23
25
virtual
~
DtIntDatatypeRep
();
26
28
DtIntDatatypeRep
(
const
DtIntDatatypeRep
& orig);
29
31
DtIntDatatypeRep
&
operator=
(
const
DtIntDatatypeRep
& rhs);
32
34
virtual
const
char
*
datatype
()
const
;
35
40
virtual
int
intVal(
const
void
*);
41
43
virtual
unsigned
unsignedIntVal(
const
void
*)
const
;
44
46
virtual
DtString
stringRep
(
const
void
* ptr,
int
* size = 0)
const
;
47
49
virtual
double
numberRep(
const
void
* ptr,
int
* size = 0)
const
;
50
51
virtual
void
setUnsigned(
bool
);
52
54
virtual
std::vector<char>
valueFromStringRep
(
const
DtString
& stringRep)
const
;
55
56
public
:
57
62
static
int
intValFromBuffer(
const
void
*);
63
64
protected
:
65
67
const
DtNetU32
* netValPtr(
const
void
* ptr,
int
* size=0)
const
;
68
69
protected
:
70
bool
myIsUnsigned
;
71
};
72
73
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
)