CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
AecProperties.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
16// license 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#ifndef __AEC_PROPERTIES_H__
25#define __AEC_PROPERTIES_H__
26
27#include "AECBase.h"
28#include "RxProperty.h"
29#include "RxDynamicModule.h"
30
31//DOM-IGNORE-BEGIN
33{
34 static OdArray<OdRxMemberPtr> properties;
35public:
39 virtual void initApp();
40
44 virtual void uninitApp();
45
46private:
47 void loadDependencies();
48 static void createAecEntityProps(OdRxMemberCollectionBuilder& b, void*);
49 static void createAecOpenProps(OdRxMemberCollectionBuilder& b, void*);
50 static void createAecOpeningBaseProps(OdRxMemberCollectionBuilder& b, void*);
51 static void createAecWallProps(OdRxMemberCollectionBuilder& b, void*);
52 static void createAecWindowProps(OdRxMemberCollectionBuilder& b, void*);
53 static void createAecGridAssemblyProps(OdRxMemberCollectionBuilder& b, void*);
54 static void createAecStairProps(OdRxMemberCollectionBuilder& b, void*);
55 static void createAecRailingProps(OdRxMemberCollectionBuilder& b, void*);
56 static void createAecRoofProps(OdRxMemberCollectionBuilder& b, void*);
57 static void createAecSlabBaseProps(OdRxMemberCollectionBuilder& b, void*);
58 static void createAecSpaceProps(OdRxMemberCollectionBuilder& b, void*);
59 static void createAecZoneProps(OdRxMemberCollectionBuilder& b, void*);
60 static void createAecSMemberProps(OdRxMemberCollectionBuilder& b, void*);
61 static void createAecColumnGridProps(OdRxMemberCollectionBuilder& b, void*);
62
63 static void createGeoProps(OdRxMemberCollectionBuilder& b, void*);
64
65 template <class T>
66 static void createAecProperty(OdRxMemberCollectionBuilder& b, void*)
67 {
68 properties.append(T::createObject(b.owner()));
69 b.add(properties.last());
70 }
71
72 static OdArray<OdRxMemberPtr>& getProperties();
73};
74
75#endif //__AEC_PROPERTIES_H__
virtual void uninitApp()
virtual void initApp()
void add(OdRxMember *member)
const OdRxClass * owner() const
Definition RxMember.h:292