#include <cppSimpleType.h>
Inheritance diagram for CPPSimpleType:
Public Types | |
enum | Type { T_bool, T_char, T_int, T_float, T_double, T_void, T_unknown } |
enum | Flags { F_long = 0x001, F_longlong = 0x002, F_short = 0x004, F_unsigned = 0x008, F_signed = 0x010 } |
Public Member Functions | |
CPPSimpleType (Type type, int flags=0) | |
virtual bool | is_tbd () const |
virtual string | get_preferred_name () const |
virtual void | output (ostream &out, int indent_level, CPPScope *scope, bool complete) const |
virtual SubType | get_subtype () const |
virtual CPPSimpleType * | as_simple_type () |
Public Attributes | |
Type | _type |
int | _flags |
Protected Member Functions | |
virtual bool | is_equal (const CPPDeclaration *other) const |
virtual bool | is_less (const CPPDeclaration *other) const |
|
Definition at line 42 of file cppSimpleType.h. |
|
Definition at line 32 of file cppSimpleType.h. |
|
Definition at line 28 of file cppSimpleType.cxx. References type. |
|
Reimplemented from CPPDeclaration. Definition at line 140 of file cppSimpleType.cxx. |
|
Reimplemented from CPPType. Definition at line 53 of file cppSimpleType.cxx. References CPPType::get_local_name(). |
|
Implements CPPDeclaration. Definition at line 130 of file cppSimpleType.cxx. References CPPDeclaration::ST_simple. |
|
Reimplemented from CPPDeclaration. Definition at line 152 of file cppSimpleType.cxx. |
|
Reimplemented from CPPDeclaration. Definition at line 168 of file cppSimpleType.cxx. |
|
Reimplemented from CPPType. Definition at line 43 of file cppSimpleType.cxx. |
|
Implements CPPDeclaration. Definition at line 64 of file cppSimpleType.cxx. References _flags, _type, cpp_longlong_keyword, F_long, F_longlong, F_short, F_signed, F_unsigned, T_bool, T_char, T_double, T_float, T_int, T_unknown, and T_void. |
|
Definition at line 53 of file cppSimpleType.h. Referenced by InterrogateBuilder::define_atomic_type(), CPPExpression::elevate_type(), TypeManager::is_char(), is_equal(), is_less(), TypeManager::is_void(), and output(). |
|
Definition at line 52 of file cppSimpleType.h. Referenced by InterrogateBuilder::define_atomic_type(), CPPExpression::elevate_type(), CPPExpression::evaluate(), TypeManager::is_bool(), TypeManager::is_char(), is_equal(), TypeManager::is_float(), TypeManager::is_integer(), is_less(), is_tbd(), TypeManager::is_void(), and output(). |