Added .cpp files for all records

This commit is contained in:
Ivan Morozov
2022-11-28 17:37:12 +03:00
parent 810f7dc592
commit adfdac39ef
376 changed files with 6808 additions and 6002 deletions

View File

@ -0,0 +1,38 @@
#include "ClientVisualElementContainer.h"
CRecordClientVisualElementContainer::CRecordClientVisualElementContainer()
{
m_bVisualPageAtom = false;
m_bVisualShapeAtom = false;
}
CRecordClientVisualElementContainer::~CRecordClientVisualElementContainer()
{
}
void CRecordClientVisualElementContainer::ReadFromStream(SRecordHeader &oHeader, POLE::Stream *pStream)
{
m_oHeader = oHeader;
LONG lPos = 0; StreamUtils::StreamPosition ( lPos, pStream );
SRecordHeader ReadHeader;
if (ReadHeader.ReadFromStream(pStream) )
{
if ( RT_VisualPageAtom == ReadHeader.RecType )
{
m_bVisualPageAtom = true;
m_oVisualPageAtom.ReadFromStream ( ReadHeader, pStream );
}
if ( RT_VisualShapeAtom == ReadHeader.RecType )
{
m_bVisualShapeAtom = true;
m_oVisualShapeAtom.ReadFromStream ( ReadHeader, pStream );
}
}
StreamUtils::StreamSeek ( lPos + m_oHeader.RecLen, pStream );
}