ARB
Public Member Functions | Static Public Attributes | List of all members
Type Class Reference
Collaboration diagram for Type:
Collaboration graph
[legend]

Public Member Functions

 Type ()
 
 Type (const char *code)
 
const stringc_decl () const
 
const stringperl_decl () const
 
TypeClass get_TypeClass () const
 
bool isVoid () const
 
bool possible_in_xsub () const
 
string convert_argument_for_C (const string &perl_arg) const
 
string convert_result_for_PERL (const string &c_expr) const
 

Static Public Attributes

static TypeMap globalTypemap
 

Detailed Description

Definition at line 322 of file arb_proto_2_xsub.cxx.

Constructor & Destructor Documentation

Type::Type ( )
inline

Definition at line 391 of file arb_proto_2_xsub.cxx.

Type::Type ( const char code)
inline

Member Function Documentation

const string& Type::c_decl ( ) const
inline

Definition at line 432 of file arb_proto_2_xsub.cxx.

Referenced by Parameter::c_typed_param(), and TypeMap::load().

const string& Type::perl_decl ( ) const
inline

Definition at line 433 of file arb_proto_2_xsub.cxx.

Referenced by Parameter::perl_typed_param().

TypeClass Type::get_TypeClass ( ) const
inline

Definition at line 435 of file arb_proto_2_xsub.cxx.

bool Type::isVoid ( ) const
inline

Definition at line 436 of file arb_proto_2_xsub.cxx.

References VOID.

Referenced by Parameter::Parameter().

bool Type::possible_in_xsub ( ) const
inline

Definition at line 438 of file arb_proto_2_xsub.cxx.

References CANT_HANDLE, and FORBIDDEN.

Referenced by Parameter::Parameter().

string Type::convert_argument_for_C ( const string perl_arg) const
inline

Definition at line 440 of file arb_proto_2_xsub.cxx.

References CHAR_PTR, CONST_CHAR_PTR, and constCastTo().

string Type::convert_result_for_PERL ( const string c_expr) const
inline

Definition at line 448 of file arb_proto_2_xsub.cxx.

References arb_assert, CHAR_PTR, CONST_CHAR_PTR, constCastTo(), and HEAP_COPY.

Member Data Documentation

TypeMap Type::globalTypemap
static

Definition at line 389 of file arb_proto_2_xsub.cxx.


The documentation for this class was generated from the following file: