ContRap-Core
Public Member Functions | Protected Attributes

crp::Return Class Reference

Class Return is the exception thrown by a procedure when returning to the caller. More...

#include <interpreter.h>

Inheritance diagram for crp::Return:
crp::Error

Public Member Functions

 Return (const DPtr &value)
 Constructor takes the return value.
virtual ~Return () throw ()
 Virtual destructor.
const DPtrget_value () const
 Returns the return value of the procedure.

Protected Attributes

DPtr value
 Return value.

Detailed Description

Class Return is the exception thrown by a procedure when returning to the caller.


Constructor & Destructor Documentation

crp::Return::Return ( const DPtr value) [inline]

Constructor takes the return value.

Parameters:
valueReturn value
virtual crp::Return::~Return ( ) throw () [inline, virtual]

Virtual destructor.


Member Function Documentation

const DPtr& crp::Return::get_value ( ) const [inline]

Returns the return value of the procedure.

Returns:
Return value

Field Documentation

DPtr crp::Return::value [protected]

Return value.


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