void GlobalsAttachmentBase::assignElements (const MFUnrecFieldContainerPtr &value)
{
    MFUnrecFieldContainerPtr::const_iterator elemIt  =
        value.begin();
    MFUnrecFieldContainerPtr::const_iterator elemEnd =
        value.end  ();

    static_cast<GlobalsAttachment *>(this)->clearElements();

    while(elemIt != elemEnd)
    {
        this->pushToElements(*elemIt);

        ++elemIt;
    }
}
Ejemplo n.º 2
0
void CSMLoggerBase::assignContainers(const MFUnrecFieldContainerPtr &value)
{
    MFUnrecFieldContainerPtr::const_iterator elemIt  =
        value.begin();
    MFUnrecFieldContainerPtr::const_iterator elemEnd =
        value.end  ();

    static_cast<CSMLogger *>(this)->clearContainers();

    while(elemIt != elemEnd)
    {
        this->pushToContainers(*elemIt);

        ++elemIt;
    }
}
void KeyframeFCPtrSequenceBase::assignValues   (const MFUnrecFieldContainerPtr &value)
{
    MFUnrecFieldContainerPtr::const_iterator elemIt  =
        value.begin();
    MFUnrecFieldContainerPtr::const_iterator elemEnd =
        value.end  ();

    static_cast<KeyframeFCPtrSequence *>(this)->clearValues();

    while(elemIt != elemEnd)
    {
        this->pushToValues(*elemIt);

        ++elemIt;
    }
}