CFx SDK Documentation
2020SP3
SDK
CFx
dd_inc
OdGUID.h
Go to the documentation of this file.
1
// Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3
// All rights reserved.
4
//
5
// This software and its documentation and related materials are owned by
6
// the Alliance. The software may only be incorporated into application
7
// programs owned by members of the Alliance, subject to a signed
8
// Membership Agreement and Supplemental Software License Agreement with the
9
// Alliance. The structure and organization of this software are the valuable
10
// trade secrets of the Alliance and its suppliers. The software is also
11
// protected by copyright law and international treaty provisions. Application
12
// programs incorporating this software must include the following statement
13
// with their copyright notices:
14
//
15
// This application incorporates Teigha(R) software pursuant to a license
16
// agreement with Open Design Alliance.
17
// Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18
// All rights reserved.
19
//
20
// By use of this software, its documentation or related materials, you
21
// acknowledge and accept the above terms.
23
24
#ifndef ODGUID_H_INCLUDED
25
#define ODGUID_H_INCLUDED
26
27
class
OdString
;
28
29
class
FIRSTDLL_EXPORT
OdGUID
{
30
public
:
31
typedef
OdUInt8
DataType[0x10];
32
typedef
OdUInt8
Data4Type[0x8];
33
struct
StringFormat
{
34
enum
Enum
{
35
Digits
,
36
Hyphenses
,
37
Braces
,
38
Parentheses
,
39
Extended
40
};
41
};
42
43
FIRSTDLL_EXPORT_STATIC
static
const
OdGUID
kNull
;
44
45
OdGUID
();
46
OdGUID
(
const
OdUInt32
,
const
OdUInt16
,
const
OdUInt16
,
const
OdUInt8
,
47
const
OdUInt8
,
const
OdUInt8
,
const
OdUInt8
,
const
OdUInt8
,
48
const
OdUInt8
,
const
OdUInt8
,
const
OdUInt8
);
49
OdGUID
(
const
OdInt32
,
const
OdInt16
,
const
OdInt16
,
const
Data4Type&);
50
explicit
OdGUID
(
const
DataType&);
51
explicit
OdGUID
(
const
OdString
&);
52
53
OdGUID
&
operator=
(
const
OdGUID
&);
54
55
bool
operator<
(
const
OdGUID
&)
const
;
56
bool
operator>
(
const
OdGUID
&)
const
;
57
bool
operator==
(
const
OdGUID
&)
const
;
58
bool
operator!=
(
const
OdGUID
&)
const
;
59
bool
operator<=
(
const
OdGUID
&)
const
;
60
bool
operator>=
(
const
OdGUID
&)
const
;
61
78
OdString
toString
(
79
const
StringFormat::Enum
format
= StringFormat::Hyphenses)
const
;
80
81
const
DataType&
data
()
const
;
82
private
:
83
void
init(
const
DataType&);
84
void
init(
85
const
OdUInt32
p0,
const
OdUInt16
p1,
const
OdUInt16
p2,
const
OdUInt8
p3,
86
const
OdUInt8
p4,
const
OdUInt8
p5,
const
OdUInt8
p6,
const
OdUInt8
p7,
87
const
OdUInt8
p8,
const
OdUInt8
p9,
const
OdUInt8
p10);
88
89
OdUInt8
m_data[0x10];
90
};
91
92
#endif // ODGUID_H_INCLUDED
FIRSTDLL_EXPORT
#define FIRSTDLL_EXPORT
Definition:
RootExport.h:39
OdGUID::StringFormat::Parentheses
@ Parentheses
Definition:
OdGUID.h:38
OdString
Definition:
OdString.h:95
OdGUID::kNull
static FIRSTDLL_EXPORT_STATIC const OdGUID kNull
Definition:
OdGUID.h:43
OdGUID::operator==
bool operator==(const OdGUID &) const
OdUInt8
unsigned char OdUInt8
Definition:
OdPlatformSettings.h:759
OdGUID::StringFormat::Braces
@ Braces
Definition:
OdGUID.h:37
OdGUID::operator>
bool operator>(const OdGUID &) const
OdGUID::operator!=
bool operator!=(const OdGUID &) const
OdGUID::toString
OdString toString(const StringFormat::Enum format=StringFormat::Hyphenses) const
OdGUID::StringFormat::Digits
@ Digits
Definition:
OdGUID.h:35
OdUInt16
unsigned short OdUInt16
Definition:
OdPlatformSettings.h:760
OdGUID::operator=
OdGUID & operator=(const OdGUID &)
OdUInt32
unsigned int OdUInt32
Definition:
OdPlatformSettings.h:783
OdInt16
short OdInt16
Definition:
OdPlatformSettings.h:756
OdGUID::StringFormat::Enum
Enum
Definition:
OdGUID.h:34
OdGUID::OdGUID
OdGUID(const OdInt32, const OdInt16, const OdInt16, const Data4Type &)
OdGUID::data
const DataType & data() const
OdGUID::StringFormat
Definition:
OdGUID.h:33
OdGUID::OdGUID
OdGUID(const OdString &)
FIRSTDLL_EXPORT_STATIC
#define FIRSTDLL_EXPORT_STATIC
Definition:
RootExport.h:40
OdInt32
int OdInt32
Definition:
OdPlatformSettings.h:782
OdGUID::StringFormat::Hyphenses
@ Hyphenses
Definition:
OdGUID.h:36
OdGUID::OdGUID
OdGUID(const DataType &)
format
GLint GLint GLint GLsizei GLsizei GLenum format
Definition:
gles2_ext.h:111
OdGUID
Definition:
OdGUID.h:29
OdGUID::operator<
bool operator<(const OdGUID &) const
OdGUID::OdGUID
OdGUID()
OdGUID::operator<=
bool operator<=(const OdGUID &) const
OdGUID::operator>=
bool operator>=(const OdGUID &) const
OdGUID::OdGUID
OdGUID(const OdUInt32, const OdUInt16, const OdUInt16, const OdUInt8, const OdUInt8, const OdUInt8, const OdUInt8, const OdUInt8, const OdUInt8, const OdUInt8, const OdUInt8)
Generated on Mon Oct 12 2020 11:49:43