Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:03

0001 // Created on: 1995-12-04
0002 // Created by: EXPRESS->CDL V0.2 Translator
0003 // Copyright (c) 1995-1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _StepBasic_Address_HeaderFile
0018 #define _StepBasic_Address_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022 
0023 #include <Standard_Boolean.hxx>
0024 #include <Standard_Transient.hxx>
0025 class TCollection_HAsciiString;
0026 
0027 
0028 class StepBasic_Address;
0029 DEFINE_STANDARD_HANDLE(StepBasic_Address, Standard_Transient)
0030 
0031 
0032 class StepBasic_Address : public Standard_Transient
0033 {
0034 
0035 public:
0036 
0037   
0038   //! Returns a Address
0039   Standard_EXPORT StepBasic_Address();
0040   
0041   Standard_EXPORT void Init (const Standard_Boolean hasAinternalLocation, const Handle(TCollection_HAsciiString)& aInternalLocation, const Standard_Boolean hasAstreetNumber, const Handle(TCollection_HAsciiString)& aStreetNumber, const Standard_Boolean hasAstreet, const Handle(TCollection_HAsciiString)& aStreet, const Standard_Boolean hasApostalBox, const Handle(TCollection_HAsciiString)& aPostalBox, const Standard_Boolean hasAtown, const Handle(TCollection_HAsciiString)& aTown, const Standard_Boolean hasAregion, const Handle(TCollection_HAsciiString)& aRegion, const Standard_Boolean hasApostalCode, const Handle(TCollection_HAsciiString)& aPostalCode, const Standard_Boolean hasAcountry, const Handle(TCollection_HAsciiString)& aCountry, const Standard_Boolean hasAfacsimileNumber, const Handle(TCollection_HAsciiString)& aFacsimileNumber, const Standard_Boolean hasAtelephoneNumber, const Handle(TCollection_HAsciiString)& aTelephoneNumber, const Standard_Boolean hasAelectronicMailAddress, const Handle(TCollection_HAsciiString)& aElectronicMailAddress, const Standard_Boolean hasAtelexNumber, const Handle(TCollection_HAsciiString)& aTelexNumber);
0042   
0043   Standard_EXPORT void SetInternalLocation (const Handle(TCollection_HAsciiString)& aInternalLocation);
0044   
0045   Standard_EXPORT void UnSetInternalLocation();
0046   
0047   Standard_EXPORT Handle(TCollection_HAsciiString) InternalLocation() const;
0048   
0049   Standard_EXPORT Standard_Boolean HasInternalLocation() const;
0050   
0051   Standard_EXPORT void SetStreetNumber (const Handle(TCollection_HAsciiString)& aStreetNumber);
0052   
0053   Standard_EXPORT void UnSetStreetNumber();
0054   
0055   Standard_EXPORT Handle(TCollection_HAsciiString) StreetNumber() const;
0056   
0057   Standard_EXPORT Standard_Boolean HasStreetNumber() const;
0058   
0059   Standard_EXPORT void SetStreet (const Handle(TCollection_HAsciiString)& aStreet);
0060   
0061   Standard_EXPORT void UnSetStreet();
0062   
0063   Standard_EXPORT Handle(TCollection_HAsciiString) Street() const;
0064   
0065   Standard_EXPORT Standard_Boolean HasStreet() const;
0066   
0067   Standard_EXPORT void SetPostalBox (const Handle(TCollection_HAsciiString)& aPostalBox);
0068   
0069   Standard_EXPORT void UnSetPostalBox();
0070   
0071   Standard_EXPORT Handle(TCollection_HAsciiString) PostalBox() const;
0072   
0073   Standard_EXPORT Standard_Boolean HasPostalBox() const;
0074   
0075   Standard_EXPORT void SetTown (const Handle(TCollection_HAsciiString)& aTown);
0076   
0077   Standard_EXPORT void UnSetTown();
0078   
0079   Standard_EXPORT Handle(TCollection_HAsciiString) Town() const;
0080   
0081   Standard_EXPORT Standard_Boolean HasTown() const;
0082   
0083   Standard_EXPORT void SetRegion (const Handle(TCollection_HAsciiString)& aRegion);
0084   
0085   Standard_EXPORT void UnSetRegion();
0086   
0087   Standard_EXPORT Handle(TCollection_HAsciiString) Region() const;
0088   
0089   Standard_EXPORT Standard_Boolean HasRegion() const;
0090   
0091   Standard_EXPORT void SetPostalCode (const Handle(TCollection_HAsciiString)& aPostalCode);
0092   
0093   Standard_EXPORT void UnSetPostalCode();
0094   
0095   Standard_EXPORT Handle(TCollection_HAsciiString) PostalCode() const;
0096   
0097   Standard_EXPORT Standard_Boolean HasPostalCode() const;
0098   
0099   Standard_EXPORT void SetCountry (const Handle(TCollection_HAsciiString)& aCountry);
0100   
0101   Standard_EXPORT void UnSetCountry();
0102   
0103   Standard_EXPORT Handle(TCollection_HAsciiString) Country() const;
0104   
0105   Standard_EXPORT Standard_Boolean HasCountry() const;
0106   
0107   Standard_EXPORT void SetFacsimileNumber (const Handle(TCollection_HAsciiString)& aFacsimileNumber);
0108   
0109   Standard_EXPORT void UnSetFacsimileNumber();
0110   
0111   Standard_EXPORT Handle(TCollection_HAsciiString) FacsimileNumber() const;
0112   
0113   Standard_EXPORT Standard_Boolean HasFacsimileNumber() const;
0114   
0115   Standard_EXPORT void SetTelephoneNumber (const Handle(TCollection_HAsciiString)& aTelephoneNumber);
0116   
0117   Standard_EXPORT void UnSetTelephoneNumber();
0118   
0119   Standard_EXPORT Handle(TCollection_HAsciiString) TelephoneNumber() const;
0120   
0121   Standard_EXPORT Standard_Boolean HasTelephoneNumber() const;
0122   
0123   Standard_EXPORT void SetElectronicMailAddress (const Handle(TCollection_HAsciiString)& aElectronicMailAddress);
0124   
0125   Standard_EXPORT void UnSetElectronicMailAddress();
0126   
0127   Standard_EXPORT Handle(TCollection_HAsciiString) ElectronicMailAddress() const;
0128   
0129   Standard_EXPORT Standard_Boolean HasElectronicMailAddress() const;
0130   
0131   Standard_EXPORT void SetTelexNumber (const Handle(TCollection_HAsciiString)& aTelexNumber);
0132   
0133   Standard_EXPORT void UnSetTelexNumber();
0134   
0135   Standard_EXPORT Handle(TCollection_HAsciiString) TelexNumber() const;
0136   
0137   Standard_EXPORT Standard_Boolean HasTelexNumber() const;
0138 
0139 
0140 
0141 
0142   DEFINE_STANDARD_RTTIEXT(StepBasic_Address,Standard_Transient)
0143 
0144 protected:
0145 
0146 
0147 
0148 
0149 private:
0150 
0151 
0152   Handle(TCollection_HAsciiString) internalLocation;
0153   Handle(TCollection_HAsciiString) streetNumber;
0154   Handle(TCollection_HAsciiString) street;
0155   Handle(TCollection_HAsciiString) postalBox;
0156   Handle(TCollection_HAsciiString) town;
0157   Handle(TCollection_HAsciiString) region;
0158   Handle(TCollection_HAsciiString) postalCode;
0159   Handle(TCollection_HAsciiString) country;
0160   Handle(TCollection_HAsciiString) facsimileNumber;
0161   Handle(TCollection_HAsciiString) telephoneNumber;
0162   Handle(TCollection_HAsciiString) electronicMailAddress;
0163   Handle(TCollection_HAsciiString) telexNumber;
0164   Standard_Boolean hasInternalLocation;
0165   Standard_Boolean hasStreetNumber;
0166   Standard_Boolean hasStreet;
0167   Standard_Boolean hasPostalBox;
0168   Standard_Boolean hasTown;
0169   Standard_Boolean hasRegion;
0170   Standard_Boolean hasPostalCode;
0171   Standard_Boolean hasCountry;
0172   Standard_Boolean hasFacsimileNumber;
0173   Standard_Boolean hasTelephoneNumber;
0174   Standard_Boolean hasElectronicMailAddress;
0175   Standard_Boolean hasTelexNumber;
0176 
0177 
0178 };
0179 
0180 
0181 
0182 
0183 
0184 
0185 
0186 #endif // _StepBasic_Address_HeaderFile