
Definition at line 92 of file product.h.
| typedef Id<ProductNode> OSB_LIB::ProductNode::Oid |
| OSB_LIB::ProductNode::ProductNode | ( | const Oid & | id, | |
| std::auto_ptr< ProductItem > | item, | |||
| const EditStatus & | es = EditStatus(EditStatus::esCreated) | |||
| ) |
Constructor.
| id | Id of the product node. | |
| item | The product item belonging to this node. | |
| es | The edit status. Default is `esCreated'. |
| OSB_LIB::ProductNode::ProductNode | ( | const ProductNode & | node | ) |
Copy constructor and assignment.
| OSB_LIB::ProductNode::~ProductNode | ( | ) |
Destructor.
| EditStatus::Status OSB_LIB::ProductNode::editStatus | ( | ) | const |
Edit status of product node.
| int OSB_LIB::ProductNode::mandatory | ( | ) | const |
| const Oid& OSB_LIB::ProductNode::oid | ( | ) | const |
| ProductNode& OSB_LIB::ProductNode::operator= | ( | const ProductNode & | rhs | ) |
| ProductNodeParts& OSB_LIB::ProductNode::parts | ( | ) |
None const 1st generation parts list.
| const ProductNodeParts& OSB_LIB::ProductNode::parts | ( | ) | const |
1st generation parts list.
| ProductItem* OSB_LIB::ProductNode::pItem | ( | ) |
Non-const access to product item.
| const ProductItem* OSB_LIB::ProductNode::pItem | ( | ) | const |
Pointer to the product item.
| std::ostream& OSB_LIB::ProductNode::prInfo | ( | std::ostream & | o, | |
| bool | printParts = false, |
|||
| const std::string & | indent = "" | |||
| ) | const |
Print debugging information.
| bool OSB_LIB::ProductNode::setDelete | ( | ) | [private] |
Flag the product node for delete.
| void OSB_LIB::ProductNode::setMandatory | ( | const int & | man | ) |
Set mandatory setting of the node.
| void OSB_LIB::ProductNode::setParentId | ( | const ProductNode::Oid & | parentId | ) |
friend class OSB_DB::ProductGw [friend] |
friend class Product [friend] |
EditStatus OSB_LIB::ProductNode::editStatus_ [private] |
int OSB_LIB::ProductNode::mandatory_ [private] |
Oid OSB_LIB::ProductNode::oid_ [private] |
Oid OSB_LIB::ProductNode::parentId_ [private] |
ProductNodeParts OSB_LIB::ProductNode::parts_ [private] |
ProductItem* OSB_LIB::ProductNode::pItem_ [private] |
1.4.7