File indexing completed on 2025-01-18 10:05:04
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _StepBasic_Person_HeaderFile
0018 #define _StepBasic_Person_HeaderFile
0019
0020 #include <Standard.hxx>
0021
0022 #include <Interface_HArray1OfHAsciiString.hxx>
0023 #include <Standard_Boolean.hxx>
0024 #include <Standard_Transient.hxx>
0025 #include <Standard_Integer.hxx>
0026 class TCollection_HAsciiString;
0027
0028
0029 class StepBasic_Person;
0030 DEFINE_STANDARD_HANDLE(StepBasic_Person, Standard_Transient)
0031
0032
0033 class StepBasic_Person : public Standard_Transient
0034 {
0035
0036 public:
0037
0038
0039
0040 Standard_EXPORT StepBasic_Person();
0041
0042 Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aId, const Standard_Boolean hasAlastName, const Handle(TCollection_HAsciiString)& aLastName, const Standard_Boolean hasAfirstName, const Handle(TCollection_HAsciiString)& aFirstName, const Standard_Boolean hasAmiddleNames, const Handle(Interface_HArray1OfHAsciiString)& aMiddleNames, const Standard_Boolean hasAprefixTitles, const Handle(Interface_HArray1OfHAsciiString)& aPrefixTitles, const Standard_Boolean hasAsuffixTitles, const Handle(Interface_HArray1OfHAsciiString)& aSuffixTitles);
0043
0044 Standard_EXPORT void SetId (const Handle(TCollection_HAsciiString)& aId);
0045
0046 Standard_EXPORT Handle(TCollection_HAsciiString) Id() const;
0047
0048 Standard_EXPORT void SetLastName (const Handle(TCollection_HAsciiString)& aLastName);
0049
0050 Standard_EXPORT void UnSetLastName();
0051
0052 Standard_EXPORT Handle(TCollection_HAsciiString) LastName() const;
0053
0054 Standard_EXPORT Standard_Boolean HasLastName() const;
0055
0056 Standard_EXPORT void SetFirstName (const Handle(TCollection_HAsciiString)& aFirstName);
0057
0058 Standard_EXPORT void UnSetFirstName();
0059
0060 Standard_EXPORT Handle(TCollection_HAsciiString) FirstName() const;
0061
0062 Standard_EXPORT Standard_Boolean HasFirstName() const;
0063
0064 Standard_EXPORT void SetMiddleNames (const Handle(Interface_HArray1OfHAsciiString)& aMiddleNames);
0065
0066 Standard_EXPORT void UnSetMiddleNames();
0067
0068 Standard_EXPORT Handle(Interface_HArray1OfHAsciiString) MiddleNames() const;
0069
0070 Standard_EXPORT Standard_Boolean HasMiddleNames() const;
0071
0072 Standard_EXPORT Handle(TCollection_HAsciiString) MiddleNamesValue (const Standard_Integer num) const;
0073
0074 Standard_EXPORT Standard_Integer NbMiddleNames() const;
0075
0076 Standard_EXPORT void SetPrefixTitles (const Handle(Interface_HArray1OfHAsciiString)& aPrefixTitles);
0077
0078 Standard_EXPORT void UnSetPrefixTitles();
0079
0080 Standard_EXPORT Handle(Interface_HArray1OfHAsciiString) PrefixTitles() const;
0081
0082 Standard_EXPORT Standard_Boolean HasPrefixTitles() const;
0083
0084 Standard_EXPORT Handle(TCollection_HAsciiString) PrefixTitlesValue (const Standard_Integer num) const;
0085
0086 Standard_EXPORT Standard_Integer NbPrefixTitles() const;
0087
0088 Standard_EXPORT void SetSuffixTitles (const Handle(Interface_HArray1OfHAsciiString)& aSuffixTitles);
0089
0090 Standard_EXPORT void UnSetSuffixTitles();
0091
0092 Standard_EXPORT Handle(Interface_HArray1OfHAsciiString) SuffixTitles() const;
0093
0094 Standard_EXPORT Standard_Boolean HasSuffixTitles() const;
0095
0096 Standard_EXPORT Handle(TCollection_HAsciiString) SuffixTitlesValue (const Standard_Integer num) const;
0097
0098 Standard_EXPORT Standard_Integer NbSuffixTitles() const;
0099
0100
0101
0102
0103 DEFINE_STANDARD_RTTIEXT(StepBasic_Person,Standard_Transient)
0104
0105 protected:
0106
0107
0108
0109
0110 private:
0111
0112
0113 Handle(TCollection_HAsciiString) id;
0114 Handle(TCollection_HAsciiString) lastName;
0115 Handle(TCollection_HAsciiString) firstName;
0116 Handle(Interface_HArray1OfHAsciiString) middleNames;
0117 Handle(Interface_HArray1OfHAsciiString) prefixTitles;
0118 Handle(Interface_HArray1OfHAsciiString) suffixTitles;
0119 Standard_Boolean hasLastName;
0120 Standard_Boolean hasFirstName;
0121 Standard_Boolean hasMiddleNames;
0122 Standard_Boolean hasPrefixTitles;
0123 Standard_Boolean hasSuffixTitles;
0124
0125
0126 };
0127
0128
0129
0130
0131
0132
0133
0134 #endif