MCPcopy Create free account
hub / github.com/ImageEngine/cortex / attributeNames

Method attributeNames

src/IECoreScene/LinkedScene.cpp:525–545  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

523}
524
525void LinkedScene::attributeNames( NameList &attrs ) const
526{
527 if ( m_linkedScene && !m_atLink )
528 {
529 m_linkedScene->attributeNames(attrs);
530 }
531 else
532 {
533 m_mainScene->attributeNames(attrs);
534
535 for ( NameList::iterator it = attrs.begin(); it != attrs.end(); it++ )
536 {
537 // \todo: remove "*it == linkAttribute" when it's no longer relevant
538 if ( *it == linkAttribute || *it == fileNameLinkAttribute || *it == rootLinkAttribute || *it == timeLinkAttribute || *it == g_linkLocations )
539 {
540 attrs.erase( it );
541 --it;
542 }
543 }
544 }
545}
546
547size_t LinkedScene::numAttributeSamples( const Name &name ) const
548{

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected