OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
LodWriter Class Reference

#include <LodWriter.h>

Public Member Functions

 LodWriter ()
 
 LodWriter (std::string_view path, LodInfo info)
 
 LodWriter (OutputStream *stream, LodInfo info)
 
 ~LodWriter ()
 
void open (std::string_view path, LodInfo info)
 
void open (OutputStream *stream, LodInfo info)
 
void close ()
 
bool isOpen () const
 
void write (std::string_view filename, const Blob &data)
 
void write (std::string_view filename, Blob &&data)
 

Private Attributes

std::unique_ptr< OutputStream_ownedStream
 
OutputStream_stream = nullptr
 
LodInfo _info
 
std::map< std::string, Blob_files
 

Constructor & Destructor Documentation

◆ LodWriter() [1/3]

LodWriter::LodWriter ( )

◆ LodWriter() [2/3]

LodWriter::LodWriter ( std::string_view  path,
LodInfo  info 
)

◆ LodWriter() [3/3]

LodWriter::LodWriter ( OutputStream stream,
LodInfo  info 
)

◆ ~LodWriter()

LodWriter::~LodWriter ( )

Member Function Documentation

◆ close()

void LodWriter::close ( )

◆ isOpen()

bool LodWriter::isOpen ( ) const
inline

◆ open() [1/2]

void LodWriter::open ( OutputStream stream,
LodInfo  info 
)

◆ open() [2/2]

void LodWriter::open ( std::string_view  path,
LodInfo  info 
)

◆ write() [1/2]

void LodWriter::write ( std::string_view  filename,
Blob &&  data 
)

◆ write() [2/2]

void LodWriter::write ( std::string_view  filename,
const Blob data 
)

Member Data Documentation

◆ _files

std::map<std::string, Blob> LodWriter::_files
private

◆ _info

LodInfo LodWriter::_info
private

◆ _ownedStream

std::unique_ptr<OutputStream> LodWriter::_ownedStream
private

◆ _stream

OutputStream* LodWriter::_stream = nullptr
private

The documentation for this class was generated from the following files: