ug4
|
#include <serialization.h>
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 | |
ISubsetHandler & | m_sh |
ug::SubsetHandlerSerializer::SubsetHandlerSerializer | ( | ISubsetHandler & | sh | ) |
Referenced by create().
|
inlinestatic |
References SubsetHandlerSerializer().
Referenced by ug::DistributeDomain(), and ug::DomainLoadBalancer< TDomain >::DomainLoadBalancer().
|
virtual |
Reimplemented from ug::GridDataSerializer.
References ug::ISubsetHandler::assign_subset(), ug::Deserialize(), and m_sh.
|
virtual |
Reimplemented from ug::GridDataSerializer.
References ug::ISubsetHandler::assign_subset(), ug::Deserialize(), and m_sh.
|
virtual |
Reimplemented from ug::GridDataSerializer.
References ug::ISubsetHandler::assign_subset(), ug::Deserialize(), and m_sh.
|
virtual |
Reimplemented from ug::GridDataSerializer.
References ug::ISubsetHandler::assign_subset(), ug::Deserialize(), and m_sh.
|
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().
|
virtual |
Reimplemented from ug::GridDataSerializer.
References ug::ISubsetHandler::get_subset_index(), m_sh, and ug::Serialize().
|
virtual |
Reimplemented from ug::GridDataSerializer.
References ug::ISubsetHandler::get_subset_index(), m_sh, and ug::Serialize().
|
virtual |
Reimplemented from ug::GridDataSerializer.
References ug::ISubsetHandler::get_subset_index(), m_sh, and ug::Serialize().
|
virtual |
Reimplemented from ug::GridDataSerializer.
References ug::ISubsetHandler::get_subset_index(), m_sh, and ug::Serialize().
|
virtual |
writes subset-infos to the stream (subset names and colors)
Reimplemented from ug::GridDataSerializer.
References ug::SubsetInfo::color, ug::SubsetInfo::m_propertyMap, m_sh, ug::SubsetInfo::name, ug::ISubsetHandler::num_subsets(), ug::Serialize(), and ug::ISubsetHandler::subset_info().
|
private |
Referenced by read_data(), read_info(), write_data(), and write_info().