These macros are defined to be used by programmers as part of the Essential Tools Module API.
Macro bodies are removed. See RWCollectable in SourcePro C++ API Reference Guide. The following legacy macros:
#define RWDECLARE_ABSTRACT_COLLECTABLE(className) #define RWDEFINE_ABSTRACT_COLLECTABLE(className) #define RWDECLARE_COLLECTABLE(className) #define RWDEFINE_COLLECTABLE(className,id) #define RWDEFINE_NAMED_COLLECTABLE(className,str) |
have been replaced by:
#define RW_DECLARE_COLLECTABLE_CLASS(libName,className) #define RW_DECLARE_ABSTRACT_COLLECTABLE_CLASS(libName,className) #define RW_DEFINE_ABSTRACT_COLLECTABLE_CLASS(libName,className) #define RW_DECLARE_COLLECTABLE_CLASS(libName,className) #define RW_DEFINE_COLLECTABLE_CLASS_BY_ID(libName,className,Id) #define RW_DEFINE_NAMED_COLLECTABLE_CLASS_BY_NAME(libName,className,str) |
with the same functionality.
Defined as shown when RWDEBUG is defined; otherwise defined to nothing. The following legacy macros:
#define RW_POSTCONDITION(a) assert( (a) != 0 ) #define RW_PRECONDITION2(a,b) assert( (a) != 0 ) #define RW_POSTCONDITION2(a,b) assert( (a) != 0 ) #define RW_PRECONDITION2(a,b) assert((b, (a) !=0)) #define RW_POSTCONDITION2(a,b) assert((b, (a) !=0)) #define RW_ASSERT(a) assert( (a) != 0 ) |
have been replaced by:
#define RW_POSTCONDITION(a)assert((a)!=0 ) #define RW_PRECONDITION2(a,b)assert((a)!=0 ) #define RW_POSTCONDITION2(a,b)assert((a)!=0 ) #define RW_PRECONDITION2(a,b)assert((b,(a)!=0)) #define RW_POSTCONDITION2(a,b)assert((b,(a)!=0)) #define RW_ASSERT(a)assert((a)!=0 ) |
with the same functionality.
Macro bodies removed. See Chapter 8, "Persistence." The following macro bodies:
#define RWDECLARE_PERSISTABLE_IO(CLASS,ISTR,OSTR) #define RWDECLARE_PERSISTABLE_TEMPLATE_IO(TEMPLATE, ISTR, OSTR) #define RWDECLARE_PERSISTABLE_TEMPLATE_IO_2(TEMPLATE, ISTR, OSTR) #define RWDECLARE_PERSISTABLE_TEMPLATE_IO_3(TEMPLATE, ISTR, OSTR) #define RWDECLARE_PERSISTABLE_TEMPLATE_IO_4(TEMPLATE, ISTR, OSTR) #define RWDECLARE_PERSISTABLE(CLASS) #define RWDECLARE_PERSISTABLE_TEMPLATE(TEMPLATE) #define RWDECLARE_PERSISTABLE_TEMPLATE_2(TEMPLATE) #define RWDECLARE_PERSISTABLE_TEMPLATE_3(TEMPLATE) #define RWDECLARE_PERSISTABLE_TEMPLATE_4(TEMPLATE) |
have been replaced by:
#define RW_DECLARE_PERSISTABLE_IO(CLASS,ISTR,OSTR) #define RW_DECLARE_PERSISTABLE_TEMPLATE_IO(TEMPLATE,ISTR,OSTR) #define RW_DECLARE_PERSISTABLE_TEMPLATE_IO_2(TEMPLATE,ISTR,OSTR) #define RW_DECLARE_PERSISTABLE_TEMPLATE_IO_3(TEMPLATE,ISTR,OSTR) #define RW_DECLARE_PERSISTABLE_TEMPLATE_IO_4(TEMPLATE,ISTR,OSTR) #define RW_DECLARE_PERSISTABLE(CLASS) #define RW_DECLARE_PERSISTABLE_TEMPLATE(TEMPLATE) #define RW_DECLARE_PERSISTABLE_TEMPLATE_2(TEMPLATE) #define RW_DECLARE_PERSISTABLE_TEMPLATE_3(TEMPLATE) #define RW_DECLARE_PERSISTABLE_TEMPLATE_4(TEMPLATE) |
Macro bodies removed. See Chapter 8, "Persistence." The following macro bodies:
#define RWDEFINE_PERSISTABLE_IO(CLASS,ISTR,OSTR) #define RWDEFINE_PERSISTABLE_TEMPLATE_IO(TEMPLATE,ISTR,OSTR) #define RWDEFINE_PERSISTABLE_TEMPLATE_IO_2(TEMPLATE,ISTR,OSTR #define RWDEFINE_PERSISTABLE_TEMPLATE_IO_3(TEMPLATE,ISTR,OSTR) #define RWDEFINE_PERSISTABLE_TEMPLATE_IO_4(TEMPLATE,ISTR,OSTR) #define RWDEFINE_PERSISTABLE(CLASS) #define RWDEFINE_PERSISTABLE_TEMPLATE(TEMPLATE) #define RWDEFINE_PERSISTABLE_TEMPLATE_2(TEMPLATE) #define RWDEFINE_PERSISTABLE_TEMPLATE_3(TEMPLATE) #define RWDEFINE_PERSISTABLE_TEMPLATE_4(TEMPLATE) |
have been replaced by:
#define RW_DEFINE_PERSISTABLE_IO(CLASS,ISTR,OSTR) #define RW_DEFINE_PERSISTABLE_TEMPLATE_IO(TEMPLATE,ISTR,OSTR) #define RW_DEFINE_PERSISTABLE_TEMPLATE_IO_2(TEMPLATE,ISTR,OSTR #define RW_DEFINE_PERSISTABLE_TEMPLATE_IO_3(TEMPLATE,ISTR,OSTR) #define RW_DEFINE_PERSISTABLE_TEMPLATE_IO_4(TEMPLATE,ISTR,OSTR) #define RW_DEFINE_PERSISTABLE(CLASS) #define RW_DEFINE_PERSISTABLE_TEMPLATE(TEMPLATE) #define RW_DEFINE_PERSISTABLE_TEMPLATE_2(TEMPLATE) #define RW_DEFINE_PERSISTABLE_TEMPLATE_3(TEMPLATE) #define RW_DEFINE_PERSISTABLE_TEMPLATE_4(TEMPLATE) |
Convenience macros.
#define RW_PROVIDE_DVSTREAM_INSERTER(DerivedOstream,vstreamable) #define RW_PROVIDE_DVSTREAM_EXTRACTOR(DerivedIstream,vstreamable) |
Useful when writing code portable between "current" and "ANSI-compliant" compilers. See templates.
#define RWDefHArgs(T) ,RWTHasher<T>,equal_to<T> |
Useful when writing code portable between "current" and "ANSI-compliant" compilers. See templates.
#define RWDefCArgs(T) ,less<T> |
Copyright © Rogue Wave Software, Inc. All Rights Reserved.
The Rogue Wave name and logo, and SourcePro, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.