ddc
Field.h
Go to the documentation of this file.
1 //
2 // This file is part of DDC.
3 //
4 // DDC is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Lesser General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
8 //
9 // DDC is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Lesser General Public License for more details.
13 //
14 // You should have received a copy of the GNU Lesser General Public License
15 // along with DDC. If not, see <http://www.gnu.org/licenses/>.
16 //
17 // ========== Dialing Structural Dictionary (www.aot.ru)
18 // ========== Copyright by Alexey Sokirko (1998-2002), Bryan Jurish (2011)
19 
20 
21 #ifndef __FIELD_H_
22 #define __FIELD_H_
23 
24 #include "Signat.h"
25 
26 const size_t FieldStrLen = 100;
27 struct CField
28 {
29  int FieldId;
31  vector<CSignat> m_Signats;
32  char TypeRes;
33  int OrderId;
36  {
37  FieldId = _F.FieldId;
38  strcpy (FieldStr, _F.FieldStr);
39  TypeRes = _F.TypeRes;
40  OrderId = _F.OrderId;
41  IsApplicToActant = _F.IsApplicToActant;
42  m_Signats = _F.m_Signats;
43  return *this;
44  };
45 
46 };
47 
48 #endif //__FIELD_H_
49 
50 /*--- emacs style variables ---
51  * Local Variables:
52  * mode: C++
53  * c-file-style: "ellemtel"
54  * c-basic-offset: 4
55  * tab-width: 8
56  * indent-tabs-mode: nil
57  * End:
58  */
CField & operator=(const CField &_F)
Definition: Field.h:35
int OrderId
Definition: Field.h:33
int FieldId
Definition: Field.h:29
vector< CSignat > m_Signats
Definition: Field.h:31
bool IsApplicToActant
Definition: Field.h:34
char TypeRes
Definition: Field.h:32
char FieldStr[FieldStrLen]
Definition: Field.h:30
const size_t FieldStrLen
Definition: Field.h:26
Definition: Field.h:27