diff options
Diffstat (limited to 'includes/newmods.hpp')
| -rw-r--r-- | includes/newmods.hpp | 63 | 
1 files changed, 63 insertions, 0 deletions
| diff --git a/includes/newmods.hpp b/includes/newmods.hpp new file mode 100644 index 0000000..c871e46 --- /dev/null +++ b/includes/newmods.hpp @@ -0,0 +1,63 @@ +//-*- mode: c++; indent-tabs-mode: t; coding: utf-8; show-trailing-whitespace: t -*- + +// file newmods.hpp + +#ifndef _NEWMODS_HPP +#define _NEWMODS_HPP + +// System includes. + +#include <iostream> +#include <iomanip> +#include <fstream> +#include <string> +#include <cstdint> +#include <vector> + +// Local includes. + +#include "blkcom.hpp" +#include "labcom.hpp" +#include "emtp.hpp" + +// Macros. +#define NUMLST 28 +#define NUMKEX 7 + +// Types. +namespace emtp { + +  enum tagJBLTypes { +    JBLTYPE_NULL = 0x00, +    JBLTYPE_STRING = 0x01, +    JBLTYPE_INTEGER = 0x04, +    JBLTYPE_DOUBLE = 0x08, +    JBLTYPE_COMPLEX_DOUBLE = 0x10 +  }; + +  typedef enum tagJBLTypes tJBLTypes; + +  struct tagVariable { +    std::string m_sName; +    std::string m_sNameSpace; +    int m_nSize; +    tJBLTypes m_sType; +  }; + +  typedef struct tagVariable tVariable; + +  // Global variables. + +  extern tVariable pVariables[]; + +  // Prototypes. + +  bool vardim(const std::string &, std::vector<long int> &); +  bool dimens(std::vector<long int> &, const int &, std::string &, std::string &); +  bool cleanup(void); + +} + +#endif // _NEWMODS_HPP + +// end of file newmods.hpp | 
