MISR Toolkit  1.5.1
Data Structures | Macros | Typedefs | Enumerations | Functions
odldef.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "odldef_prototypes.h"

Go to the source code of this file.

Data Structures

struct  Aggregate_Node
 
struct  Parameter_Node
 
struct  ODLUnits
 
struct  ODLReal
 
struct  ODLInteger
 
struct  ODLDate
 
struct  Value_Data
 
struct  Value_Node
 

Macros

#define TRUE   1
 
#define FALSE   0
 
#define ODLVERSION   "2"
 
#define ODLMAXSTMT   255001 /* (Max attribute array elements size [1000] */
 
#define AGGREGATE_NODE_SIZE   (sizeof(struct Aggregate_Node))
 
#define PARAMETER_NODE_SIZE   (sizeof(struct Parameter_Node))
 
#define VALUE_DATA_SIZE   (sizeof(struct Value_Data))
 
#define VALUE_NODE_SIZE   (sizeof(struct Value_Node))
 

Typedefs

typedef enum Aggregate_Kind AGGREGATE_KIND
 
typedef enum Parameter_Kind PARAMETER_KIND
 
typedef enum Value_Kind VALUE_KIND
 
typedef enum Value_Type VALUE_TYPE
 
typedef struct Aggregate_NodeAGGREGATE
 
typedef struct Aggregate_NodeOBJECT
 
typedef struct Aggregate_NodeGROUP
 
typedef struct Parameter_NodePARAMETER
 
typedef struct Parameter_NodeATTRIBUTE
 
typedef struct Parameter_NodePOINTER
 
typedef struct Value_NodeVALUE
 
typedef struct Value_Data VALUE_DATA
 

Enumerations

enum  Aggregate_Kind {
  KA_OBJECT,
  KA_GROUP
}
 
enum  Parameter_Kind {
  KP_ATTRIBUTE,
  KP_POINTER
}
 
enum  Value_Kind {
  KV_UNKNOWN,
  KV_SCALAR,
  KV_SEQUENCE,
  KV_SET
}
 
enum  Value_Type {
  TV_NULL,
  TV_INTEGER,
  TV_REAL,
  TV_SYMBOL,
  TV_STRING,
  TV_DATE,
  TV_TIME,
  TV_DATE_TIME
}
 

Functions

AGGREGATE NewAggregate ()
 
AGGREGATE RemoveAggregate ()
 
AGGREGATE ParentAggregate ()
 
AGGREGATE NextAggregate ()
 
AGGREGATE NextSubAggregate ()
 
AGGREGATE FindAggregate ()
 
AGGREGATE FindNextAggregate ()
 
AGGREGATE CutAggregate ()
 
AGGREGATE CopyAggregate ()
 
AGGREGATE PasteAggregate ()
 
OBJECT ParentObject ()
 
OBJECT NextObject ()
 
OBJECT NextSubObject ()
 
OBJECT FindObject ()
 
OBJECT FindNextObject ()
 
GROUP ParentGroup ()
 
GROUP NextGroup ()
 
GROUP NextSubGroup ()
 
GROUP FindGroup ()
 
GROUP FindNextGroup ()
 
PARAMETER NewParameter ()
 
PARAMETER RemoveParameter ()
 
PARAMETER FirstParameter ()
 
PARAMETER NextParameter ()
 
PARAMETER FindParameter ()
 
PARAMETER CutParameter ()
 
PARAMETER CopyParameter ()
 
PARAMETER PasteParameter ()
 
VALUE NewValue ()
 
VALUE RemoveValue ()
 
VALUE FirstValue ()
 
VALUE NextValue ()
 
VALUE CutValue ()
 
VALUE CopyValue ()
 
VALUE PasteValue ()
 
int CommentAggregate ()
 
int CommentParameter ()
 
void StripComments ()
 
int ReadLabel ()
 
int ReadValue ()
 
void WriteLabel ()
 
void WriteSource ()
 
void PrintLabel ()
 
void PrintSource ()
 

Macro Definition Documentation

◆ AGGREGATE_NODE_SIZE

#define AGGREGATE_NODE_SIZE   (sizeof(struct Aggregate_Node))

Definition at line 264 of file odldef.h.

◆ FALSE

#define FALSE   0

Definition at line 53 of file odldef.h.

◆ ODLMAXSTMT

#define ODLMAXSTMT   255001 /* (Max attribute array elements size [1000] */

Definition at line 74 of file odldef.h.

◆ ODLVERSION

#define ODLVERSION   "2"

Definition at line 67 of file odldef.h.

◆ PARAMETER_NODE_SIZE

#define PARAMETER_NODE_SIZE   (sizeof(struct Parameter_Node))

Definition at line 266 of file odldef.h.

◆ TRUE

#define TRUE   1

Definition at line 49 of file odldef.h.

◆ VALUE_DATA_SIZE

#define VALUE_DATA_SIZE   (sizeof(struct Value_Data))

Definition at line 268 of file odldef.h.

◆ VALUE_NODE_SIZE

#define VALUE_NODE_SIZE   (sizeof(struct Value_Node))

Definition at line 270 of file odldef.h.

Typedef Documentation

◆ AGGREGATE

typedef struct Aggregate_Node* AGGREGATE

Definition at line 244 of file odldef.h.

◆ AGGREGATE_KIND

Definition at line 88 of file odldef.h.

◆ ATTRIBUTE

typedef struct Parameter_Node* ATTRIBUTE

Definition at line 249 of file odldef.h.

◆ GROUP

typedef struct Aggregate_Node* GROUP

Definition at line 246 of file odldef.h.

◆ OBJECT

typedef struct Aggregate_Node* OBJECT

Definition at line 245 of file odldef.h.

◆ PARAMETER

typedef struct Parameter_Node* PARAMETER

Definition at line 248 of file odldef.h.

◆ PARAMETER_KIND

Definition at line 91 of file odldef.h.

◆ POINTER

typedef struct Parameter_Node* POINTER

Definition at line 250 of file odldef.h.

◆ VALUE

typedef struct Value_Node* VALUE

Definition at line 252 of file odldef.h.

◆ VALUE_DATA

typedef struct Value_Data VALUE_DATA

Definition at line 257 of file odldef.h.

◆ VALUE_KIND

typedef enum Value_Kind VALUE_KIND

Definition at line 94 of file odldef.h.

◆ VALUE_TYPE

typedef enum Value_Type VALUE_TYPE

Definition at line 98 of file odldef.h.

Enumeration Type Documentation

◆ Aggregate_Kind

Enumerator
KA_OBJECT 
KA_GROUP 

Definition at line 87 of file odldef.h.

◆ Parameter_Kind

Enumerator
KP_ATTRIBUTE 
KP_POINTER 

Definition at line 90 of file odldef.h.

◆ Value_Kind

enum Value_Kind
Enumerator
KV_UNKNOWN 
KV_SCALAR 
KV_SEQUENCE 
KV_SET 

Definition at line 93 of file odldef.h.

◆ Value_Type

enum Value_Type
Enumerator
TV_NULL 
TV_INTEGER 
TV_REAL 
TV_SYMBOL 
TV_STRING 
TV_DATE 
TV_TIME 
TV_DATE_TIME 

Definition at line 96 of file odldef.h.

Function Documentation

◆ CommentAggregate()

int CommentAggregate ( )

◆ CommentParameter()

int CommentParameter ( )

◆ CopyAggregate()

AGGREGATE CopyAggregate ( )

◆ CopyParameter()

PARAMETER CopyParameter ( )

◆ CopyValue()

VALUE CopyValue ( )

◆ CutAggregate()

AGGREGATE CutAggregate ( )

◆ CutParameter()

PARAMETER CutParameter ( )

◆ CutValue()

VALUE CutValue ( )

◆ FindAggregate()

AGGREGATE FindAggregate ( )

◆ FindGroup()

GROUP FindGroup ( )

◆ FindNextAggregate()

AGGREGATE FindNextAggregate ( )

◆ FindNextGroup()

GROUP FindNextGroup ( )

◆ FindNextObject()

OBJECT FindNextObject ( )

◆ FindObject()

OBJECT FindObject ( )

◆ FindParameter()

PARAMETER FindParameter ( )

◆ FirstParameter()

PARAMETER FirstParameter ( )

◆ FirstValue()

VALUE FirstValue ( )

◆ NewAggregate()

AGGREGATE NewAggregate ( )

◆ NewParameter()

PARAMETER NewParameter ( )

◆ NewValue()

VALUE NewValue ( )

◆ NextAggregate()

AGGREGATE NextAggregate ( )

◆ NextGroup()

GROUP NextGroup ( )

◆ NextObject()

OBJECT NextObject ( )

◆ NextParameter()

PARAMETER NextParameter ( )

◆ NextSubAggregate()

AGGREGATE NextSubAggregate ( )

◆ NextSubGroup()

GROUP NextSubGroup ( )

◆ NextSubObject()

OBJECT NextSubObject ( )

◆ NextValue()

VALUE NextValue ( )

◆ ParentAggregate()

AGGREGATE ParentAggregate ( )

◆ ParentGroup()

GROUP ParentGroup ( )

◆ ParentObject()

OBJECT ParentObject ( )

◆ PasteAggregate()

AGGREGATE PasteAggregate ( )

◆ PasteParameter()

PARAMETER PasteParameter ( )

◆ PasteValue()

VALUE PasteValue ( )

◆ PrintLabel()

void PrintLabel ( )

◆ PrintSource()

void PrintSource ( )

◆ ReadLabel()

int ReadLabel ( )

◆ ReadValue()

int ReadValue ( )

◆ RemoveAggregate()

AGGREGATE RemoveAggregate ( )

◆ RemoveParameter()

PARAMETER RemoveParameter ( )

◆ RemoveValue()

VALUE RemoveValue ( )

◆ StripComments()

void StripComments ( )

◆ WriteLabel()

void WriteLabel ( )

◆ WriteSource()

void WriteSource ( )

MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:53