ug4
serialization.h File Reference

Go to the source code of this file.

Classes

class  ug::GeomObjAttachmentSerializer< TGeomObj, TAttachment >
 Serialization callback for grid attachments. More...
 
class  ug::GeomObjDataSerializer< TGeomObj >
 Interface for handling serialization and deserialization of data associated with geometric objects. More...
 
class  ug::GridDataSerializationHandler
 Serialization of data associated with grid elements. More...
 
class  ug::GridDataSerializer
 Interface for handling serialization and deserialization of data associated with all geometric objects in a grid. More...
 
class  ug::SubsetHandlerSerializer
 

Namespaces

 ug
 the ug namespace
 

Typedefs

typedef GeomObjDataSerializer< Edge > ug::EdgeDataSerializer
 
typedef GeomObjDataSerializer< Face > ug::FaceDataSerializer
 
typedef SmartPtr< EdgeDataSerializer > ug::SPEdgeDataSerializer
 
typedef SmartPtr< FaceDataSerializer > ug::SPFaceDataSerializer
 
typedef SmartPtr< GridDataSerializer > ug::SPGridDataSerializer
 
typedef SmartPtr< VertexDataSerializer > ug::SPVertexDataSerializer
 
typedef SmartPtr< VolumeDataSerializer > ug::SPVolumeDataSerializer
 
typedef GeomObjDataSerializer< Vertex > ug::VertexDataSerializer
 
typedef GeomObjDataSerializer< Volume > ug::VolumeDataSerializer
 

Functions

template<class TElem , class TAttachment >
bool ug::DeserializeAttachment (Grid &grid, TAttachment &attachment, BinaryBuffer &in)
 copies attached values from a binary stream More...
 
template<class TElem , class TAttachment >
bool ug::DeserializeAttachment (Grid &grid, TAttachment &attachment, typename geometry_traits< TElem >::iterator iterBegin, typename geometry_traits< TElem >::iterator iterEnd, BinaryBuffer &in)
 copies attached values from a binary stream More...
 
bool ug::DeserializeGridElements (Grid &grid, BinaryBuffer &in, bool readGridHeader=true)
 Creates grid elements from a binary stream. More...
 
bool ug::DeserializeMultiGridElements (MultiGrid &mg, BinaryBuffer &in, std::vector< Vertex * > *pvVrts=NULL, std::vector< Edge * > *pvEdges=NULL, std::vector< Face * > *pvFaces=NULL, std::vector< Volume * > *pvVols=NULL, MultiElementAttachmentAccessor< AGeomObjID > *paaID=NULL)
 Creates multi-grid elements from a binary stream. More...
 
bool ug::DeserializeSelector (Grid &grid, ISelector &sel, BinaryBuffer &in)
 assigns subset-indices to all elements in the grid from a stream. More...
 
bool ug::DeserializeSelector (Grid &grid, ISelector &sel, GridObjectCollection goc, BinaryBuffer &in)
 assigns subset-indices to all elements in the goc from a stream. More...
 
bool ug::DeserializeSubsetHandler (Grid &grid, ISubsetHandler &sh, BinaryBuffer &in, bool readPropertyMap=true)
 assigns subset-indices to all elements in the grid from a stream. More...
 
bool ug::DeserializeSubsetHandler (Grid &grid, ISubsetHandler &sh, GridObjectCollection goc, BinaryBuffer &in, bool readPropertyMap=true)
 assigns subset-indices to all elements in the goc from a stream. More...
 
template<class TElem , class TAttachment >
bool ug::SerializeAttachment (Grid &grid, TAttachment &attachment, BinaryBuffer &out)
 
template<class TElem , class TAttachment >
bool ug::SerializeAttachment (Grid &grid, TAttachment &attachment, typename geometry_traits< TElem >::iterator iterBegin, typename geometry_traits< TElem >::iterator iterEnd, BinaryBuffer &out)
 copies attached values to a binary stream. More...
 
bool ug::SerializeGridElements (Grid &grid, BinaryBuffer &out)
 Writes all grid elements into a binary-stream. More...
 
bool ug::SerializeGridElements (Grid &grid, GridObjectCollection goc, AInt &aIntVRT, BinaryBuffer &out)
 Writes a part of the grids elements to a binary-stream. More...
 
bool ug::SerializeGridElements (Grid &grid, GridObjectCollection goc, BinaryBuffer &out)
 Writes a part of the grids elements to a binary-stream. More...
 
bool ug::SerializeMultiGridElements (MultiGrid &mg, BinaryBuffer &out)
 writes the elements of a MultiGrid to a binary stream. More...
 
bool ug::SerializeMultiGridElements (MultiGrid &mg, GridObjectCollection goc, BinaryBuffer &out)
 writes a part of the elements of a MultiGrid to a binary stream. More...
 
bool ug::SerializeMultiGridElements (MultiGrid &mg, GridObjectCollection goc, MultiElementAttachmentAccessor< AInt > &aaInt, BinaryBuffer &out, MultiElementAttachmentAccessor< AGeomObjID > *paaID=NULL)
 writes a part of the elements of a MultiGrid to a binary stream. More...
 
bool ug::SerializeSelector (Grid &grid, ISelector &sel, BinaryBuffer &out)
 writes the subset-indices of all elements in the grid to a stream. More...
 
bool ug::SerializeSelector (Grid &grid, ISelector &sel, GridObjectCollection goc, BinaryBuffer &out)
 writes the subset-indices of all elements in the goc to a stream. More...
 
bool ug::SerializeSubsetHandler (Grid &grid, ISubsetHandler &sh, BinaryBuffer &out)
 writes the subset-indices of all elements in the grid to a stream. More...
 
bool ug::SerializeSubsetHandler (Grid &grid, ISubsetHandler &sh, GridObjectCollection goc, BinaryBuffer &out)
 writes the subset-indices of all elements in the goc to a stream. More...