Exemplo n.º 1
0
void HSSRule::propertiesAdd(HSSPropertyDefinition::p & newProperty)
{
    if(newProperty)
    {
        std_log3("Added property: " << newProperty->toString());
        this->properties.push_back(newProperty);
    }
}
Exemplo n.º 2
0
void HSSObjectDefinition::propertiesPrepend(const HSSPropertyDefinition::p &newProperty)
{
    if(newProperty)
    {
        std_log3("HSSObjectDefinition: Prepended node of type " << newProperty->toString());
        newProperty->setParentNode(this->shared_from_this());
        this->properties.push_front(newProperty);
    }
}
Exemplo n.º 3
0
void HSSObjectDefinition::propertiesAdd(HSSPropertyDefinition::p &newProperty)
{
    if(newProperty)
    {
        std_log3("HSSObjectDefinition: Added node of type " << newProperty->toString());
        newProperty->setParentNode(this->shared_from_this());
        this->properties.push_back(newProperty);
    }
}
Exemplo n.º 4
0
void HSSObjectDefinition::propertiesAdd(const HSSPropertyDefinition::p &newProperty)
{
    if(newProperty)
    {
        std_log3("HSSObjectDefinition: Added node of type " << newProperty->toString());
        newProperty->setParentNode(this->shared_from_this());
        this->properties.push_back(newProperty);
        //this->prototype->setPropertyWithName(newProperty->getName(), newProperty->getValue());
    }
}