Beispiel #1
0
void HSSMultipleValue::add(HSSParserNode::p newValue)
{
    if (newValue)
    {
        std_log3("Added value to HSSMultipleValue: " + newValue->toString());
        this->valueList.push_back(newValue);
    }
}
Beispiel #2
0
void HSSSelectorChain::prepend(HSSParserNode::p newNode)
{
    if (newNode)
    {
        std_log3("HSSSelectorChain: Added node of type " + newNode->toString() + " to the front of the selector");
        newNode->setParentNode(this->shared_from_this());
        this->nodeList.push_front(newNode);
    }
}
Beispiel #3
0
void HSSSelectorChain::add(HSSParserNode::p newNode)
{
    if (newNode)
    {
        std_log3("HSSSelectorChain: Added node of type " + newNode->toString());
        newNode->setParentNode(this->shared_from_this());
        this->nodeList.push_back(newNode);
    }
}
AXRString HSSMultipleValueDefinition::toString()
{
    AXRString tempstr = AXRString("HSSMultipleValueDefinition with the following values:\n");

    for (std::vector<HSSParserNode::p>::iterator it = this->values.begin(); it != this->values.end(); ++it)
    {
        HSSParserNode::p value = *it;
        tempstr.append(value->toString().append("\n"));
    }

    return tempstr;
}