HOPS
HOPS class reference
Classes | Macros | Functions
vex.h File Reference
#include "mk4_typedefs.h"
#include "ovex.h"
#include "cvex.h"
#include "evex.h"
#include "ivex.h"
#include "svex.h"
#include "lvex.h"

Go to the source code of this file.

Classes

struct  blk_stmt
 
struct  block
 
struct  comment
 
struct  data_value
 
union  data_value.data
 
struct  dec
 
struct  def
 
struct  def_list
 
struct  insert
 
struct  param_val
 
struct  pval_format
 
struct  quote
 
struct  ra
 
struct  ref
 
struct  scan
 
struct  statement
 
struct  value
 
struct  vex
 

Macros

#define CVEX   1<<1
 
#define EVEX   1<<4
 
#define FALSE   0
 
#define IVEX   1<<3
 
#define LVEX   1<<5
 
#define MAN   TRUE
 
#define MAX_NAMESIZE   32
 
#define MAX_PVALSIZE   128
 
#define MAXBLKSTMT   100
 
#define MAXBLOCKS   256
 
#define MAXCOMMENTS   8192
 
#define MAXDEFS   512
 
#define MAXNVAL   256
 
#define MAXQUOTES   2048
 
#define MAXREFS   256
 
#define MAXSCANS   8192
 
#define MAXSTMT   50
 
#define OPT   FALSE
 
#define OVEX   1<<0
 
#define STATEMENT_SIZE   8192
 
#define SVEX   1<<2
 
#define TRUE   1
 
#define UNIT_ANGLE   5
 
#define UNIT_ANGLE_TIME   51
 
#define UNIT_BITDENSITY   7
 
#define UNIT_FLUX   6
 
#define UNIT_FREQ   2
 
#define UNIT_LENGTH   4
 
#define UNIT_LENGTH_TIME   41
 
#define UNIT_NONE   80
 
#define UNIT_OPTIONAL   100
 
#define UNIT_SAMPLERATE   3
 
#define UNIT_TIME   1
 
#define V_1_0   100 << 10
 
#define V_1_5   150 << 10
 
#define V_ALL   998 << 10
 
#define V_BAD   999 << 10
 
#define VAL_CHAR   2
 
#define VAL_DEC   6
 
#define VAL_EPOCH   4
 
#define VAL_INT   3
 
#define VAL_LINK   7
 
#define VAL_NONE   8
 
#define VAL_RA   5
 
#define VAL_REAL   1
 
#define WANT_OUTPUT   1<<8
 

Functions

int get_vex (char *filename, int vextype, char *key, struct vex *vex)
 

Class Documentation

◆ blk_stmt

struct blk_stmt
Class Members
char name[32]
int nstmt
char stmt[MAXSTMT][32]

◆ block

struct block
Class Members
struct def deflist[MAXDEFS]
int end
char name[MAX_NAMESIZE]
int ndef
int stno

◆ comment

struct comment
Class Members
char * end
char * start

◆ data_value

struct data_value
Class Members
union data_value data
int type
int units

◆ data_value.data

union data_value.data
Class Members
struct sky_coord decval
struct date epochval
int intval
char linkval[MAX_NAMESIZE]
struct sky_coord raval
double realval
char strval[MAX_PVALSIZE]

◆ dec

struct dec
Class Members
short dec_degs
short dec_mins
float dec_secs

◆ def

struct def
Class Members
int end
char name[MAX_NAMESIZE]
int start

◆ def_list

struct def_list
Class Members
int blockno
int defno

◆ insert

struct insert
Class Members
int after
char * str

◆ param_val

struct param_val
Class Members
struct data_value dval[MAXNVAL]
char name[MAX_NAMESIZE]
int nval
char * val[MAXNVAL]

◆ pval_format

struct pval_format
Class Members
char block[MAX_NAMESIZE]
int ngroup
int nval
char param_name[128]
int typever
struct value * values

◆ quote

struct quote
Class Members
char * end
char * start

◆ ra

struct ra
Class Members
short ra_hrs
short ra_mins
float ra_secs

◆ ref

struct ref
Class Members
char * args[MAXNVAL]
char blockname[MAX_NAMESIZE]
char filename[256]
char keyword[MAX_NAMESIZE]
int nargs
int stno

◆ scan

struct scan
Class Members
int end
char name[MAX_NAMESIZE]
int start

◆ statement

struct statement
Class Members
char * end
char * start
char * str

◆ value

struct value
Class Members
char mandatory
char range[50]
char type
char units

◆ vex

struct vex
Class Members
struct Cvex_Config * cvex
char * cvex_src
struct evex_struct * evex
char * evex_src
char filename[256]
struct ivex_struct * ivex
char * ivex_src
struct lvex_struct * lvex
char * lvex_src
struct scan_struct * ovex
char * ovex_src
struct svex_struct * svex
char * svex_src
int vextypes

Macro Definition Documentation

◆ CVEX

#define CVEX   1<<1

◆ EVEX

#define EVEX   1<<4

◆ FALSE

#define FALSE   0

◆ IVEX

#define IVEX   1<<3

◆ LVEX

#define LVEX   1<<5

◆ MAN

#define MAN   TRUE

◆ MAX_NAMESIZE

#define MAX_NAMESIZE   32

◆ MAX_PVALSIZE

#define MAX_PVALSIZE   128

◆ MAXBLKSTMT

#define MAXBLKSTMT   100

◆ MAXBLOCKS

#define MAXBLOCKS   256

◆ MAXCOMMENTS

#define MAXCOMMENTS   8192

◆ MAXDEFS

#define MAXDEFS   512

◆ MAXNVAL

#define MAXNVAL   256

◆ MAXQUOTES

#define MAXQUOTES   2048

◆ MAXREFS

#define MAXREFS   256

◆ MAXSCANS

#define MAXSCANS   8192

◆ MAXSTMT

#define MAXSTMT   50

◆ OPT

#define OPT   FALSE

◆ OVEX

#define OVEX   1<<0

◆ STATEMENT_SIZE

#define STATEMENT_SIZE   8192

◆ SVEX

#define SVEX   1<<2

◆ TRUE

#define TRUE   1

◆ UNIT_ANGLE

#define UNIT_ANGLE   5

◆ UNIT_ANGLE_TIME

#define UNIT_ANGLE_TIME   51

◆ UNIT_BITDENSITY

#define UNIT_BITDENSITY   7

◆ UNIT_FLUX

#define UNIT_FLUX   6

◆ UNIT_FREQ

#define UNIT_FREQ   2

◆ UNIT_LENGTH

#define UNIT_LENGTH   4

◆ UNIT_LENGTH_TIME

#define UNIT_LENGTH_TIME   41

◆ UNIT_NONE

#define UNIT_NONE   80

◆ UNIT_OPTIONAL

#define UNIT_OPTIONAL   100

◆ UNIT_SAMPLERATE

#define UNIT_SAMPLERATE   3

◆ UNIT_TIME

#define UNIT_TIME   1

◆ V_1_0

#define V_1_0   100 << 10

◆ V_1_5

#define V_1_5   150 << 10

◆ V_ALL

#define V_ALL   998 << 10

◆ V_BAD

#define V_BAD   999 << 10

◆ VAL_CHAR

#define VAL_CHAR   2

◆ VAL_DEC

#define VAL_DEC   6

◆ VAL_EPOCH

#define VAL_EPOCH   4

◆ VAL_INT

#define VAL_INT   3

◆ VAL_LINK

#define VAL_LINK   7

◆ VAL_NONE

#define VAL_NONE   8

◆ VAL_RA

#define VAL_RA   5

◆ VAL_REAL

#define VAL_REAL   1

◆ WANT_OUTPUT

#define WANT_OUTPUT   1<<8

Function Documentation

◆ get_vex()

int get_vex ( char *  filename,
int  vextype,
char *  key,
struct vex vex 
)