Back to index

Public Member Functions | Public Attributes
rep< T > Struct Template Reference

#include <resource.hpp>

Inheritance diagram for rep< T >:
Inheritance graph
Collaboration diagram for rep< T >:
Collaboration graph

List of all members.

Public Member Functions

 rep (string res_name2)
virtual ~rep ()

Public Attributes

string res_name

Detailed Description

template<class T>
struct rep< T >

Definition at line 16 of file resource.hpp.

Constructor & Destructor Documentation

template<class T>
rep< T >::rep ( string  res_name2) [inline]

Definition at line 18 of file resource.hpp.

                                  :res_name (res_name2) {
    T::instances (res_name)= static_cast<pointer>(this); }
template<class T>
virtual rep< T >::~rep ( ) [inline, virtual]

Definition at line 20 of file resource.hpp.

    T::instances -> reset (res_name); }

Member Data Documentation

template<class T>
string rep< T >::res_name

Definition at line 17 of file resource.hpp.

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