cta_obsdescr_table.h File Reference
#include <string.h>
#include <stdio.h>
#include <math.h>
#include <memory.h>
#include "cta.h"
Go to the source code of this file.
Data Structures |
struct | CTAI_ObsDescr_table |
Functions |
void | CTAI_ObsDescr_table_Create_Size (int *memsize, int *retval) |
| Explanation.
|
void | CTAI_ObsDescr_table_Create_Init (CTA_ObsDescr myhandle, CTAI_ObsDescr_table *descr, CTA_Handle this, CTA_Handle *usrdat, int *retval) |
| Allocate the memory which is necessary to store the data necessary for a sqlite3-observer.
|
void | CTAI_ObsDescr_table_Get_Keys (CTAI_ObsDescr_table *descr, CTA_Vector *Keys, int *retval) |
| Explanation.
|
void | CTAI_ObsDescr_table_Property_Count (CTAI_ObsDescr_table *descr, int *nkeys, int *retval) |
| Explanation.
|
void | CTAI_ObsDescr_table_Observation_Count (CTAI_ObsDescr_table *descr, int *nobs, int *retval) |
| Explanation.
|
void | CTAI_ObsDescr_table_Get_Properties (CTAI_ObsDescr_table *descr, const char *Key, CTA_Vector *Properties, CTA_Datatype *datatype, int *retval) |
| Explanation.
|
void | CTAI_ObsDescr_table_Export (CTAI_ObsDescr_table *descr, CTA_Handle *usrdat, int *retval) |
| Explanation.
|
void | CTAI_ObsDescr_table_Free (CTAI_ObsDescr_table *descr, int *retval) |
| Explanation.
|
void | CTA_ObsDescr_table_initialise (CTA_ObsDescrClass *hobsdescrcl) |
| The vector h_func is filled with COSTA-function handles of the implementations in this file.
|
Function Documentation
The vector h_func is filled with COSTA-function handles of the implementations in this file.
- Parameters:
-
- Returns:
- no return value
Allocate the memory which is necessary to store the data necessary for a sqlite3-observer.
- Parameters:
-
| myhandle | I Handle assigned by COSTA |
| descr | I The sqlite3-observation description for which the memory must be allocated |
| usrdat | I User data |
| retval | O Error code |
- Returns:
- no return value
void CTAI_ObsDescr_table_Create_Size |
( |
int * |
memsize, |
|
|
int * |
retval | |
|
) |
| | |
Explanation.
- Parameters:
-
| memsize | O The number of bytes which are necessary to store one CTAI_SObs_sqlite3, with a pointer to the contents (data), but without the contents themselves. |
| retval | O Error code (see cta_datatypes.h for possible error codes) |
- Returns:
- no return value
Explanation.
- Parameters:
-
| descr | I |
| nobs | I |
| usrdat | I |
| retval | O Error code |
- Returns:
- no return value
Explanation.
- Parameters:
-
| descr | I |
| retval | O Error code |
- Returns:
- no return value
Explanation.
- Parameters:
-
| IO | descr |
| IO | Keys |
| retval | O Error code |
- Returns:
- no return value
Explanation.
- Parameters:
-
| descr | I |
| Key | I |
| Properties | I |
| datatype | I |
| nobs | I |
| retval | O Error code |
- Returns:
- no return value
void CTAI_ObsDescr_table_Observation_Count |
( |
CTAI_ObsDescr_table * |
descr, |
|
|
int * |
nobs, |
|
|
int * |
retval | |
|
) |
| | |
Explanation.
- Parameters:
-
| descr | I |
| nobs | I |
| retval | O Error code |
- Returns:
- no return value
void CTAI_ObsDescr_table_Property_Count |
( |
CTAI_ObsDescr_table * |
descr, |
|
|
int * |
nkeys, |
|
|
int * |
retval | |
|
) |
| | |
Explanation.
- Parameters:
-
| IO | descr |
| IO | nkeys |
| retval | O Error code |
- Returns:
- no return value