NEURON
DataPointers Class Reference

#include <graph.h>

Inheritance diagram for DataPointers:
Resource

Public Member Functions

 DataPointers (int size=50)
 
virtual ~DataPointers ()
 
void add (double *)
 
void erase ()
 
int size ()
 
int count ()
 
double * p (int i)
 
void update_ptrs ()
 
- Public Member Functions inherited from Resource
 Resource ()
 
virtual ~Resource ()
 
virtual void ref () const
 
virtual void unref () const
 
virtual void unref_deferred () const
 
virtual void cleanup ()
 
virtual void Reference () const
 
virtual void Unreference () const
 

Private Attributes

int count_
 
int size_
 
double ** px_
 

Additional Inherited Members

- Static Public Member Functions inherited from Resource
static void ref (const Resource *)
 
static void unref (const Resource *)
 
static void unref_deferred (const Resource *)
 
static bool defer (bool)
 
static void flush ()
 

Detailed Description

Definition at line 234 of file graph.h.

Constructor & Destructor Documentation

◆ DataPointers()

DataPointers::DataPointers ( int  size = 50)

◆ ~DataPointers()

virtual DataPointers::~DataPointers ( )
virtual

Member Function Documentation

◆ add()

void DataPointers::add ( double *  )

◆ count()

int DataPointers::count ( )
inline

Definition at line 245 of file graph.h.

◆ erase()

void DataPointers::erase ( )
inline

Definition at line 239 of file graph.h.

◆ p()

double* DataPointers::p ( int  i)
inline

Definition at line 248 of file graph.h.

◆ size()

int DataPointers::size ( )
inline

Definition at line 242 of file graph.h.

◆ update_ptrs()

void DataPointers::update_ptrs ( )

Member Data Documentation

◆ count_

int DataPointers::count_
private

Definition at line 254 of file graph.h.

◆ px_

double** DataPointers::px_
private

Definition at line 255 of file graph.h.

◆ size_

int DataPointers::size_
private

Definition at line 254 of file graph.h.


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