libMVRgdtf
40bc00a
A library for GDTF and MVR
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
x
Variables
i
k
m
Typedefs
_
c
d
e
f
g
i
j
k
m
n
o
p
q
r
s
t
u
v
w
Enumerations
c
e
v
w
x
Enumerator
c
d
e
f
k
n
p
r
s
u
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
i
j
k
m
n
o
p
r
s
t
v
w
Enumerations
Enumerator
Related Symbols
:
b
d
o
s
w
x
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
b
c
d
f
g
h
i
m
n
o
r
s
t
v
x
Variables
d
k
m
p
Typedefs
b
c
d
f
g
i
m
r
s
t
u
v
x
Enumerations
Enumerator
k
m
t
Macros
_
a
c
d
e
f
g
i
j
k
m
n
p
r
s
t
u
v
w
x
z
▼
libMVRgdtf
Deprecated List
►
Namespaces
►
Classes
▼
Files
▼
File List
▼
src
►
Implementation
►
Include
►
Interface
►
Minizip
►
mvrxchange
►
Prefix
►
rapidxmlsupport
►
sha256
►
Wrapper
►
XMLLib
►
BasicMath.X.cpp
►
BasicMath.X.h
CieColor.cpp
►
CieColor.h
►
FolderSpecifiers.h
GdtfError.cpp
►
GdtfError.h
GDTFManager.cpp
►
GDTFManager.h
►
GSDebug.h
►
GSIntTypes.h
►
GSString.cpp
►
GSString.h
►
GSTypes.h
GSUtil.h
HashManager.cpp
►
HashManager.h
MCCoordTypes.cpp
►
MCCoordTypes.h
MCFloat.cpp
►
MCFloat.h
►
MCMatrix.cpp
►
MCMatrix.h
►
ModuleMain.cpp
RGBColor.cpp
►
RGBColor.h
SceneDataExchange.cpp
►
SceneDataExchange.h
Utility.cpp
►
Utility.h
UUID.cpp
►
UUID.h
VWLine2D.cpp
►
VWLine2D.h
VWLine3D.cpp
►
VWLine3D.h
VWMathUtils.cpp
►
VWMathUtils.h
VWPoint2D.cpp
►
VWPoint2D.h
VWPoint3D.cpp
►
VWPoint3D.h
►
VWTransformMatrix.cpp
►
VWTransformMatrix.h
►
XmlFileHelper.cpp
►
XmlFileHelper.h
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
UUID.h
Go to the documentation of this file.
1
//
2
// Copyright Nemetschek Vectorworks, Inc.
3
// Use of this file is governed by the Nemetschek Vectorworks SDK License Agreement
4
// http://developer.vectorworks.net/index.php?title=Vectorworks_SDK_License
5
//
6
7
#pragma once
8
9
namespace
VectorworksMVR
10
{
11
namespace
VWFC
12
{
13
namespace
Tools
14
{
15
// NOTE! You have to import library 'Rpcrt4.lib' on windows
16
// for this class to be used !!!
17
class
VWUUID
18
{
19
public
:
20
VWUUID
();
21
// the bits are reversed
22
// for example:
23
// {09E95D97-364C-43d5-8ADF-FF4CE0EC41A7}
24
// '975DE909' 'd5434C36' '4CFFDF8A' 'A741ECE0'
25
VWUUID
(
Uint32
a,
Uint32
b,
Uint32
c,
Uint32
d);
26
// copy the bytes one by one
27
VWUUID
(
const
Uint8
*
const
pArray,
size_t
size);
28
VWUUID
(
const
VWIID
& iid);
29
VWUUID
(
const
VWUUID
& src);
30
// Trows exception if not in this format
31
// {09E95D97-364C-43d5-8ADF-FF4CE0EC41A7}
32
VWUUID
(
const
TXString
& str);
33
~VWUUID
();
34
35
VWUUID
&
operator=
(
const
VWUUID
& src);
36
37
bool
operator==
(
const
VWUUID
&
id
)
const
;
38
bool
operator!=
(
const
VWUUID
&
id
)
const
;
39
operator
TXString
()
const
;
40
41
// create four 32 Bit integer from the components of the GUID structure
42
// the bits are reversed
43
// for example:
44
// {09E95D97-364C-43d5-8ADF-FF4CE0EC41A7}
45
// '975DE909' 'd5434C36' '4CFFDF8A' 'A741ECE0'
46
void
New
();
47
void
GetUUID
(
Uint32
& out1,
Uint32
& out2,
Uint32
& out3,
Uint32
& out4)
const
;
48
// copy the byes one by one as they are
49
void
GetUUID
(
Uint8
* pArray,
size_t
size)
const
;
50
// get as VCOM IID
51
void
GetUUID
(
VWIID
& out)
const
;
52
53
TXString
ToString
(
bool
includeBrackets)
const
;
54
bool
FromString
(
const
TXString
& str,
bool
includeBrackets =
true
);
55
56
TXString
Encode
(
const
TXString
& arrChars)
const
;
57
58
protected
:
59
// {09E95D97-364C-43d5-8ADF-FF4CE0EC41A7}
60
union
61
{
62
Uint8
fData
[16];
63
Uint32
fData32
[4];
64
Uint64
fData64
[2];
65
};
66
67
};
17
class
VWUUID
{
…
};
68
}
13
namespace
Tools {
…
}
69
}
11
namespace
VWFC {
…
}
70
}
Uint8
uint8_t Uint8
Definition
GSTypes.h:25
Uint64
uint64_t Uint64
Definition
GSTypes.h:28
Uint32
uint32_t Uint32
Definition
GSTypes.h:27
VectorworksMVR::TXString
Definition
GSString.h:134
VectorworksMVR::VWFC::Tools::VWUUID
Definition
UUID.h:18
VectorworksMVR::VWFC::Tools::VWUUID::Encode
TXString Encode(const TXString &arrChars) const
Definition
UUID.cpp:399
VectorworksMVR::VWFC::Tools::VWUUID::operator==
bool operator==(const VWUUID &id) const
Definition
UUID.cpp:102
VectorworksMVR::VWFC::Tools::VWUUID::operator=
VWUUID & operator=(const VWUUID &src)
Definition
UUID.cpp:95
VectorworksMVR::VWFC::Tools::VWUUID::New
void New()
Definition
UUID.cpp:290
VectorworksMVR::VWFC::Tools::VWUUID::fData32
Uint32 fData32[4]
Definition
UUID.h:63
VectorworksMVR::VWFC::Tools::VWUUID::VWUUID
VWUUID()
Definition
UUID.cpp:284
VectorworksMVR::VWFC::Tools::VWUUID::GetUUID
void GetUUID(Uint32 &out1, Uint32 &out2, Uint32 &out3, Uint32 &out4) const
Definition
UUID.cpp:366
VectorworksMVR::VWFC::Tools::VWUUID::operator!=
bool operator!=(const VWUUID &id) const
Definition
UUID.cpp:111
VectorworksMVR::VWFC::Tools::VWUUID::FromString
bool FromString(const TXString &str, bool includeBrackets=true)
Definition
UUID.cpp:202
VectorworksMVR::VWFC::Tools::VWUUID::ToString
TXString ToString(bool includeBrackets) const
Definition
UUID.cpp:171
VectorworksMVR::VWFC::Tools::VWUUID::~VWUUID
~VWUUID()
Definition
UUID.cpp:91
VectorworksMVR::VWFC::Tools::VWUUID::fData
Uint8 fData[16]
Definition
UUID.h:62
VectorworksMVR::VWFC::Tools::VWUUID::fData64
Uint64 fData64[2]
Definition
UUID.h:64
VectorworksMVR
Definition
CieColor.h:9
VectorworksMVR::VWIID
Definition
VectorworksMVR.h:32
src
UUID.h