Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
tree_vec Struct Reference

tree_vec - a simple class to store the bounds checking information for multi_arr More...

#include <container_classes.h>

Collaboration diagram for tree_vec:

Public Types

typedef size_t size_type
 

Public Member Functions

 tree_vec ()
 
 tree_vec (const tree_vec &m)
 
 ~tree_vec ()
 
void clear ()
 
const tree_vecoperator= (const tree_vec &m)
 
tree_vecgetvec (const size_type i, const size_type index[])
 
const tree_vecgetvec (const size_type i, const size_type index[]) const
 

Public Attributes

size_type n
 
tree_vecd
 

Private Member Functions

void p_clear0 ()
 
void p_clear1 ()
 

Detailed Description

tree_vec - a simple class to store the bounds checking information for multi_arr

Member Typedef Documentation

◆ size_type

typedef size_t tree_vec::size_type

Constructor & Destructor Documentation

◆ tree_vec() [1/2]

tree_vec::tree_vec ( )
inline

References p_clear1().

Referenced by getvec(), getvec(), operator=(), and tree_vec().

Here is the call graph for this function:

◆ tree_vec() [2/2]

tree_vec::tree_vec ( const tree_vec & m)
inline

References p_clear1(), and tree_vec().

Here is the call graph for this function:

◆ ~tree_vec()

tree_vec::~tree_vec ( )
inline

References p_clear0().

Here is the call graph for this function:

Member Function Documentation

◆ clear()

void tree_vec::clear ( )
inline

References p_clear0(), and p_clear1().

Referenced by operator=(), and p_clear0().

Here is the call graph for this function:

◆ getvec() [1/2]

tree_vec & tree_vec::getvec ( const size_type i,
const size_type index[] )
inline

References d, getvec(), and tree_vec().

Referenced by getvec(), and getvec().

Here is the call graph for this function:

◆ getvec() [2/2]

const tree_vec & tree_vec::getvec ( const size_type i,
const size_type index[] ) const
inline

References d, getvec(), and tree_vec().

Here is the call graph for this function:

◆ operator=()

const tree_vec & tree_vec::operator= ( const tree_vec & m)
inline

References clear(), d, n, NULL, and tree_vec().

Here is the call graph for this function:

◆ p_clear0()

void tree_vec::p_clear0 ( )
inlineprivate

References clear(), d, n, and NULL.

Referenced by clear(), and ~tree_vec().

Here is the call graph for this function:

◆ p_clear1()

void tree_vec::p_clear1 ( )
inlineprivate

References d, n, and NULL.

Referenced by clear(), tree_vec(), and tree_vec().

Member Data Documentation

◆ d

◆ n


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