home *** CD-ROM | disk | FTP | other *** search
- /*****************************************************************************
- * "Irit" - the 3d polygonal solid modeller. *
- * *
- * Written by: Gershon Elber Ver 0.2, Mar. 1990 *
- ******************************************************************************
- * General, visible to others, definitions of DataPrsr goes to here: *
- *****************************************************************************/
-
- #ifndef DATA_PRSR_GH
- #define DATA_PRSR_GH
-
- void DataPrsrPutObject(char *FileName, ObjectStruct *PObj);
- ObjectStruct *DataPrsrGetObject(char *FileName, char *ObjName);
- int DataPrsrParseError(char **ErrorMsg);
-
- /*****************************************************************************
- * Parser error codes are following (Data Parser Err): *
- *****************************************************************************/
- #define DP_ERR_NumberExpected 1
- #define DP_ERR_CloseParanExpected 2
- #define DP_ERR_ListCompUndef 3
- #define DP_ERR_UndefExprHeader 4
- #define DP_ERR_InternalStackOF 5
- #define DP_ERR_SameName 6
- #define DP_ERR_PolyDupRefer 7
- #define DP_ERR_UndefAttr 8
- #define DP_ERR_OnlyMatGeomObj 9
- #define DP_ERR_EmptyName 10
- #define DP_ERR_OpenFail 11
- #define DP_ERR_WrongFileType 12
- #define DP_ERR_MixedPolygonLine 13
- #define DP_ERR_NonMatrixObject 14
-
- #endif /* DATA_PRSR_GH */
-