void Dimension::setBaseDimension(const BaseDim& dim) { // release old value, if any. if (d_value) delete d_value; d_value = dim.clone(); }
void BaseDim::setOperand(const BaseDim& operand) { // release old operand, if any. if(d_operand) delete d_operand; d_operand = operand.clone(); }
//----------------------------------------------------------------------------// void Dimension::setBaseDimension(const BaseDim& dim) { // release old value, if any. if (d_value) CEGUI_DELETE_AO d_value; d_value = dim.clone(); }
//----------------------------------------------------------------------------// Dimension::Dimension(const BaseDim& dim, DimensionType type) { d_value = dim.clone(); d_type = type; }