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

Method readSingle

src/IECorePython/IndexedIOBinding.cpp:177–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175
176 template<typename T>
177 static typename TypedData<T>::Ptr readSingle(IndexedIOPtr p, const IndexedIO::EntryID &name, const IndexedIO::Entry &entry)
178 {
179 T data;
180 p->read(name, data);
181 return new TypedData<T>( data );
182 }
183
184 template<typename T>
185 static typename TypedData< std::vector<T> >::Ptr readArray(IndexedIOPtr p, const IndexedIO::EntryID &name, const IndexedIO::Entry &entry)

Callers

nothing calls this directly

Calls 1

readMethod · 0.45

Tested by

no test coverage detected