LSSTApplications  10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
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: