LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Public Types | Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
ndarray::Manager Class Reference

#include <Manager.h>

Inheritance diagram for ndarray::Manager:
ndarray::ExternalManager< U > ndarray::SimpleManager< T >

Public Types

typedef boost::intrusive_ptr
< Manager
Ptr
 

Public Member Functions

int getRC () const
 
virtual bool isUnique () const
 

Protected Member Functions

virtual ~Manager ()
 
 Manager ()
 

Private Attributes

int _rc
 

Friends

void intrusive_ptr_add_ref (Manager const *manager)
 
void intrusive_ptr_release (Manager const *manager)
 

Detailed Description

Definition at line 39 of file Manager.h.

Member Typedef Documentation

typedef boost::intrusive_ptr<Manager> ndarray::Manager::Ptr

Definition at line 42 of file Manager.h.

Constructor & Destructor Documentation

virtual ndarray::Manager::~Manager ( )
inlineprotectedvirtual

Definition at line 58 of file Manager.h.

58 {}
ndarray::Manager::Manager ( )
inlineexplicitprotected

Definition at line 60 of file Manager.h.

60 : _rc(0) {}

Member Function Documentation

int ndarray::Manager::getRC ( ) const
inline

Definition at line 52 of file Manager.h.

52 { return _rc; }
virtual bool ndarray::Manager::isUnique ( ) const
inlinevirtual

Reimplemented in ndarray::SimpleManager< T >.

Definition at line 54 of file Manager.h.

54 { return false; }

Friends And Related Function Documentation

void intrusive_ptr_add_ref ( Manager const *  manager)
friend

Definition at line 44 of file Manager.h.

44  {
45  ++manager->_rc;
46  }
void intrusive_ptr_release ( Manager const *  manager)
friend

Definition at line 48 of file Manager.h.

48  {
49  if ((--manager->_rc)==0) delete manager;
50  }

Member Data Documentation

int ndarray::Manager::_rc
mutableprivate

Definition at line 63 of file Manager.h.


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