CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
IfcCOBieUtils.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2024, 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-2024 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#pragma once
25
26#include "OdaCommon.h"
27#include "COBieBuildOptions.h"
28#include <map>
29#include "OdAnsiString.h"
30
31namespace OdCOBie
32{
37 {
38 public:
61
66
72 static const int getLegendCount();
73
85 static const OdUInt32 getTextColorDefault(const LegendType legendType);
86
98 static const OdUInt32 getBgColorDefault(const LegendType legendType);
99
111 virtual const OdUInt32 getTextColor(const LegendType legendType);
112
124 virtual const OdUInt32 getBgColor(const LegendType legendType);
125
137 virtual void getColor(const LegendType legendType, OdUInt32* textColor, OdUInt32* bgColor);
138 };
139
150
154 typedef std::map<OdAnsiString, AttributeSettings> AttributeSettingsMap;
155
166
170 typedef std::map<OdAnsiString, TableSettrings> TablesSettingsMap;
171
178
179} // namespace OdCOBie
#define COBIE_EXPORT
unsigned int OdUInt32
virtual void getColor(const LegendType legendType, OdUInt32 *textColor, OdUInt32 *bgColor)
virtual const OdUInt32 getTextColor(const LegendType legendType)
virtual const OdUInt32 getBgColor(const LegendType legendType)
static const OdUInt32 getBgColorDefault(const LegendType legendType)
static const int getLegendCount()
static const OdUInt32 getTextColorDefault(const LegendType legendType)
std::map< OdAnsiString, TableSettrings > TablesSettingsMap
std::map< OdAnsiString, AttributeSettings > AttributeSettingsMap
TablesSettingsMap COBIE_EXPORT getCOBieTablesSettings()
OdCOBieColor::LegendType legendType
AttributeSettingsMap attributes
OdCOBieColor::LegendType colorId