MCPcopy Create free account
hub / github.com/OGRECave/ogre-next / writeTrackToXML

Function writeTrackToXML

Tools/MayaExport/src/particles.cpp:343–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341////////////////////////////////////////////////////////////////////////////////////////////////////
342template<class T>
343void writeTrackToXML( std::ofstream &outStream, const TKeyTrack<T> &dataTrack, const std::string &name )
344{
345 outStream << "\t\t<" << name.c_str() << " keys=\"" << dataTrack.keys.size() << "\" >\n";
346 for ( uint nTemp = 0; nTemp < dataTrack.keys.size(); ++nTemp )
347 writeKeyToXML( outStream, dataTrack.keys[nTemp] );
348 outStream << "\t\t</" << name.c_str() << ">\n";
349}
350////////////////////////////////////////////////////////////////////////////////////////////////////
351} // NAMESPACE
352////////////////////////////////////////////////////////////////////////////////////////////////////

Callers 1

writeToXMLMethod · 0.85

Calls 3

writeKeyToXMLFunction · 0.85
c_strMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected