SourcePro® API Reference Guide

 
Loading...
Searching...
No Matches
SourcePro Core

Topics

 Internationalization Module
 
 Advanced Tools Module
 
 Threads Module
 
 Essential Tools Module
 
 XML Streams Module
 

Macros

#define RW_AVOID_PREPROCESSOR_PROBLEMS
 
#define RW_COPY_ON_WRITE_STRING
 
#define RW_DEBUG
 
#define RW_DECLARE_PERSISTABLE(CLASS)
 
#define RW_DECLARE_PERSISTABLE_TEMPLATE(T__CLASS)
 
#define RW_DECLARE_PERSISTABLE_TEMPLATE_2(T__CLASS)
 
#define RW_DECLARE_PERSISTABLE_TEMPLATE_3(T__CLASS)
 
#define RW_DECLARE_PERSISTABLE_TEMPLATE_4(T__CLASS)
 
#define RW_DECLARE_PERSISTABLE_TEMPLATE_5(T__CLASS)
 
#define RW_DEFINE_PERSISTABLE(CLASS)
 
#define RW_DEFINE_PERSISTABLE_TEMPLATE(T__CLASS)
 
#define RW_DEFINE_PERSISTABLE_TEMPLATE_2(T__CLASS)
 
#define RW_DEFINE_PERSISTABLE_TEMPLATE_3(T__CLASS)
 
#define RW_DEFINE_PERSISTABLE_TEMPLATE_4(T__CLASS)
 
#define RW_DEFINE_PERSISTABLE_TEMPLATE_5(T__CLASS)
 
#define RW_DISABLE_DEPRECATED
 
#define RW_MULTI_THREAD
 
#define RW_SECURE_CHECK
 
#define RWBOUNDS_CHECK
 

Detailed Description

SourcePro Core contains an extensive set of fundamental C++ components capable of supporting a wide range of application development.

Macro Definition Documentation

◆ RW_AVOID_PREPROCESSOR_PROBLEMS

#define RW_AVOID_PREPROCESSOR_PROBLEMS
Deprecated
As of SourcePro 13, use RW_DISABLE_DEPRECATED instead.

Deprecated. This macro may be defined as part of a build configuration to disable support for deprecated constructs.

◆ RW_COPY_ON_WRITE_STRING

#define RW_COPY_ON_WRITE_STRING

This macro is defined automatically for build configurations that use the classic copy-on-write string implementation.

◆ RW_DEBUG

#define RW_DEBUG

This macro enables debugging construct such as assertions, preconditions, postconditions, and conditional bounds checking. It is defined automatically for build configurations that enable debugging.

◆ RW_DECLARE_PERSISTABLE

#define RW_DECLARE_PERSISTABLE ( CLASS)

Declares the functions necessary to provide isomorphic persistence to user-defined classes that implement rwSaveGuts() and rwRestoreGuts().

◆ RW_DECLARE_PERSISTABLE_TEMPLATE

#define RW_DECLARE_PERSISTABLE_TEMPLATE ( T__CLASS)

Declares the functions necessary to provide isomorphic persistence to user-defined class templates that take one template parameter and implement rwSaveGuts() and rwRestoreGuts().

◆ RW_DECLARE_PERSISTABLE_TEMPLATE_2

#define RW_DECLARE_PERSISTABLE_TEMPLATE_2 ( T__CLASS)

Declares the functions necessary to provide isomorphic persistence to user-defined class templates that take two template parameters and implement rwSaveGuts() and rwRestoreGuts().

◆ RW_DECLARE_PERSISTABLE_TEMPLATE_3

#define RW_DECLARE_PERSISTABLE_TEMPLATE_3 ( T__CLASS)

Declares the functions necessary to provide isomorphic persistence to user-defined class templates that take three template parameters and implement rwSaveGuts() and rwRestoreGuts().

◆ RW_DECLARE_PERSISTABLE_TEMPLATE_4

#define RW_DECLARE_PERSISTABLE_TEMPLATE_4 ( T__CLASS)

Declares the functions necessary to provide isomorphic persistence to user-defined class templates that take four template parameters and implement rwSaveGuts() and rwRestoreGuts().

◆ RW_DECLARE_PERSISTABLE_TEMPLATE_5

#define RW_DECLARE_PERSISTABLE_TEMPLATE_5 ( T__CLASS)

Declares the functions necessary to provide isomorphic persistence to user-defined class templates that take five template parameters and implement rwSaveGuts() and rwRestoreGuts().

◆ RW_DEFINE_PERSISTABLE

#define RW_DEFINE_PERSISTABLE ( CLASS)

Defines the functions necessary to provide isomorphic persistence to user-defined classes that implement rwSaveGuts() and rwRestoreGuts().

◆ RW_DEFINE_PERSISTABLE_TEMPLATE

#define RW_DEFINE_PERSISTABLE_TEMPLATE ( T__CLASS)

Declares the functions necessary to provide isomorphic persistence to user-defined class templates that take one template parameter and implement rwSaveGuts() and rwRestoreGuts().

◆ RW_DEFINE_PERSISTABLE_TEMPLATE_2

#define RW_DEFINE_PERSISTABLE_TEMPLATE_2 ( T__CLASS)

Declares the functions necessary to provide isomorphic persistence to user-defined class templates that take two template parameters and implement rwSaveGuts() and rwRestoreGuts().

◆ RW_DEFINE_PERSISTABLE_TEMPLATE_3

#define RW_DEFINE_PERSISTABLE_TEMPLATE_3 ( T__CLASS)

Declares the functions necessary to provide isomorphic persistence to user-defined class templates that take three template parameters and implement rwSaveGuts() and rwRestoreGuts().

◆ RW_DEFINE_PERSISTABLE_TEMPLATE_4

#define RW_DEFINE_PERSISTABLE_TEMPLATE_4 ( T__CLASS)

Declares the functions necessary to provide isomorphic persistence to user-defined class templates that take four template parameters and implement rwSaveGuts() and rwRestoreGuts().

◆ RW_DEFINE_PERSISTABLE_TEMPLATE_5

#define RW_DEFINE_PERSISTABLE_TEMPLATE_5 ( T__CLASS)

Declares the functions necessary to provide isomorphic persistence to user-defined class templates that take five template parameters and implement rwSaveGuts() and rwRestoreGuts().

◆ RW_DISABLE_DEPRECATED

#define RW_DISABLE_DEPRECATED

This macro can be explicitly defined in a build configuration to disable support for deprecated constructs.

◆ RW_MULTI_THREAD

#define RW_MULTI_THREAD

This macro is defined automatically for build configurations that use a threading library.

◆ RW_SECURE_CHECK

#define RW_SECURE_CHECK

This macro can be explicitly defined to enable support for runtime-constraint checking on platforms that support secure C library functions.

Note
This macro is implicitly defined in RW_DEBUG builds.

◆ RWBOUNDS_CHECK

#define RWBOUNDS_CHECK

This macro can be explicitly defined in a build configuration to enable bounds checking for functions that use conditional bounds checking.

Copyright © 2024 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved.