13#ifndef FSA_IO_HANDLER_HPP
14#define FSA_IO_HANDLER_HPP
16#include <boost/serialization/strong_typedef.hpp>
25template <
typename graphType >
36 virtual bool isInMap(
typename boost::graph_traits<graphType>::vertex_descriptor from );
38 typename boost::graph_traits<graphType>::vertex_descriptor& source,
39 typename boost::graph_traits<graphType>::vertex_descriptor& target ) = 0;
41 typename boost::graph_traits<graphType>::vertex_descriptor& current,
44 typename boost::graph_traits<graphType>::vertex_descriptor source,
45 typename boost::graph_traits<graphType>::vertex_descriptor target ) = 0;
47 typename boost::graph_traits<graphType>::vertex_descriptor current,
53 std::map<typename boost::graph_traits<graphType>::vertex_descriptor,
60template <
typename graphType >
65 typename boost::graph_traits<graphType>::vertex_descriptor& source,
66 typename boost::graph_traits<graphType>::vertex_descriptor& target )
override;
68 typename boost::graph_traits<graphType>::vertex_descriptor& current,
71 typename boost::graph_traits<graphType>::vertex_descriptor source,
72 typename boost::graph_traits<graphType>::vertex_descriptor target )
override;
74 typename boost::graph_traits<graphType>::vertex_descriptor current,
81template <
typename graphType >
86 typename boost::graph_traits<graphType>::vertex_descriptor& source,
87 typename boost::graph_traits<graphType>::vertex_descriptor& target )
override;
89 typename boost::graph_traits<graphType>::vertex_descriptor& current,
92 typename boost::graph_traits<graphType>::vertex_descriptor source,
93 typename boost::graph_traits<graphType>::vertex_descriptor target )
override;
95 typename boost::graph_traits<graphType>::vertex_descriptor current,
106#include "common/FsaAccess/FsaAccessIOHandler.tcc"
FsaAccessIOHandlerWithMapping()
void writeVertice(AbstractFsaAccessOStreamWrapper &ow, typename boost::graph_traits< graphType >::vertex_descriptor current, VERTEX_PROPERTY_16 propVal, const Lima::LimaString &text) override
void writeEdge(AbstractFsaAccessOStreamWrapper &ow, typename boost::graph_traits< graphType >::vertex_descriptor source, typename boost::graph_traits< graphType >::vertex_descriptor target) override
void readEdge(AbstractFsaAccessIStreamWrapper &iw, typename boost::graph_traits< graphType >::vertex_descriptor &source, typename boost::graph_traits< graphType >::vertex_descriptor &target) override
void readVertice(AbstractFsaAccessIStreamWrapper &iw, typename boost::graph_traits< graphType >::vertex_descriptor ¤t, VERTEX_PROPERTY_16 &propVal, Lima::LimaString &text) override
void readEdge(AbstractFsaAccessIStreamWrapper &iw, typename boost::graph_traits< graphType >::vertex_descriptor &source, typename boost::graph_traits< graphType >::vertex_descriptor &target) override
void writeEdge(AbstractFsaAccessOStreamWrapper &ow, typename boost::graph_traits< graphType >::vertex_descriptor source, typename boost::graph_traits< graphType >::vertex_descriptor target) override
void readVertice(AbstractFsaAccessIStreamWrapper &iw, typename boost::graph_traits< graphType >::vertex_descriptor ¤t, VERTEX_PROPERTY_16 &propVal, Lima::LimaString &text) override
void writeVertice(AbstractFsaAccessOStreamWrapper &ow, typename boost::graph_traits< graphType >::vertex_descriptor current, VERTEX_PROPERTY_16 propVal, const Lima::LimaString &text) override
FsaAccessIOHandlerWithoutMapping()
virtual bool isInMap(typename boost::graph_traits< graphType >::vertex_descriptor from)
std::map< typename boost::graph_traits< graphType >::vertex_descriptor, VERT_ID > m_ptr2IndexMapPtr
virtual void readVertice(AbstractFsaAccessIStreamWrapper &iw, typename boost::graph_traits< graphType >::vertex_descriptor ¤t, VERTEX_PROPERTY_16 &propVal, Lima::LimaString &text)=0
void readEdgeAsInt(AbstractFsaAccessIStreamWrapper &iw, VERT_ID &source, VERT_ID &target)
std::vector< typename boost::graph_traits< graphType >::vertex_descriptor > m_index2PtrVectorPtr
virtual void readEdge(AbstractFsaAccessIStreamWrapper &iw, typename boost::graph_traits< graphType >::vertex_descriptor &source, typename boost::graph_traits< graphType >::vertex_descriptor &target)=0
void readVerticeAsInt(AbstractFsaAccessIStreamWrapper &iw, VERT_ID ¤t, VERTEX_PROPERTY_16 &propVal, Lima::LimaString &text)
virtual void writeEdge(AbstractFsaAccessOStreamWrapper &ow, typename boost::graph_traits< graphType >::vertex_descriptor source, typename boost::graph_traits< graphType >::vertex_descriptor target)=0
void writeEdgeAsInt(AbstractFsaAccessOStreamWrapper &ow, VERT_ID source, VERT_ID target)
virtual ~FsaAccessIOHandler()
virtual void writeVertice(AbstractFsaAccessOStreamWrapper &ow, typename boost::graph_traits< graphType >::vertex_descriptor current, VERTEX_PROPERTY_16 propVal, const Lima::LimaString &text)=0
void writeVerticeAsInt(AbstractFsaAccessOStreamWrapper &ow, VERT_ID current, VERTEX_PROPERTY_16 propVal, const Lima::LimaString &text)
BOOST_STRONG_TYPEDEF(uint64_t, VERT_ID)