All Frameworks Class Hierarchy This Framework Indexes
ObjectSpecsModeler Class ObjectCCP_SPEC
Usage: you can derive this class.
public class ObjectCCP_SPEC
Base class to give implementation for CATICutAndPastable.
- See also:
- CATICutAndPastable
Constructor and Destructor Index
- o
ObjectCCP_SPEC()
- Constructs a ObjectCCP_SPEC
- o
~ObjectCCP_SPEC()
-
Method Index
- o
BoundaryExtract(ListOfVarBaseUnknown&,ListOfVarBaseUnknown*,CATFormat*)
- Lists objects to extract.
- o
BoundaryRemove(ListOfVarBaseUnknown&,ListOfVarBaseUnknown*,CATFormat*)
- Creates a list of objects to be removed.
- o
Create(CATBaseUnknown_Associations&,CATFormat*)
- Creates in the client side, all objects required, and provides associations.
- o
Extract(ListOfVarBaseUnknown&,CATFormat*)
- Creates a structure to receive the boundary objects in the requested format.
- o
ListExtractFormats()
- Lists formats which can be extracted from the selection.
- o
ListPasteFormats()
- Lists formats which can be pasted.
- o
ListRemoveFormats()
- Lists formats which can be removed from the selection.
- o
Paste(ListOfVarBaseUnknown&,ListOfVarBaseUnknown*,CATFormat*)
- Returns the path of the object to copy.
- o
Remove(ListOfVarBaseUnknown&,CATFormat*)
- Removes objects.
- o
Update(CATBaseUnknown_Associations&,CATFormat*,ListOfVarBaseUnknown*)
- Makes in the client, the update of data and relations.
Constructor and Destructor
o ObjectCCP_SPEC
-
Constructs a ObjectCCP_SPEC
o ~ObjectCCP_SPEC
| public virtual ~ObjectCCP_SPEC( | ) |
-
Methods
o BoundaryExtract
| public virtual BoundaryExtract( | | ioObjectsAlreadyInBoundary, |
| const | iObjectsToAdd | =NULL, |
| const | iAnImposedFormat | =NULL) |
-
Lists objects to extract.
Role: used on copy.
- Parameters:
-
- ioObjectsAlreadyInBoundary
- list of objects to extract.
- iObjectsToAdd
- list objects to add to list of objects to extract.
- iAnImposedFormat
- if this format is not valid, it will be reinitialized.
- Returns:
- 1 if there is at least one object extracted.
0 otherwise
o BoundaryRemove
| public virtual BoundaryRemove( | | ioObjectsAlreadyInBoundary, |
| const | iObjectsToRemove | =NULL, |
| const | iAnImposedFormat | =NULL) |
-
Creates a list of objects to be removed.
Role: used on cut and delete.
- Parameters:
-
- ioObjectsAlreadyInBoundary
- list of objects to be removed.
- iObjectsToRemove
- list of objects to be removed to be added to existing list.
- iAnImposedFormat
- if this format is not valid, it will be reinitialized.
- Returns:
- 1 if there is at least one object removed.
0 otherwise
o Create
| public virtual Create( | | ioAssociationOfObjects, |
| const | iAnImposedFormat | =NULL) |
-
Creates in the client side, all objects required, and provides associations.
- Parameters:
-
- ioAssociationOfObjects
- couples of objects source/target.
- iAnImposedFormat
- if this format is not valid, it will be reinitialized.
- Returns:
- 0 if failed
o Extract
| public virtual Extract( | | iObjectToCopy, |
| const | iAnImposedFormat | =NULL) |
-
Creates a structure to receive the boundary objects in the requested format.
Role: used on copy.
- Parameters:
-
- iObjectToCopy
- list of objects to copy.
- iAnImposedFormat
- if this format is not valid, it will be reinitialized.
- Returns:
- structure created by extract.
o ListExtractFormats
| public virtual ListExtractFormats( | ) |
-
Lists formats which can be extracted from the selection.
Role: used on copy.
o ListPasteFormats
| public virtual ListPasteFormats( | ) |
-
Lists formats which can be pasted.
Role: used on paste.
o ListRemoveFormats
| public virtual ListRemoveFormats( | ) |
-
Lists formats which can be removed from the selection.
Role: used on cut and delete.
o Paste
| public virtual Paste( | | iObjectToCopy, |
| | iToCurObjects, |
| const | iAnImposedFormat | =NULL) |
-
Returns the path of the object to copy.
Role: used on copy and paste.
- Parameters:
-
- iObjectToCopy
- list of objects to copy.
- iToCurObjects
- target objects for paste corresponding to selected objects.
- iAnImposedFormat
- if this format is not valid, it will be reinitialized.
o Remove
| public virtual Remove( | | iObjectsToRemove, |
| const | iAnImposedFormat | =NULL) |
-
Removes objects.
Role: used on cut and delete.
- Parameters:
-
- iObjectsToRemove
- list of objects to be removed.
- iAnImposedFormat
- if this format is not valid, it will be reinitialized.
- Returns:
- 1 if there is at least one object removed.
0 otherwise
o Update
| public virtual Update( | | ioAssociationOfObjects, |
| const | iAnImposedFormat | =NULL, |
| | iToCurObjects | =NULL) |
-
Makes in the client, the update of data and relations.
- Parameters:
-
- ioAssociationOfObjects
- couples of objects source/target.
- iAnImposedFormat
- if this format is not valid, it will be reinitialized.
- iToCurObjects
- target objects for paste corresponding to selected objects.
- Returns:
- 0 if failed
This object is included in the file: ObjectCCP_SPEC.h
If needed, your Imakefile.mk should include the module: CATObjectSpecsModeler