CGAL 6.2 - Combinatorial Maps
Loading...
Searching...
No Matches
IO Functions for CMap

Operations

std::ostream & GenericMap::operator<< (std::ostream &os, const GenericMap &amap)
 Writes amap in os, using our own internal file format in XML.
 
std::ifstream & GenericMap::operator>> (std::ifstream &is, GenericMap &amap)
 Reads amap from is, using our own internal file format in XML.
 

Friends

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const GenericMap amap 
)
friend

#include <Concepts/GenericMap.h>

Writes amap in os, using our own internal file format in XML.

Writes both the topology of the combinatorial map and its enabled attributes.

◆ operator>>

std::ifstream & operator>> ( std::ifstream &  is,
GenericMap amap 
)
friend

#include <Concepts/GenericMap.h>

Reads amap from is, using our own internal file format in XML.

Reads both the topology of the combinatorial map and its enabled attributes which are present in is. Note that if amap is not empty before the reading, the new map is added in the previous one.