1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
| /*******************************************************************************
* FILE NAME: Structure.h
* PURPOSE: This file contains constants and user defined data for all the
* classes.
* HISTORY:
* Date Version Author
* 16/05/2003 initial version :1.0 JN Martin
*******************************************************************************/
#ifndef StructureH
#define StructureH
//--------------------------- INCLUDE-FILES ------------------------------------
using namespace std;
using namespace System;
//-------------------CONSTANTS AND USER DEFINED DATA TYPES----------------------
//------------------------------------------------------------------------------
struct sEquation
{
int len;
char pWord1[40];
char pWord2[40];
};
struct Splitt
{
char* tete;
char* queue;
};
struct stPOS
{
enPOS pPOS[NUMBER_OF_POS];
};
struct stUnivers
{
int idParagraph;
std::wstring wsName;
};
struct stOptionStructure
{
std::wstring sSectionName;
std::wstring sKeyName;
std::wstring sValue;
};
struct stAnalysedWord
{
std::wstring wsWord; // Texte du mot
std::wstring wsLemma; // Texte du lemma
enPOS POS; // Part Of Speech du lemma (et du mot)
enGender Gender; // Genre du lemma (et du mot)
enPers iPers;
enNbr iNbr;
int iExcluded; // Le lemma est important ou non
unsigned long ulStart; // Position du premier caractère du mot dans le segment
unsigned long ulLength; // Longueur du mot (les espaces sont exclus)
};
struct stElementDescription
{
std::wstring sSectionName;
std::wstring sKeyName;
std::wstring sValue;
unsigned int dwValue;
bool bValue;
std::wstring sDefaultValue;
unsigned int dwDefaultValue;
bool bDefaultValue;
int iType;
};
#endif |