----------------------------------------------------------------------------- Assign a ProductDetails class to this node -----------------------------------------------------------------------------
| 3890 | // Assign a ProductDetails class to this node |
| 3891 | //----------------------------------------------------------------------------- |
| 3892 | void Node::SetProductDetails |
| 3893 | ( |
| 3894 | ProductDescriptor *product |
| 3895 | ) |
| 3896 | { |
| 3897 | /* if there is a ProductDescriptor already assigned, remove the reference */ |
| 3898 | if (m_Product) |
| 3899 | m_Product->Release(); |
| 3900 | /* add the new ProductDescriptor */ |
| 3901 | m_Product = product; |
| 3902 | m_Product->AddRef(); |
| 3903 | } |
| 3904 | |
| 3905 | //----------------------------------------------------------------------------- |
| 3906 | // <Node::getConfigPath> |
no test coverage detected