0032951: Coding - get rid of unused headers [GeomConvert to IGESBasic]
[occt.git] / src / IGESBasic / IGESBasic_AssocGroupType.hxx
1 // Created on: 1993-01-09
2 // Created by: CKY / Contract Toubro-Larsen ( Anand NATRAJAN )
3 // Copyright (c) 1993-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16
17 #ifndef _IGESBasic_AssocGroupType_HeaderFile
18 #define _IGESBasic_AssocGroupType_HeaderFile
19
20 #include <Standard.hxx>
21
22 #include <Standard_Integer.hxx>
23 #include <IGESData_IGESEntity.hxx>
24 class TCollection_HAsciiString;
25
26
27 class IGESBasic_AssocGroupType;
28 DEFINE_STANDARD_HANDLE(IGESBasic_AssocGroupType, IGESData_IGESEntity)
29
30 //! defines AssocGroupType, Type <406> Form <23>
31 //! in package IGESBasic
32 //! Used to assign an unambiguous identification to a Group
33 //! Associativity.
34 class IGESBasic_AssocGroupType : public IGESData_IGESEntity
35 {
36
37 public:
38
39   
40   Standard_EXPORT IGESBasic_AssocGroupType();
41   
42   //! This method is used to set the fields of the class
43   //! AssocGroupType
44   //! - nbDataFields : number of parameter data fields = 2
45   //! - aType        : type of attached associativity
46   //! - aName        : identifier of associativity of type AType
47   Standard_EXPORT void Init (const Standard_Integer nbDataFields, const Standard_Integer aType, const Handle(TCollection_HAsciiString)& aName);
48   
49   //! returns the number of parameter data fields, always = 2
50   Standard_EXPORT Standard_Integer NbData() const;
51   
52   //! returns the type of attached associativity
53   Standard_EXPORT Standard_Integer AssocType() const;
54   
55   //! returns identifier of instance of specified associativity
56   Standard_EXPORT Handle(TCollection_HAsciiString) Name() const;
57
58
59
60
61   DEFINE_STANDARD_RTTIEXT(IGESBasic_AssocGroupType,IGESData_IGESEntity)
62
63 protected:
64
65
66
67
68 private:
69
70
71   Standard_Integer theNbData;
72   Standard_Integer theType;
73   Handle(TCollection_HAsciiString) theName;
74
75
76 };
77
78
79
80
81
82
83
84 #endif // _IGESBasic_AssocGroupType_HeaderFile