CFx SDK Documentation
2020SP3
SDK
CFx
dd_inc
Gi
GiAnnoScaleSet.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 __ODGIANNOSCALESET_H__
25
#define __ODGIANNOSCALESET_H__
26
27
#include "
TD_PackPush.h
"
28
29
#include "
Gi/GiExport.h
"
30
#include "
DbStubPtrArray.h
"
31
39
class
ODGI_EXPORT
OdGiAnnoScaleSet
40
{
41
public
:
42
OdGiAnnoScaleSet
() : m_defaultId(
NULL
){}
43
OdGiAnnoScaleSet
(
OdDbStubPtrArray
& aSortedId, OdDbStub* defaultId) : m_aId(aSortedId), m_defaultId(defaultId){}
44
OdGiAnnoScaleSet
(
const
OdGiAnnoScaleSet
&
v
) : m_aId(
v
.m_aId), m_defaultId(
v
.m_defaultId){}
45
bool
operator <
(
const
OdGiAnnoScaleSet
&
v
)
const
;
46
void
set
(
OdDbStubPtrArray
& aSortedId, OdDbStub* defaultId)
47
{
48
m_aId = aSortedId; m_defaultId = defaultId;
49
}
50
void
clear
() { m_aId.clear(); m_defaultId =
NULL
; }
51
const
OdDbStubPtrArray
&
annoScaleIds
()
const
{
return
m_aId; }
52
OdDbStub*
defaultId
()
const
{
return
m_defaultId; }
53
54
protected
:
55
OdDbStubPtrArray
m_aId
;
//sorted
56
OdDbStub*
m_defaultId
;
57
};
58
59
#include "
TD_PackPop.h
"
60
61
#endif // __ODGIANNOSCALESET_H__
NULL
#define NULL
Definition:
GsProperties.h:177
OdGiAnnoScaleSet::m_aId
OdDbStubPtrArray m_aId
Definition:
GiAnnoScaleSet.h:55
OdGiAnnoScaleSet::OdGiAnnoScaleSet
OdGiAnnoScaleSet(const OdGiAnnoScaleSet &v)
Definition:
GiAnnoScaleSet.h:44
OdArray< OdDbStub *, OdMemoryAllocator< OdDbStub * > >
OdGiAnnoScaleSet::set
void set(OdDbStubPtrArray &aSortedId, OdDbStub *defaultId)
Definition:
GiAnnoScaleSet.h:46
TD_PackPop.h
ODGI_EXPORT
#define ODGI_EXPORT
Definition:
GiExport.h:35
OdGiAnnoScaleSet::m_defaultId
OdDbStub * m_defaultId
Definition:
GiAnnoScaleSet.h:56
OdGiAnnoScaleSet::OdGiAnnoScaleSet
OdGiAnnoScaleSet()
Definition:
GiAnnoScaleSet.h:42
OdGiAnnoScaleSet
Definition:
GiAnnoScaleSet.h:40
OdGiAnnoScaleSet::clear
void clear()
Definition:
GiAnnoScaleSet.h:50
v
const GLfloat * v
Definition:
gles2_ext.h:315
TD_PackPush.h
operator<
bool operator<(const OdString &s1, const OdString &s2)
Definition:
OdString.h:1284
OdGiAnnoScaleSet::OdGiAnnoScaleSet
OdGiAnnoScaleSet(OdDbStubPtrArray &aSortedId, OdDbStub *defaultId)
Definition:
GiAnnoScaleSet.h:43
GiExport.h
OdGiAnnoScaleSet::annoScaleIds
const OdDbStubPtrArray & annoScaleIds() const
Definition:
GiAnnoScaleSet.h:51
OdGiAnnoScaleSet::defaultId
OdDbStub * defaultId() const
Definition:
GiAnnoScaleSet.h:52
DbStubPtrArray.h
Generated on Mon Oct 12 2020 11:49:33