Download Generic Modeling Environment User`s Manual

Transcript
MON::Project project() const;
MON::Aspect aspect() const;
MON::Model model() const;
MON::AttributeAggregation
Base Classes
Methods
std::string infoString( bool bWithIdentifiers = false, bool bWithRef = false
) const;
MON::Project project() const;
MON::FCO fco() const;
MON::Attribute attribute() const;
Builder Object Network Classes
In this section the BON2 implementation classes are discussed regarding their public
interface. The titles of the subsections are the names of the wrapper classes for the
sake of simplicity, all calls are accessible with -> operator. Exceptions are
BON::Event, BON::EventListener, BON::EventListenerPool and BON:Visitor. The static calls
are static operation of the wrapper classes.
These calls throw Util::Exception if the object is null. All input parameters are checked
whether they belong to the same project or the same meta-project of the project. In
case of violation either BON::Exception or MON::Exception is thrown.
Before performing any operation which may or does require some kind of metainformation (MON object or string literal with the name of a MON object), the
supplied parameters are checked whether the meta-project allows the appropriate
relationship and the structure or not. If it is invalid due to the meta-project,
MON::Exception is thrown.
The validations discussed above are not mentioned at the descriptions of the specific
operations.
BON::Project
This class corresponds to the IMgaProject COM interface. For each IMgaProject there is
only one singleton BON::Project instance.
Generic Modeling Environment User's Manual
Appendix C – BON and MON • 188