NEURON
DataVec Class Reference

#include <graph.h>

Inheritance diagram for DataVec:
Resource

Public Member Functions

 DataVec (int size)
 
 DataVec (const DataVec *)
 
virtual ~DataVec ()
 
void add (float)
 
float max () const
 
float min () const
 
float max (int low, int high)
 
float min (int, int)
 
int loc_max () const
 
int loc_min () const
 
void erase ()
 
int count () const
 
void write ()
 
float get_val (int i) const
 
int size () const
 
const Coordvec ()
 
void running_start ()
 
float running_max ()
 
float running_min ()
 
Object ** new_vect (GLabel *g=NULL) const
 
- Public Member Functions inherited from Resource
 Resource ()=default
 
virtual ~Resource ()=default
 
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_
 
int iMinLoc_
 
int iMaxLoc_
 
int running_min_loc_
 
int running_max_loc_
 
float * y_
 

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 196 of file graph.h.

Constructor & Destructor Documentation

◆ DataVec() [1/2]

DataVec::DataVec ( int  size)

◆ DataVec() [2/2]

DataVec::DataVec ( const DataVec )

◆ ~DataVec()

virtual DataVec::~DataVec ( )
virtual

Member Function Documentation

◆ add()

void DataVec::add ( float  )

◆ count()

int DataVec::count ( ) const
inline

Definition at line 206 of file graph.h.

◆ erase()

void DataVec::erase ( )

◆ get_val()

float DataVec::get_val ( int  i) const
inline

Definition at line 210 of file graph.h.

◆ loc_max()

int DataVec::loc_max ( ) const

◆ loc_min()

int DataVec::loc_min ( ) const

◆ max() [1/2]

float DataVec::max ( ) const

◆ max() [2/2]

float DataVec::max ( int  low,
int  high 
)

◆ min() [1/2]

float DataVec::min ( ) const

◆ min() [2/2]

float DataVec::min ( int  ,
int   
)

◆ new_vect()

Object** DataVec::new_vect ( GLabel g = NULL) const

◆ running_max()

float DataVec::running_max ( )

◆ running_min()

float DataVec::running_min ( )

◆ running_start()

void DataVec::running_start ( )

◆ size()

int DataVec::size ( ) const
inline

Definition at line 213 of file graph.h.

◆ vec()

const Coord* DataVec::vec ( )
inline

Definition at line 216 of file graph.h.

◆ write()

void DataVec::write ( )

Member Data Documentation

◆ count_

int DataVec::count_
private

Definition at line 225 of file graph.h.

◆ iMaxLoc_

int DataVec::iMaxLoc_
private

Definition at line 225 of file graph.h.

◆ iMinLoc_

int DataVec::iMinLoc_
private

Definition at line 225 of file graph.h.

◆ running_max_loc_

int DataVec::running_max_loc_
private

Definition at line 226 of file graph.h.

◆ running_min_loc_

int DataVec::running_min_loc_
private

Definition at line 226 of file graph.h.

◆ size_

int DataVec::size_
private

Definition at line 225 of file graph.h.

◆ y_

float* DataVec::y_
private

Definition at line 227 of file graph.h.


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