ug4
ug::SubsetHandlerSerializer Class Reference

#include <serialization.h>

+ Inheritance diagram for ug::SubsetHandlerSerializer:

Public Member Functions

virtual void read_data (BinaryBuffer &in, Edge *o)
 
virtual void read_data (BinaryBuffer &in, Face *o)
 
virtual void read_data (BinaryBuffer &in, Vertex *o)
 
virtual void read_data (BinaryBuffer &in, Volume *o)
 
virtual void read_info (BinaryBuffer &in)
 Read the info written during write_info here. Default: empty implementation. More...
 
 SubsetHandlerSerializer (ISubsetHandler &sh)
 
virtual void write_data (BinaryBuffer &out, Edge *o) const
 
virtual void write_data (BinaryBuffer &out, Face *o) const
 
virtual void write_data (BinaryBuffer &out, Vertex *o) const
 
virtual void write_data (BinaryBuffer &out, Volume *o) const
 
virtual void write_info (BinaryBuffer &out) const
 writes subset-infos to the stream (subset names and colors) More...
 
- Public Member Functions inherited from ug::GridDataSerializer
virtual void deserialization_done ()
 this method is called after read_info has been called for all geometric objects. More...
 
virtual void deserialization_starts ()
 this method is called after read_info has been called for all geometric objects. More...
 
virtual ~GridDataSerializer ()
 

Static Public Member Functions

static SPGridDataSerializer create (ISubsetHandler &sh)
 

Private Attributes

ISubsetHandlerm_sh
 

Constructor & Destructor Documentation

◆ SubsetHandlerSerializer()

ug::SubsetHandlerSerializer::SubsetHandlerSerializer ( ISubsetHandler sh)

Referenced by create().

Member Function Documentation

◆ create()

static SPGridDataSerializer ug::SubsetHandlerSerializer::create ( ISubsetHandler sh)
inlinestatic

◆ read_data() [1/4]

void ug::SubsetHandlerSerializer::read_data ( BinaryBuffer in,
Edge o 
)
virtual

◆ read_data() [2/4]

void ug::SubsetHandlerSerializer::read_data ( BinaryBuffer in,
Face o 
)
virtual

◆ read_data() [3/4]

void ug::SubsetHandlerSerializer::read_data ( BinaryBuffer in,
Vertex o 
)
virtual

◆ read_data() [4/4]

void ug::SubsetHandlerSerializer::read_data ( BinaryBuffer in,
Volume o 
)
virtual

◆ read_info()

void ug::SubsetHandlerSerializer::read_info ( BinaryBuffer in)
virtual

Read the info written during write_info here. Default: empty implementation.

Reimplemented from ug::GridDataSerializer.

References ug::SubsetInfo::color, ug::Deserialize(), ug::SubsetInfo::m_propertyMap, m_sh, ug::SubsetInfo::name, and ug::ISubsetHandler::subset_info().

◆ write_data() [1/4]

void ug::SubsetHandlerSerializer::write_data ( BinaryBuffer out,
Edge o 
) const
virtual

◆ write_data() [2/4]

void ug::SubsetHandlerSerializer::write_data ( BinaryBuffer out,
Face o 
) const
virtual

◆ write_data() [3/4]

void ug::SubsetHandlerSerializer::write_data ( BinaryBuffer out,
Vertex o 
) const
virtual

◆ write_data() [4/4]

void ug::SubsetHandlerSerializer::write_data ( BinaryBuffer out,
Volume o 
) const
virtual

◆ write_info()

void ug::SubsetHandlerSerializer::write_info ( BinaryBuffer out) const
virtual

Member Data Documentation

◆ m_sh

ISubsetHandler& ug::SubsetHandlerSerializer::m_sh
private

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