Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
view_format.h
Go to the documentation of this file.
1 /*
2  * view_format.h
3  *
4  * Created on: 15 Jan 2024
5  * Author: billy
6  */
7 
8 #ifndef CORE_SHARED_UTIL_INCLUDE_VIEW_FORMAT_H_
9 #define CORE_SHARED_UTIL_INCLUDE_VIEW_FORMAT_H_
10 
11 
19 typedef enum
20 {
26 
32 
39 
40 
46 
47 
52 
57 } ViewFormat;
58 
59 
60 
61 #endif /* CORE_SHARED_UTIL_INCLUDE_VIEW_FORMAT_H_ */
VF_REFERENCE
Store just a reference to the object such as a bson_oid.
Definition: view_format.h:51
VF_NUM_FORMATS
The number of available formats.
Definition: view_format.h:56
VF_STORAGE
This is for generating JSON to be stored in the server-side mongo db.
Definition: view_format.h:25
VF_CLIENT_FULL
This is for generating a full data set for displaying within a client.
Definition: view_format.h:31
VF_CLIENT_MINIMAL
This is for generating a minimal data set for displaying within a client.
Definition: view_format.h:38
ViewFormat
ViewFormat
An indicator of what the output destination is for the JSON data values.
Definition: view_format.h:19
VF_INDEXING
Get the object with all of the relevant data needed for indexing into the Lucene component.
Definition: view_format.h:45