/******************************************************************************* * E.S.O. - VLT project * * "@(#) $Id: dicTCSTest1.C,v 1.38 2004/01/13 08:55:02 vltsccm Exp $" * * who when what * -------- ---------- ---------------------------------------------- * rkarban 2003-03-11 created */ /************************************************************************ * NAME * * * SYNOPSIS * * * DESCRIPTION * * FILES * * ENVIRONMENT * * COMMANDS * * RETURN VALUES * * CAUTIONS * * EXAMPLES * * SEE ALSO * * BUGS * *------------------------------------------------------------------------ */ #define _POSIX_SOURCE 1 // Uncomment this if you are using the VLT environment // #include "vltPort.h" #include #include #include #include "oslx.h" static char *rcsId="@(#) $Id: dicTCSTest1.C,v 1.38 2004/01/13 08:55:02 vltsccm Exp $"; static void *use_rcsId = ((void)&use_rcsId,(void *) &rcsId); int main(int argc, char *argv[]) { oslxDICTIONARY *dic; dic=new oslxDICTIONARY(); if (dic->LoadDic ("ESO-VLT-DIC.TCS") == FAILURE) { printf("error at loading dictionary\n"); return 1; } printf("dump dictionary ...\n"); dic->DumpDictionary(false); delete dic; return 0; }