| IDA SDK

Public Member Functions | Protected Attributes | List of all members
janitor_t< T > Struct Template Reference

## Detailed Description

template<typename T>
struct janitor_t< T >

Resource janitor to facilitate use of the RAII idiom.

## Public Member Functions
| janitor_t (T &r)
| Constructor.
Loader Input Source
Starting with v4.8 IDA can load and run remote files. In order to do that, we replace the FILE* in the loader modules with an abstract input source (linput_t). The source might be linked to a local or remote file.
| ~janitor_t ()
| We provide no implementation for this function, you should provide specialized implementation yourself. More...

## Protected Attributes
T & | resource

## Constructor & Destructor Documentation

## ◆ ~janitor_t()

file_janitor_t::~janitor_t
| inline

We provide no implementation for this function, you should provide specialized implementation yourself.

Free the linput_t.

The documentation for this struct was generated from the following files:

- pro.h
- diskio.hpp
- fpro.h