ODA IFC SDK Developer's Guide > Get Started with IFC SDK > Usage of IFC SDK Sample Applications > ODA IFC SDK Sample Applications Reusable Files
ODA IFC SDK Sample Applications Reusable Files

Summary

ODA Product: IFC SDK
Sample Name: Common
Categories: C++ / Beginner / Common / Linux, macOS, Windows
Source Code Location: Ifc/Examples/Common

Description

Reusable files for IFC SDK sample applications. These files contain definitions and declarations that can be used for creating IFC SDK based custom applications.

The reusable IFC SDK file set includes the following modules:

  • FillerExtender.h — Contains a structure definition that is used for creating entities, and extends filer functionality (validation checks and set of functions for creating different elements and entities).
  • IfcCalculateUniqueNames.h — Provides functionality for operating with PRC product occurrences within IFC SDK. This module includes functions for traversing the assembly tree and generating unique names for PRC occurrences.
  • IfcExamplesCommon.h — Includes service functions and classes for use in custom example applications:
    • Global time variable redefinition.
    • getLocalTime() function redefinition that retrieves the current local date and time.
    • odPrintConsoleString() function redefinition for console application output.
    • MyServices class that combines system and database host service functionality.
    • MyAssert() function for assertion handling.
  • IfcWithTDExamplesCommon.h — Contains definitions and declarations of Drawings SDK functionality for reuse in custom example applications:
    • MyServicesBase class that combines system and PRC database host service functionality.
    • MyServices class that combines system and PRC database host service functionality inherited from the base class.
    • MyAssert function for assertion handling.
  • ModelCompare.h

See Also

Usage of IFC SDK Sample Applications
Copyright © 2002 – 2020. Open Design Alliance. All rights reserved.