HP Integrity NonStop J-Series User Manual
Page 310

Enumerations:
enum RWSeverity {RWWARNING, RWDEFAULT, RWFATAL}
The following modify the behavior of member functions or constructors for the classes involved. The value in
bold font is the default.
RWCString::enum stripType
{leading,trailing,both}
// where to strip characters
RWCString::enum caseCompare
{exact, ignoreCase}
// ignore case during
comparison
RWCString::enum scopeType
{one, all}
// replace how many
substrings
RWBTreeOnDisk::enum styleMode
{V6Style, V5Style}
// file format
RWBTreeOnDisk::enum createMode {autoCreate, create}
//(reuse,make new) btree in
file
RWeostream::enum Endian
{ LittleEndian, BigEndian, HostEndian } // constructor argument
RWLocale::enum CurrSymbol
{ NONE, LOCAL, INTL }
// used in "asString"
methods.
RWWString::enum stripType
{leading,trailing,both}
// where to strip characters
RWWString::enum caseCompare
{exact, ignoreCase}
// ignore case during
comparison
RWWString::enum scopeType
{one, all}
// replace how many
substrings
Tools.h++ Public Macros
These macros are defined to be used by programmers as part of the Tools.h++ API.
In file collect.h
// Macro bodies are removed. See RWcollectable in Class Reference
//and User's Guide.
#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)
In file defs.h
// Defined as shown when RWDEBUG is defined, otherwise defined to nothing.
#define RWPOSTCONDITION(a) assert( (a) != 0 )
#define RWPRECONDITION2(a,b) assert( (a) != 0 )
#define RWPOSTCONDITION2(a,b) assert( (a) != 0 )
#define RWPRECONDITION2(a,b) assert((b, (a) !=0))
#define RWPOSTCONDITION2(a,b) assert((b, (a) !=0))
#define RWASSERT(a) assert( (a) != 0 )
In file edefs.h
// Macro bodies removed. See section on persistence.
#define RWDECLARE_PERSISTABLE_IO(CLASS,ISTR,OSTR)
#define RWDECLARE_PERSISTABLE_TEMPLATE_IO(TEMPLATE, ISTR, OSTR)