libdsproc3  2.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
dsproc_dataset_atts.c File Reference

Dataset Attribute Functions. More...

#include "dsproc3.h"
#include "dsproc_private.h"

Go to the source code of this file.

Functions

int dsproc_change_att (void *parent, int overwrite, const char *name, CDSDataType type, size_t length, void *value)
 Change an attribute for a dataset or variable.
CDSAttdsproc_get_att (void *parent, const char *name)
 Get an attribute from a dataset or variable.
char * dsproc_get_att_text (void *parent, const char *name, size_t *length, char *value)
 Get a copy of an attribute value from a dataset or variable.
void * dsproc_get_att_value (void *parent, const char *name, CDSDataType type, size_t *length, void *value)
 Get a copy of an attribute value from a dataset or variable.
int dsproc_set_att (void *parent, int overwrite, const char *name, CDSDataType type, size_t length, void *value)
 Set the value of an attribute in a dataset or variable.
int dsproc_set_att_text (void *parent, const char *name, const char *format,...)
 Set the value of an attribute in a dataset or variable.
int dsproc_set_att_value (void *parent, const char *name, CDSDataType type, size_t length, void *value)
 Set the value of an attribute in a dataset or variable.
int dsproc_set_att_value_if_null (void *parent, const char *name, CDSDataType type, size_t length, void *value)
 Set the value of an attribute if the current value is NULL.
int dsproc_set_att_text_if_null (void *parent, const char *name, const char *format,...)
 Set the value of an attribute if the current value is NULL.
int dsproc_set_chunksizes (CDSGroup *dataset, int time_chunksize)
 Set the values of all _ChunkSizes attributes that have not been defined.
void dsproc_set_max_chunksize (size_t max_chunksize)
 Set the maximum size of a chunk to use when setting _ChunkSizes.
int dsproc_set_var_chunksizes (CDSVar *var, int *time_chunksize)
 Set the _ChunkSizes attribute value for a variable.

Variables

DSProc * _DSProc
 Internal DSProc structure.

Detailed Description

Dataset Attribute Functions.

Definition in file dsproc_dataset_atts.c.