CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
gen::FortranInstance::InstanceWrapper Struct Reference

#include <FortranInstance.h>

Public Member Functions

 InstanceWrapper (FortranInstance *instance)
 
 ~InstanceWrapper ()
 

Public Attributes

FortranInstanceinstance
 

Detailed Description

Definition at line 35 of file FortranInstance.h.

Constructor & Destructor Documentation

gen::FortranInstance::InstanceWrapper::InstanceWrapper ( FortranInstance instance)
inline

Definition at line 36 of file FortranInstance.h.

References gen::FortranInstance::enter(), and instance.

37  { this->instance = instance; instance->enter(); }
virtual void enter()
gen::FortranInstance::InstanceWrapper::~InstanceWrapper ( )
inline

Definition at line 39 of file FortranInstance.h.

References instance, and gen::FortranInstance::leave().

40  { instance->leave(); }
virtual void leave()

Member Data Documentation

FortranInstance* gen::FortranInstance::InstanceWrapper::instance

Definition at line 42 of file FortranInstance.h.

Referenced by InstanceWrapper(), and ~InstanceWrapper().