Class ArgType (version 0.18)

Description: The description of a type (argument or return value)

Class overview

Index

Method Overview

[static] int t_void
[static] int t_bool
[static] int t_int
[static] int t_uint
[static] int t_long
[static] int t_ulong
[static] int t_longlong
[static] int t_double
[static] int t_string_ccptr
[static] int t_string
[static] int t_var
[static] int t_object_ref
[static] int t_object_cref
[static] int t_object_new
[static] int t_object
[const] int typeReturn the basic type (see t_.. constants)
[const] bool is_vector?True, if the type is a vector of the basic type
[const] bool is_ref?True, if the type is a reference to the given type
[const] bool is_iter?(Return value only) True, if the return value is an iterator rendering the given type
[const] const ref Class clsSpecifies the class for t_object.. types
[const] string to_sConvert to a string
[const] bool ==( ArgType )Equality of two types
[const] bool !=( ArgType )Inequality of two types
assign( ArgType other )Assign the contents of another object to self
[const] ArgType dupCreates a copy of self.
destroyExplicitly destroy the object
[const] bool destroyedTell, if the object was destroyed

[const] bool !=( ArgType )

Description: Inequality of two types

[const] bool ==( ArgType )

Description: Equality of two types

assign( ArgType other )

Description: Assign the contents of another object to self

This method assigns the contents of another object to self. This is a deep copy that does not only copy the reference but the actual content.

[const] const ref Class cls

Description: Specifies the class for t_object.. types

destroy

Description: Explicitly destroy the object

Explicitly destroy the object on C++ side if it was owned by the Ruby interpreter. Subsequent access to this object will throw an exception. If the object is not owned by Ruby, this method will do nothing.

[const] bool destroyed

Description: Tell, if the object was destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

[const] ArgType dup

Description: Creates a copy of self.

[const] bool is_iter?

Description: (Return value only) True, if the return value is an iterator rendering the given type

[const] bool is_ref?

Description: True, if the type is a reference to the given type

[const] bool is_vector?

Description: True, if the type is a vector of the basic type

[static] int t_bool

Description:

[static] int t_double

Description:

[static] int t_int

Description:

[static] int t_long

Description:

[static] int t_longlong

Description:

[static] int t_object

Description:

[static] int t_object_cref

Description:

[static] int t_object_new

Description:

[static] int t_object_ref

Description:

[static] int t_string

Description:

[static] int t_string_ccptr

Description:

[static] int t_uint

Description:

[static] int t_ulong

Description:

[static] int t_var

Description:

[static] int t_void

Description:

[const] string to_s

Description: Convert to a string

[const] int type

Description: Return the basic type (see t_.. constants)