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

Method isEqualTo

src/IECoreScene/Camera.cpp:118–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118bool Camera::isEqualTo( const Object *other ) const
119{
120 if( !Renderable::isEqualTo( other ) )
121 {
122 return false;
123 }
124
125 const Camera *tOther = static_cast<const Camera *>( other );
126
127 // check parameters
128 if( !m_parameters->isEqualTo( tOther->m_parameters.get() ) )
129 {
130 return false;
131 }
132
133 return true;
134}
135
136void Camera::memoryUsage( Object::MemoryAccumulator &a ) const
137{

Callers 3

operator==Method · 0.45
operator()Method · 0.45
operator()Method · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected