AuxData_s.h 2.1 KB

12345678910
  1. #pragma once
  2. #include "MASTER.h"
  3. #include "GLOBAL.h"
  4. #include "ThirdPartyHeadersBegin.h"
  5. #include <boost/make_shared.hpp>
  6. #include <boost/shared_ptr.hpp>
  7. #include <vector>
  8. #include "ThirdPartyHeadersEnd.h"
  9. #include "fileio.h"
  10. struct AuxData_s { typedef boost::shared_ptr<AuxData_s> Ptr; struct AuxDataItem { AuxDataItem(AuxDataType_e auxDataType, ___372 ___3361, std::string const& ___2685, std::string const& ___4314) : m_auxDataType(auxDataType) , m_retain(___3361) , ___2495(___2685) , ___2667(___4314) {} AuxDataType_e m_auxDataType; ___372 m_retain; std::string ___2495; std::string ___2667; AuxDataItem() {} void writeToFile(tecplot::___3933::FileWriterInterface& outputFile, bool ___4480) const { tecplot::tecioszl::writeScalar(outputFile, (uint32_t)m_auxDataType, ___4480); tecplot::tecioszl::writeScalar(outputFile, m_retain, ___4480); tecplot::tecioszl::___4544(outputFile, ___2495, ___4480); tecplot::tecioszl::___4544(outputFile, ___2667, ___4480); } uint64_t sizeInFile(bool ___4480) const { return tecplot::tecioszl::scalarSizeInFile((uint32_t)m_auxDataType, ___4480) + tecplot::tecioszl::scalarSizeInFile(m_retain, ___4480) + tecplot::tecioszl::stringSizeInFile(___2495, ___4480) + tecplot::tecioszl::stringSizeInFile(___2667, ___4480); } AuxDataItem(tecplot::___3933::___1399& inputFile, bool readASCII) { READ_ENUM(m_auxDataType, AuxDataType_e, inputFile, readASCII); tecplot::tecioszl::readScalar(inputFile, m_retain, readASCII); tecplot::tecioszl::readString(inputFile, ___2495, readASCII); tecplot::tecioszl::readString(inputFile, ___2667, readASCII); } }; std::vector<AuxDataItem> m_auxDataItems; AuxData_s() {} void writeToFile(tecplot::___3933::FileWriterInterface& outputFile, bool ___4480) const { tecplot::tecioszl::writeVectorOfObjects(outputFile, m_auxDataItems, ___4480); } uint64_t sizeInFile(bool ___4480) const { return tecplot::tecioszl::vectorOfObjectsSizeInFile(m_auxDataItems, ___4480); } static Ptr makePtr(tecplot::___3933::___1399& inputFile, bool readASCII) { Ptr ___3358 = boost::make_shared<AuxData_s>(); tecplot::tecioszl::readVectorOfObjects(inputFile, ___3358->m_auxDataItems, readASCII); return ___3358; } };