ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
smart_counter Class Reference

Keeps track of total number of copies. More...

#include <fvar.hpp>

Public Member Functions

 smart_counter ()
 Default constructor. More...
 
 smart_counter (const smart_counter &sc)
 Copy constructor. More...
 
 ~smart_counter ()
 Destructor. More...
 
int * get_ncopies ()
 

Private Attributes

int * ncopies
 

Detailed Description

Keeps track of total number of copies.

Definition at line 7716 of file fvar.hpp.

Constructor & Destructor Documentation

smart_counter::smart_counter ( )

Default constructor.

Definition at line 35 of file indextyp.cpp.

smart_counter::smart_counter ( const smart_counter sc)

Copy constructor.

Definition at line 41 of file indextyp.cpp.

smart_counter::~smart_counter ( )

Destructor.

Definition at line 47 of file indextyp.cpp.

Member Function Documentation

int * smart_counter::get_ncopies ( void  )

Definition at line 59 of file indextyp.cpp.

Referenced by index_type::~index_type().

Member Data Documentation

int* smart_counter::ncopies
private

Definition at line 7718 of file fvar.hpp.

Referenced by get_ncopies(), smart_counter(), and ~smart_counter().


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