FeatureModelerExt CATFmContainerServices
Usage: you must use this class as is. You should never derive it.
public class CATFmContainerServices
Class grouping Feature Modeler services related to containers.
Method Index
- o
CreateApplicativeContainer(CATFmCredentials&,CATBaseUnknown*,CATUnicodeString&,CATUnicodeString&,CATFmContainerFacade&)
- Creates an Applicative container.
Methods
o CreateApplicativeContainer
public static CreateApplicativeContainer( | const | iAccreditations, |
| | iContext, |
| const | iContainerType, |
| const | iContainerName, |
| | oContainerFacade) |
-
Creates an Applicative container.
- Parameters:
-
- iAccreditations
- [in] The application accreditation set.
- iContext
- [in] The context can be given as a pointer to a feature (use
), to a container (use
) or through a CATIPsiRepresentationReference pointer and will be used to find where the container has to be created (a Shape, a Technological Representation...).
- iContainerType
- [in] The type of the container to be created.
This can be either:
- An application choosen Late Type (naming convention must be followed) in which case it will be
possible to implement the
interface
- The "CATFeatCont" Late Type. Implement the
interface on DS "CATFeatCont" Late Type is forbidden.
- iContainerName
- [in] A user choosen name for the container. This name must be unique among all the containers of its context,
following the naming convention is consequently recommended.
- oContainerFacade
- [out] A (caller provided) facade to handle the created container.
Notice that the Credentials of the provided Facade will not be used nor be modified.
If the method fails, oContainerFacade is not modified.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- The operation completed successfully.
- E_ACCESSDENIED
- Credentials provided through iAccreditations do not authorize this operation.
- E_INVALIDARG
- Either iContainerType or iContainerName is not valid.
- E_POINTER
- iContext cannot be mapped to location where a container can be created.
- Other
- Another failure has occured.
- See also:
- ,
This object is included in the file: CATFmContainerServices.h
If needed, your Imakefile.mk should include the module: FeatureModelerExt
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.