-- Created on: 1995-12-04 -- Created by: EXPRESS->CDL V0.2 Translator -- Copyright (c) 1995-1999 Matra Datavision -- Copyright (c) 1999-2014 OPEN CASCADE SAS -- -- This file is part of Open CASCADE Technology software library. -- -- This library is free software; you can redistribute it and/or modify it under -- the terms of the GNU Lesser General Public License version 2.1 as published -- by the Free Software Foundation, with special exception defined in the file -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT -- distribution for complete text of the license and disclaimer of any warranty. -- -- Alternatively, this file may be used under the terms of Open CASCADE -- commercial license or contractual agreement. class Address from StepBasic inherits TShared from MMgt uses HAsciiString from TCollection, Boolean from Standard is Create returns Address; ---Purpose: Returns a Address Init (me : mutable; hasAinternalLocation : Boolean from Standard; aInternalLocation : HAsciiString from TCollection; hasAstreetNumber : Boolean from Standard; aStreetNumber : HAsciiString from TCollection; hasAstreet : Boolean from Standard; aStreet : HAsciiString from TCollection; hasApostalBox : Boolean from Standard; aPostalBox : HAsciiString from TCollection; hasAtown : Boolean from Standard; aTown : HAsciiString from TCollection; hasAregion : Boolean from Standard; aRegion : HAsciiString from TCollection; hasApostalCode : Boolean from Standard; aPostalCode : HAsciiString from TCollection; hasAcountry : Boolean from Standard; aCountry : HAsciiString from TCollection; hasAfacsimileNumber : Boolean from Standard; aFacsimileNumber : HAsciiString from TCollection; hasAtelephoneNumber : Boolean from Standard; aTelephoneNumber : HAsciiString from TCollection; hasAelectronicMailAddress : Boolean from Standard; aElectronicMailAddress : HAsciiString from TCollection; hasAtelexNumber : Boolean from Standard; aTelexNumber : HAsciiString from TCollection) is virtual; -- Specific Methods for Field Data Access -- SetInternalLocation(me : mutable; aInternalLocation : HAsciiString); UnSetInternalLocation (me:mutable); InternalLocation (me) returns HAsciiString; HasInternalLocation (me) returns Boolean; SetStreetNumber(me : mutable; aStreetNumber : HAsciiString); UnSetStreetNumber (me:mutable); StreetNumber (me) returns HAsciiString; HasStreetNumber (me) returns Boolean; SetStreet(me : mutable; aStreet : HAsciiString); UnSetStreet (me:mutable); Street (me) returns HAsciiString; HasStreet (me) returns Boolean; SetPostalBox(me : mutable; aPostalBox : HAsciiString); UnSetPostalBox (me:mutable); PostalBox (me) returns HAsciiString; HasPostalBox (me) returns Boolean; SetTown(me : mutable; aTown : HAsciiString); UnSetTown (me:mutable); Town (me) returns HAsciiString; HasTown (me) returns Boolean; SetRegion(me : mutable; aRegion : HAsciiString); UnSetRegion (me:mutable); Region (me) returns HAsciiString; HasRegion (me) returns Boolean; SetPostalCode(me : mutable; aPostalCode : HAsciiString); UnSetPostalCode (me:mutable); PostalCode (me) returns HAsciiString; HasPostalCode (me) returns Boolean; SetCountry(me : mutable; aCountry : HAsciiString); UnSetCountry (me:mutable); Country (me) returns HAsciiString; HasCountry (me) returns Boolean; SetFacsimileNumber(me : mutable; aFacsimileNumber : HAsciiString); UnSetFacsimileNumber (me:mutable); FacsimileNumber (me) returns HAsciiString; HasFacsimileNumber (me) returns Boolean; SetTelephoneNumber(me : mutable; aTelephoneNumber : HAsciiString); UnSetTelephoneNumber (me:mutable); TelephoneNumber (me) returns HAsciiString; HasTelephoneNumber (me) returns Boolean; SetElectronicMailAddress(me : mutable; aElectronicMailAddress : HAsciiString); UnSetElectronicMailAddress (me:mutable); ElectronicMailAddress (me) returns HAsciiString; HasElectronicMailAddress (me) returns Boolean; SetTelexNumber(me : mutable; aTelexNumber : HAsciiString); UnSetTelexNumber (me:mutable); TelexNumber (me) returns HAsciiString; HasTelexNumber (me) returns Boolean; fields internalLocation : HAsciiString from TCollection; -- OPTIONAL can be NULL streetNumber : HAsciiString from TCollection; -- OPTIONAL can be NULL street : HAsciiString from TCollection; -- OPTIONAL can be NULL postalBox : HAsciiString from TCollection; -- OPTIONAL can be NULL town : HAsciiString from TCollection; -- OPTIONAL can be NULL region : HAsciiString from TCollection; -- OPTIONAL can be NULL postalCode : HAsciiString from TCollection; -- OPTIONAL can be NULL country : HAsciiString from TCollection; -- OPTIONAL can be NULL facsimileNumber : HAsciiString from TCollection; -- OPTIONAL can be NULL telephoneNumber : HAsciiString from TCollection; -- OPTIONAL can be NULL electronicMailAddress : HAsciiString from TCollection; -- OPTIONAL can be NULL telexNumber : HAsciiString from TCollection; -- OPTIONAL can be NULL hasInternalLocation : Boolean from Standard; hasStreetNumber : Boolean from Standard; hasStreet : Boolean from Standard; hasPostalBox : Boolean from Standard; hasTown : Boolean from Standard; hasRegion : Boolean from Standard; hasPostalCode : Boolean from Standard; hasCountry : Boolean from Standard; hasFacsimileNumber : Boolean from Standard; hasTelephoneNumber : Boolean from Standard; hasElectronicMailAddress : Boolean from Standard; hasTelexNumber : Boolean from Standard; end Address;