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

Method valid

src/IECoreImage/DisplayDriverServerHeader.cpp:68–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68bool DisplayDriverServerHeader::valid()
69{
70 if ( m_header[orderMagicNumber] != magicNumber ||
71 m_header[orderProtocolVersion] != currentProtocolVersion ||
72 ( m_header[orderMessageType] != imageOpen &&
73 m_header[orderMessageType] != imageData &&
74 m_header[orderMessageType] != imageClose &&
75 m_header[orderMessageType] != exception ) )
76 {
77 return false;
78 }
79 return true;
80}
81
82size_t DisplayDriverServerHeader::getDataSize()
83{

Callers 13

readTypedSampleMethod · 0.80
readUVsMethod · 0.80
readSampleMethod · 0.80
readSampleMethod · 0.80
AlembicReaderMethod · 0.80
childNamesMethod · 0.80
hasAttributeMethod · 0.80
attributeNamesMethod · 0.80
scalarPropertyReaderMethod · 0.80
attributeHashMethod · 0.80
readArbGeomParamsMethod · 0.80
receiveHeaderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected