pygccxml.declarations.cpptypes

Package pygccxml :: Package declarations :: Module cpptypes |

# Module cpptypes

source code

defines classes, that describe C++ types

Classes
type_t base class for all types
dummy_type_t provides type_t interface for a string, that defines C++ type.
unknown_t type, that represents all C++ types, that could not be parsed by GCC-XML
ellipsis_t type, that represents "..." in function definition
fundamental_t base class for all fundamental, build-in types
java_fundamental_t base class for all JNI defined fundamental types
void_t represents void type
char_t represents char type
signed_char_t represents signed char type
unsigned_char_t represents unsigned char type
wchar_t represents wchar_t type
short_int_t represents short int type
short_unsigned_int_t represents short unsigned int type
bool_t represents bool type
int_t represents int type
unsigned_int_t represents unsigned int type
long_int_t represents long int type
long_unsigned_int_t represents long unsigned int type
long_long_int_t represents long long int type
long_long_unsigned_int_t represents long long unsigned int type
float_t represents float type
double_t represents double type
long_double_t represents long double type
complex_double_t represents complex double type
complex_long_double_t represents complex long double type
complex_float_t represents complex float type
jbyte_t represents jbyte type
jshort_t represents jshort type
jint_t represents jint type
jlong_t represents jlong type
jfloat_t represents jfloat type
jdouble_t represents jdouble type
jchar_t represents jchar type
jboolean_t represents jboolean type
compound_t class that allows to represent compound types like `const int*`
volatile_t represents `volatile whatever` type
restrict_t represents `restrict whatever` type
const_t represents `whatever const` type
pointer_t represents `whatever*` type
reference_t represents `whatever&` type
array_t represents C++ array type
calldef_type_t base class for all types that describes "callable" declaration
free_function_type_t describes free function type
member_function_type_t describes member function type
member_variable_type_t describes member variable type
declarated_t class that binds between to hierarchies: type_t and declaration_t
type_qualifiers_t contains additional information about type: mutable, static, extern

Variables
| FUNDAMENTAL_TYPES = `{void_t.CPPNAME: void_t(), char_t.CPPNAME:`...`` defines a mapping between fundamental type name and its synonym to the instance of class that describes the type

Variables Details

  ### FUNDAMENTAL_TYPES defines a mapping between fundamental type name and its synonym to the instance of class that describes the type Value:
      {void_t.CPPNAME: void_t(), char_t.CPPNAME: char_t(), signed_char_t.CPP
      NAME: signed_char_t(), unsigned_char_t.CPPNAME: unsigned_char_t(), wch
      ar_t.CPPNAME: wchar_t(), short_int_t.CPPNAME: short_int_t(), 'signed '
      + short_int_t.CPPNAME: short_int_t(), short_unsigned_int_t.CPPNAME: sh
      ort_unsigned_int_t(), bool_t.CPPNAME: bool_t(), int_t.CPPNAME: int_t()
      , 'signed '+ int_t.CPPNAME: int_t(), unsigned_int_t.CPPNAME: unsigned_
      int_t(), long_int_t.CPPNAME: long_int_t(), long_unsigned_int_t.CPPNAME
      : long_unsigned_int_t(), long_long_int_t.CPPNAME: long_long_int_t(), l
      ...