NewMadeleine

Documentation

« back to PM2 home.

encapsulate a dynamic vector of nm_data More...

#include <nm_data.h>

Collaboration diagram for nm_datav_s:

Data Fields

struct nm_data_sp_data
 vector of nm_data; either dynamically allocated, or points to data[0]
 
struct nm_data_s data [4]
 vector of data
 
int n_data
 number of entries actually used in the above array
 
int allocated
 allocated number of entries in p_data
 
int commited
 

Detailed Description

encapsulate a dynamic vector of nm_data

Definition at line 285 of file nm_data.h.

Field Documentation

◆ allocated

int nm_datav_s::allocated

allocated number of entries in p_data

Definition at line 290 of file nm_data.h.

Referenced by nm_datav_add_chunk_data(), and nm_datav_init().

◆ commited

int nm_datav_s::commited

◆ data

struct nm_data_s nm_datav_s::data[4]

vector of data

Definition at line 288 of file nm_data.h.

Referenced by nm_datav_add_chunk_data(), nm_datav_destroy(), and nm_datav_init().

◆ n_data

int nm_datav_s::n_data

number of entries actually used in the above array

Definition at line 289 of file nm_data.h.

Referenced by nm_datav_add_chunk_data(), nm_datav_init(), and nm_datav_size().

◆ p_data

struct nm_data_s* nm_datav_s::p_data

vector of nm_data; either dynamically allocated, or points to data[0]

Definition at line 287 of file nm_data.h.

Referenced by nm_datav_add_chunk_data(), nm_datav_destroy(), nm_datav_init(), and nm_datav_size().


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