SourcePro® API Reference Guide

 
Modules | Macros
SourcePro Core

Module Description

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

Modules

 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
 

Macro Definition Documentation

#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.

#define RW_COPY_ON_WRITE_STRING

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

#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.

#define RW_DECLARE_PERSISTABLE (   CLASS)

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

#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().

#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().

#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().

#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().

#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().

#define RW_DEFINE_PERSISTABLE (   CLASS)

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

#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().

#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().

#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().

#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().

#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().

#define RW_DISABLE_DEPRECATED

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

#define RW_MULTI_THREAD

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

#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.
#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 © 2023 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved.