C++ TargetRTS
Loading...
Searching...
No Matches
RTBoolean.h
1/*
2 * Licensed Materials - Property of HCL and/or IBM
3 * Copyright HCL Technologies Ltd. 2016, 2021. All Rights Reserved.
4 * Copyright IBM Corporation 1999, 2016. All Rights Reserved.
5 *
6 * U.S. Government Users Restricted Rights - Use, duplication or
7 * disclosure restricted by GSA ADP Schedule.
8 */
9
10#ifndef __RTBoolean_h__
11#define __RTBoolean_h__ included
12
13#ifdef PRAGMA
14#pragma interface
15#endif
16
17#ifndef __RTInteger_h__
18#include <RTInteger.h>
19#endif
20
21class RTBoolean : public RTInteger
22{
23public:
24 RTBoolean( int = 0 /*false*/ ); //lint !e1931
25 RTBoolean( const RTBoolean & );
26 virtual ~RTBoolean( void );
27
28 RTBoolean & operator=( const RTBoolean & );
29
30 virtual const RTObject_class * getClassData( void ) const override;
31 static const RTObject_class classData;
32
33#define RTType_RTBoolean ( RTBoolean::classData )
34};
35
36extern const RTBoolean RTTrue;
37extern const RTBoolean RTFalse;
38
40{
41 const void * data;
42 const RTObject_class * type;
43
44 RTS_INLINE RTTypedValue_RTBoolean( const RTBoolean & ); //lint !e1931
45 RTS_INLINE RTTypedValue_RTBoolean( const RTBoolean &,
46 const RTObject_class * );
47}; //lint !e1712
48
49#if RTS_INLINES
50#include <RTBoolean.inl>
51#endif
52
53#endif // __RTBoolean_h__
Definition: RTBoolean.h:22
Definition: RTInteger.h:22
A type descriptor providing information about a type.
Definition: RTObject_class.h:64
Definition: RTBoolean.h:40