Date: Fri, 29 Mar 2024 06:29:15 +0100 (CET)
Message-ID: <853821373.1495.1711690155345@nm-docs>
Subject: Exported From Confluence
MIME-Version: 1.0
Content-Type: multipart/related;
boundary="----=_Part_1494_1640648689.1711690155345"
------=_Part_1494_1640648689.1711690155345
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Location: file:///C:/exported.html
ANSI Profile Constraints
ANSI Profile Constraints
This chapter describes all=
constraints added by the ANSI profile.
Operation
- isQuery set to true only applies =
to a member operation (non global).
- virtual tag set to true only appl=
ies to a non static member operation.
Constructor
- operation with =C2=ABC++Construct=
or=C2=BB stereotype.
- Name should be the same as the ow=
ner=E2=80=99s name.
Destructor
- operation with =C2=ABC++Destructo=
r=C2=BB stereotype.
- Name should be =E2=80=98~=E2=80=
=99 + the same name as the owner=E2=80=99s name.
Global
Class with =C2=ABC++Global=C2=BB s=
tereotype:
- Name length should be 0.=
li>
- All operations and attributes sho=
uld be public.
- There can be only one global clas=
s by namespace.
- Owner of a global class can only =
be a package
Typedef
Class with =C2=ABC++Typedef=C2=BB =
stereotype:
- One and only one =C2=ABC++BaseTyp=
e=C2=BB dependency from a =C2=ABC++Typedef=C2=BB class.
- =C2=ABC++BaseType=C2=BB supplier =
dependency can only be a Class=
ifier or Operation.
- =C2=ABC++Typedef=C2=BB class cann=
ot contain an attribute and operation.
- Only one inner Class or inner Enu=
meration is valid.
Friend
Dependency with =C2=ABC++Friend=C2=
=BB stereotype:
- =C2=ABC++Friend=C2=BB client depe=
ndency can only be Class or Operation.
- =C2=ABC++Friend=C2=BB supplier de=
pendency can only be Class.
------=_Part_1494_1640648689.1711690155345--