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

Method childNames

src/IECoreScene/LinkedScene.cpp:1101–1121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1099}
1100
1101void LinkedScene::childNames( NameList &childNames ) const
1102{
1103 if( m_atLink )
1104 {
1105 // concatenate link child names with main scene child names:
1106 m_linkedScene->childNames(childNames);
1107 NameList mainSceneChildNames;
1108 m_mainScene->childNames(mainSceneChildNames);
1109 childNames.insert( childNames.end(), mainSceneChildNames.begin(), mainSceneChildNames.end() );
1110 return;
1111 }
1112
1113 if ( m_linkedScene )
1114 {
1115 return m_linkedScene->childNames(childNames);
1116 }
1117 else
1118 {
1119 return m_mainScene->childNames(childNames);
1120 }
1121}
1122
1123ConstSceneInterfacePtr LinkedScene::expandLink( const StringData *fileName, const InternedStringVectorData *root, int &linkDepth )
1124{

Callers 6

testWritingMethod · 0.95
writeAttributeMethod · 0.45
childMethod · 0.45
hashMethod · 0.45

Calls 3

insertMethod · 0.80
endMethod · 0.45
beginMethod · 0.45

Tested by 3

testWritingMethod · 0.76