C++ TargetRTS
Loading...
Searching...
No Matches
RTCharacter.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 __RTCharacter_h__
11#define __RTCharacter_h__ included
12
13#ifdef PRAGMA
14#pragma interface
15#endif
16
17#ifndef __RTDataObject_h__
18#include <RTDataObject.h>
19#endif
20
22{
23public:
24 char value;
25
26 RTCharacter( char = ' ' ); //lint !e1931
27 RTCharacter( const RTCharacter & );
28 virtual ~RTCharacter( void );
29
30 RTCharacter & operator= ( const RTCharacter & );
31 virtual int operator==( const RTDataObject & ) const override;
32 operator char ( void ) const;
33
34 int asciiValue ( void ) const;
35 int isAlphabetic( void ) const;
36 int isDigit ( void ) const;
37 int isLowerCase ( void ) const;
38 int isSeparator ( void ) const;
39 int isUpperCase ( void ) const;
40
41 virtual const RTObject_class * getClassData( void ) const override;
42 static const RTObject_class classData;
43
44#define RTType_RTCharacter ( RTCharacter::classData )
45};
46
48{
49 const void * data;
50 const RTObject_class * type;
51
52 RTS_INLINE RTTypedValue_RTCharacter( const RTCharacter & ); //lint !e1931
53 RTS_INLINE RTTypedValue_RTCharacter( const RTCharacter &,
54 const RTObject_class * );
55}; //lint !e1712
56
57#if RTS_INLINES
58#include <RTCharacter.inl>
59#endif
60
61#endif // __RTCharacter_h__
Definition: RTCharacter.h:22
Provides a common interface to certain data type implementations (e.g.
Definition: RTDataObject.h:33
A type descriptor providing information about a type.
Definition: RTObject_class.h:64
Definition: RTCharacter.h:48