1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-06-15 11:44:07 +03:00
occt/src/StepBasic/StepBasic_Person.cdl
abv ed4415982c 0024624: Lost word in license statement in source files
License statement text corrected; compiler warnings caused by Bison 2.41 disabled for MSVC; a few other compiler warnings on 54-bit Windows eliminated by appropriate type cast
Wrong license statements corrected in several files.
Copyright and license statements added in XSD and GLSL files.
Copyright year updated in some files.
Obsolete documentation files removed from DrawResources.
2014-03-25 16:38:55 +04:00

90 lines
3.6 KiB
Plaintext

-- Created on: 1995-12-01
-- 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 Person from StepBasic
inherits TShared from MMgt
uses
HAsciiString from TCollection,
HArray1OfHAsciiString from Interface,
Boolean from Standard
is
Create returns mutable Person;
---Purpose: Returns a Person
Init (me : mutable;
aId : mutable HAsciiString from TCollection;
hasAlastName : Boolean from Standard;
aLastName : mutable HAsciiString from TCollection;
hasAfirstName : Boolean from Standard;
aFirstName : mutable HAsciiString from TCollection;
hasAmiddleNames : Boolean from Standard;
aMiddleNames : mutable HArray1OfHAsciiString from Interface;
hasAprefixTitles : Boolean from Standard;
aPrefixTitles : mutable HArray1OfHAsciiString from Interface;
hasAsuffixTitles : Boolean from Standard;
aSuffixTitles : mutable HArray1OfHAsciiString from Interface) is virtual;
-- Specific Methods for Field Data Access --
SetId(me : mutable; aId : mutable HAsciiString);
Id (me) returns mutable HAsciiString;
SetLastName(me : mutable; aLastName : mutable HAsciiString);
UnSetLastName (me:mutable);
LastName (me) returns mutable HAsciiString;
HasLastName (me) returns Boolean;
SetFirstName(me : mutable; aFirstName : mutable HAsciiString);
UnSetFirstName (me:mutable);
FirstName (me) returns mutable HAsciiString;
HasFirstName (me) returns Boolean;
SetMiddleNames(me : mutable; aMiddleNames : mutable HArray1OfHAsciiString);
UnSetMiddleNames (me:mutable);
MiddleNames (me) returns mutable HArray1OfHAsciiString;
HasMiddleNames (me) returns Boolean;
MiddleNamesValue (me; num : Integer) returns mutable HAsciiString;
NbMiddleNames (me) returns Integer;
SetPrefixTitles(me : mutable; aPrefixTitles : mutable HArray1OfHAsciiString);
UnSetPrefixTitles (me:mutable);
PrefixTitles (me) returns mutable HArray1OfHAsciiString;
HasPrefixTitles (me) returns Boolean;
PrefixTitlesValue (me; num : Integer) returns mutable HAsciiString;
NbPrefixTitles (me) returns Integer;
SetSuffixTitles(me : mutable; aSuffixTitles : mutable HArray1OfHAsciiString);
UnSetSuffixTitles (me:mutable);
SuffixTitles (me) returns mutable HArray1OfHAsciiString;
HasSuffixTitles (me) returns Boolean;
SuffixTitlesValue (me; num : Integer) returns mutable HAsciiString;
NbSuffixTitles (me) returns Integer;
fields
id : HAsciiString from TCollection;
lastName : HAsciiString from TCollection; -- OPTIONAL can be NULL
firstName : HAsciiString from TCollection; -- OPTIONAL can be NULL
middleNames : HArray1OfHAsciiString from Interface; -- OPTIONAL can be NULL
prefixTitles : HArray1OfHAsciiString from Interface; -- OPTIONAL can be NULL
suffixTitles : HArray1OfHAsciiString from Interface; -- OPTIONAL can be NULL
hasLastName : Boolean from Standard;
hasFirstName : Boolean from Standard;
hasMiddleNames : Boolean from Standard;
hasPrefixTitles : Boolean from Standard;
hasSuffixTitles : Boolean from Standard;
end Person;