Lolly 1.4.27
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
rep< T > Struct Template Reference

base class of resources More...

#include <resource.hpp>

Inheritance diagram for rep< T >:
Inheritance graph
[legend]
Collaboration diagram for rep< T >:
Collaboration graph
[legend]

Public Member Functions

 rep (string res_name2)
 
virtual ~rep ()
 

Public Attributes

string res_name
 

Detailed Description

template<class T>
struct rep< T >

base class of resources

Note
no referrence counting is applied on this structure

Definition at line 23 of file resource.hpp.

Constructor & Destructor Documentation

◆ rep()

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

Definition at line 24 of file resource.hpp.

26 T::instances (res_name)= static_cast<pointer> (this);
27 }
The list class represents a linked list.
Definition list.hpp:48
string res_name
Definition resource.hpp:24

◆ ~rep()

template<class T >
virtual rep< T >::~rep ( )
inlinevirtual

Definition at line 24 of file resource.hpp.

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

Member Data Documentation

◆ res_name

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

Definition at line 24 of file resource.hpp.


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