VR-Exchange 2.4 API Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
portal
variableLengthData.h
Go to the documentation of this file.
1
/****************************************************************************
2
* Copyright (c) 2014 VT MAK
3
* All rights reserved.
4
****************************************************************************/
5
9
10
#pragma once
11
12
#include <
portal/dllExport.h
>
13
#include <
portal/addAttribute.h
>
14
#include <vlutil/vlString.h>
15
#include <vector>
16
#include <iosfwd>
17
#include <list>
18
19
namespace
MAKVrExchange
20
{
21
24
class
DT_DLL_LIBPORTAL
DtVariableLengthData
25
{
26
public
:
27
29
DtVariableLengthData
();
30
33
DtVariableLengthData
(
const
char
* data,
unsigned
int
size );
34
36
DtVariableLengthData
(
const
DtVariableLengthData
& other );
37
39
~
DtVariableLengthData
();
40
42
DtVariableLengthData
& operator = (
const
DtVariableLengthData
& other );
43
46
47
bool
operator == (
const
DtVariableLengthData
& other )
const
;
48
bool
operator != (
const
DtVariableLengthData
& other )
const
;
49
51
53
void
setData(
const
char
* data,
unsigned
int
size );
54
56
const
char
* data()
const
;
57
59
const
unsigned
int
size()
const
;
60
62
virtual
std::ostream& printDataToStream( std::ostream& stream )
const
;
63
66
67
DtDEC_ATTRIBUTE
( std::vector<char>, DataArray, dataArray );
68
70
71
};
72
73
75
typedef
std::pair<DtString,DtVariableLengthData>
DtAttributeValuePair
;
76
79
typedef
std::list<DtAttributeValuePair>
DtAttributeValuePairList
;
80
82
std::ostream &
operator <<
( std::ostream &stream,
const
DtVariableLengthData
& val );
83
85
std::ostream &
operator <<
( std::ostream &stream,
const
DtAttributeValuePair
& val );
86
88
std::ostream &
operator <<
( std::ostream &stream,
const
DtAttributeValuePairList
& val );
89
90
}
Document ID: Generated on Thu Jul 23 10:25:22 EDT 2015 from SVN revision 155065
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)