Logo Search packages:      
Sourcecode: vdccm version File versions

Descriptor::Descriptor ( const Descriptor descriptor,
bool  releaseFromManager = false 
)

Copy constructor with the additional ability to release it from the DescriptorManager.

This is the copy constructor. It has the additional ability to release the created Descriptor from the DescriptorManager.

Parameters:
descriptor The source of the copy operation
releaseFromManager true, if the created descriptor should be released from the DescriptorManager, false otherwise.

Definition at line 35 of file descriptor.cpp.

References descriptor, and descriptorManager.

{
    this->descriptor = descriptor.descriptor;
    if (!releaseFromManager) {
        this->descriptorManager = descriptor.descriptorManager;
    } else {
        this->descriptorManager = NULL;
    }
}


Generated by  Doxygen 1.6.0   Back to index