System Configuration

Collaboration diagram for System Configuration:


Detailed Description

These macros are configured internally and are not overrideable. They will always be prefixed with _DWFCORE_.

These macros are configured internally based on the hardware, operating system and compiler software. They must not be overridden - doing so will lead to unpredicatable, undesireable and possibly uncompilable behavior. That said, they are available for use in client code that requires platform distinction.


Modules

 String Handling
 These macros define preferred string handling functions in the core library.
 Hardware Configuration
 These macros can be used to determine current the hardware configuration.
 Operating System Configuration
 These macros can be used to determine current the operating system configuration.
 Microsoft Windows Build Configuration
 These macros define functionality of the core library built for Microsoft Windows platforms.
 Character Types and Numeric Constants
 These macros should be used whenever possible for maximum portability and inambiguity.

Defines

#define _DWFCORE_DECLARE_EXCEPTION_CLASS(this, super)
 Declares a new exception class.
#define _DWFCORE_THROW(ex_class, message)
 Creates an exception object on the local stack and throws it.
#define _DWFCORE_HASH_JENK96_MIX(a, b, c)
 Mixing function for Jenk96 string hashing kernels.


Define Documentation

#define _DWFCORE_DECLARE_EXCEPTION_CLASS this,
super   ) 
 

Value:

class DWF##this##Exception : public super                                                           \
{                                                                                                   \
public:                                                                                             \
    _DWFCORE_API DWF##this##Exception(const wchar_t* zMessage,                                      \
                                      const char*    zFunction,                                     \
                                      const wchar_t* zFile,                                         \
                                      unsigned int   nLine )                                        \
        : super(zMessage, zFunction, zFile, nLine) {;}                                              \
    _DWFCORE_API virtual ~DWF##this##Exception() throw() {;}                                        \
    _DWFCORE_API virtual const wchar_t* type() const                                                \
    throw() { return _DWFCORE_FORCE_WIDE_STRING(_DWFCORE_STRING_ECHO(DWF##this##Exception)); }      \
};
Declares a new exception class.

This macro can be used to create new exception classes. It provides the definition of type() as well.

Definition at line 177 of file Exception.h.

#define _DWFCORE_THROW ex_class,
message   ) 
 

Value:

_DWFCORE_BUILD_EX( ex_class, message )                          \
    _DWFCORE_THROW_EX
Creates an exception object on the local stack and throws it.

Use this macro to create and throw a typed exception object pre-populated with the event details.

Examples:
Files/Files.cpp, and Strings/Strings.cpp.

Definition at line 348 of file Exception.h.


Generated on Tue Jan 6 22:39:29 2009 for Autodesk DWF Core Library by  doxygen 1.4.5