%%
%% This is file `apv12.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% stepe.dtx  (with options: `ap')
%% 
%%     This work has been partially funded by the US government
%%  and is not subject to copyright.
%% 
%%     This program is provided under the terms of the
%%  LaTeX Project Public License distributed from CTAN
%%  archives in directory macros/latex/base/lppl.txt.
%% 
%%  Author: Peter Wilson (CUA and NIST)
%%          now at: peter.r.wilson@boeing.com
%% 
\ProvidesPackage{apv12}[2002/01/10 v1.2.2 STEP AP package]
    \RequirePackage{stepv13}[2002/01/10]

\anirfalse
\settocdepth{sclause}

\gdef\theap{}
\newcommand{\aptitle}[1]{\gdef\theap{#1}}
\newif\ifaicinap
  \aicinapfalse
\newif\ifmaptemplate
  \maptemplatefalse
\newif\ifidefix
  \idefixfalse

\newcommand{\inforeqhead}{%
  \settocdepth{ssclause}
  \clause{Information requirements}\label{;sireq}}
\newcommand{\uofhead}{%
  \sclause{Units of functionality}\label{;suof}}
\newcommand{\auofhead}[1]{\ssclause{#1}}
\newcommand{\applobjhead}{%
  \settocdepth{sclause}
  \sclause{Application objects}\label{;sao}}
\newcommand{\applasserthead}{%
  \sclause{Application assertions}\label{;saa}}
\newcommand{\aimhead}{%
  \clause{Application interpreted model}\label{;saim}}
\newcommand{\mappinghead}{%
  \sclause{Mapping \maptableorspec}\label{;smap}}
\newcommand{\templateshead}{%
  \ssclause{Mapping templates}\label{;stemps}}
\newcommand{\mapuofhead}[1]{\ssclause{#1}}
\newcommand{\mapobjecthead}[1]{\sssclause{#1}}
\newcommand{\mapattribhead}[1]{\ssssclause{#1}}
\newcommand{\aimshortexphead}{%
  \sclause{AIM EXPRESS short listing}\label{;saesl}}
\newcommand{\confreqhead}{%
  \clause{Conformance requirements}\label{;scr}}
\newcommand{\aimlongexphead}{%
  \normannex{AIM EXPRESS expanded listing}\label{;saeel}}
\newcommand{\aimshortnameshead}{%
  \normannex{AIM short names}\label{;sasn}}
\newcommand{\impreqhead}{%
  \normannex{Implementation method specific requirements}\label{;simreq}}
\newcommand{\aamhead}{%
  \infannex{Application activity model}\label{;saam}}
\newcommand{\aamdefhead}{%
  \settocdepth{clause}
  \sclause{Application activity model definitions and abbreviations}}
\newcommand{\aamfighead}{%
  \settocdepth{clause}
  \sclause{Application activity model diagrams}}
\newcommand{\armhead}{%
  \settocdepth{sclause}
  \infannex{Application reference model}\label{;sarm}}
\newcommand{\aimexpressghead}{%
  \infannex{AIM EXPRESS-G}\label{;saeg}}
\newcommand{\aimexpresshead}{%
  \infannex{AIM EXPRESS listing}}
\newcommand{\apusagehead}{%
  \infannex{Application protocol usage guide}\label{;sapug}}

\newcommand{\signature}{\ehe@d*{\underline{Mapping signature}:}}
\newcommand{\parameters}{\ehe@d*{\underline{Parameter definitions}:}}
\newcommand{\body}{\ehe@d*{\underline{Template body}:}}

\newcommand{\apextraintro}{\input{apendint}}
\newcommand{\apscope}[1]{%
  This part of ISO 10303 specifies the use of the integrated
resources necessary for the scope and information requirements
for #1

\input{bpfap1}

}
\newcommand{\apinforeq}[1]{%
  This clause specifies the information required for #1

\input{bpfap2}

}
\newenvironment{apuof}{%
  This subclause specifies the units of functionality for the
\theap\space application protocol. This part of ISO~10303
specifies the following units of functionality:
\begin{itemize}}{%
\end{itemize}

\input{bpfap3}

}
\newcommand{\apapplobj}{\input{bpfap4}}
\newcommand{\apassert}{\input{bpfap5}}
\newcommand{\apmapping}{%
  \ifmapspec \input{apmpspec} \else \input{apmptbl} \fi}
\newcommand{\apmappingspec}{\input{apmpspec}}
\newcommand{\apmaptemplate}{\input{apmptempl}}
\newcommand{\sstemplates}{\input{apsstempl}}
\newcommand{\apshortexpress}{\input{bpfap6}}
\newcommand{\apconformance}[1]{%

\input{bpfap7}

  An implementation shall support at least one of the following
implementation methods: #1.

\input{bpfap8}

}
\newenvironment{apconformclasses}{%
  This part of ISO~10303 provides for a number of options that
may be supported by an implementation. These options have been
grouped into the following conformance classes:
\begin{itemize}}{%
\end{itemize}
Support for a particular conformance class requires support of
all the options specified in this class.

 }
\newcommand{\apshortnames}{\input{bpfap9}}
\newcommand{\picsannex}{\input{bpfap10}}
\gdef\aamfigrs{figure F.1}
\newcommand{\aamfigrange}[1]{\gdef\aamfigrs{#1}}
\newcommand{\apaamintro}{\input{bpfap11}}
\newcommand{\apaamdefs}{\input{bpfap12}}
\newcommand{\aamfigures}{\input{bpfap15}}
\newcommand{\armintro}{%
  This annex provides the application reference model for this part of ISO
  10303. The application reference model is a graphical
  representation of the structure and constraints of the application objects
  specified in \cref{;sireq}. The graphical form of the application reference
  model is presented in \ifidefix IDEF1X. \else \ExpressG. \fi
  The application reference model is
  independent from any implementation method.
  \ifidefix The diagrams use the IDEF1X graphical notation~\brefidefix.
  \else \expressgdef. \fi

}
\newcommand{\aimexpressg}{%
  The diagrams in this annex correspond to the AIM \Express{} expanded
listing given in \aref{;saeel}.
The diagrams use the \ExpressG{} graphical notation for the
\Express{} language. \expressgdef.

}
\newcommand{\apexpurls}[2]{\input{bpfap13}

  \begin{itemize}
  \item Short names: \isourl{#1}
  \item \Express: \isourl{#2}
  \end{itemize}

  \input{bpfap16}}
\newcommand{\aimlongexp}{\input{bpfap14}}
\newcommand{\apimpreq}[1]{%
  The implementation method defines what types of exchange
behaviour are required with respect to this part of ISO~10303.
Conformance to this part of ISO~10303 shall be realized in an
exchange structure. The file format shall be encoded according
to the syntax and \Express{} language mapping defined in
ISO~10303-21 and in the AIM defined in \aref{;saeel} of this part
of ISO~10303. The header of the exchange structure shall identify
use of this part of ISO~10303 by the schema name `#1'.

}
\endinput
%%
%% End of file `apv12.sty'.
