CFx SDK Documentation
2022 SP0
SDK
CFx
bim_ifc
Common
IfcGUID.h
Go to the documentation of this file.
1
// Copyright (C) 2002-2019, 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 Open Design Alliance software pursuant to a license
16
// agreement with Open Design Alliance.
17
// Open Design Alliance Copyright (C) 2002-2019 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 _OD_IFC_GUID_H_
25
#define _OD_IFC_GUID_H_
26
27
#include "
OdaCommon.h
"
28
#include "
OdAnsiString.h
"
29
#include "
IfcBuildOptions.h
"
30
34
namespace
OdIfc
{
35
39
class
IFCCORE_EXPORT
OdIfcGUID
40
{
41
public
:
42
46
OdIfcGUID
();
47
53
OdIfcGUID
& operator= (
const
OdAnsiString &s);
54
60
bool
operator==
(
const
OdIfcGUID
&other)
const
61
{
62
return
strncmp(m_val, other.m_val, 22) == 0;
63
};
64
70
bool
operator!=
(
const
OdIfcGUID
&other)
const
71
{
72
return
!(this->
operator ==
(other));
73
};
74
78
operator
const
char
* ()
const
;
79
83
operator
char
* ();
84
89
static
OdIfcGUID
generate
();
90
91
//DOM-IGNORE-BEGIN
92
private
:
93
char
m_val[23];
94
//DOM-IGNORE-END
95
};
96
}
97
98
#endif
// _OD_IFC_GUID_H_
IfcBuildOptions.h
IFCCORE_EXPORT
#define IFCCORE_EXPORT
Definition:
IfcBuildOptions.h:28
OdAnsiString.h
OdaCommon.h
OdIfc::OdIfcGUID
Definition:
IfcGUID.h:40
OdIfc::OdIfcGUID::generate
static OdIfcGUID generate()
OdIfc::OdIfcGUID::OdIfcGUID
OdIfcGUID()
OdDAI::operator!=
bool DAI_EXPORT operator!=(const OdDAI::OdSelect &left, const OdDAI::OdSelect &right)
OdDAI::operator==
bool DAI_EXPORT operator==(const OdFileDescriptionAuto &left, const OdFileDescriptionAuto &right)
OdIfc
Definition:
FxBIMDatabase.h:41
Generated on Fri Jan 22 2021 18:01:41